Click here to Skip to main content
16,008,750 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow can I improove my page activity Pin
Max0live6-Feb-08 18:45
Max0live6-Feb-08 18:45 
AnswerRe: how can I improove my page activity Pin
N a v a n e e t h6-Feb-08 18:59
N a v a n e e t h6-Feb-08 18:59 
AnswerRe: how can I improove my page activity Pin
Sandeep Akhare7-Feb-08 0:52
Sandeep Akhare7-Feb-08 0:52 
Generaldownload emails to ur system Pin
Member 38798816-Feb-08 17:34
Member 38798816-Feb-08 17:34 
GeneralRe: download emails to ur system Pin
N a v a n e e t h6-Feb-08 18:56
N a v a n e e t h6-Feb-08 18:56 
Questionhow do I access a html element from code Pin
Shimmy Weitzhandler6-Feb-08 17:25
Shimmy Weitzhandler6-Feb-08 17:25 
AnswerRe: how do I access a html element from code [modified] Pin
That's Aragon6-Feb-08 18:22
That's Aragon6-Feb-08 18:22 
GeneralBinding size value to AJAX animations extender [modified] Pin
Member 44990376-Feb-08 15:40
professionalMember 44990376-Feb-08 15:40 
Hi all, I'm trying to figure out how to use the animation extender from the Ajax control toolkit to resize an image on hover.
The image control is defined as follows:
<asp:image id="imgItem" runat="server" bordercolor="Silver" borderwidth="2px" style="position:absolute; z-index:1000;" width="100" height="100" imageurl='<%#"~/GetImage.aspx?imageID=" + ImageID%>' />

The animations extender is defined as follows:
<pre><ajax:animationextender id="AnimationsImage" runat="server" targetcontrolid="imgItem">
<animations>
<onhoverover>
<resize duration=".10" fps="100" width="250" height="250" />
</onhoverover>
<onhoverout>
<resize duration=".10" fps="100" width="100" height="100" />
</onhoverout>
</animations>
</ajax:animationextender></pre>
This works just fine to resize an image, but the images are being retrieved from a database and the height/width ratio and sizes aren't always the same.
I want to see if there's a way to dynamically set the Width and Height values for the Resize OnHoverOver.
I've tried binding the values using width=&lt;%#width%&gt; With the width being declared in the code behind. I shouldn't have an issue obtaining the values to bind to but I get an error as such:
"The 'Animations' property does not allow child objects"

any ideas how to do this?
(BTW, I'm not too familiar with javascript so please give detailed examples if this is what is needed)
Thanks! </asp:image>

modified on Thursday, February 07, 2008 12:13:53 AM

<div class="ForumMod">modified on Thursday, February 07, 2008 12:18:00 AM</div>
QuestionControl to bind to one record Pin
liquidplasmaflow6-Feb-08 11:07
liquidplasmaflow6-Feb-08 11:07 
GeneralGot a hosting co Negox.com but...... Pin
learningman6-Feb-08 10:24
learningman6-Feb-08 10:24 
GeneralRe: Got a hosting co Negox.com but...... Pin
pmarfleet6-Feb-08 10:32
pmarfleet6-Feb-08 10:32 
GeneralRe: Got a hosting co Negox.com but...... Pin
learningman6-Feb-08 11:05
learningman6-Feb-08 11:05 
GeneralRe: Got a hosting co Negox.com but...... Pin
pmarfleet6-Feb-08 11:18
pmarfleet6-Feb-08 11:18 
QuestionIron Speed Issue:( Pin
Muammar©6-Feb-08 8:09
Muammar©6-Feb-08 8:09 
GeneralRe: Iron Speed Issue:( Pin
Not Active6-Feb-08 9:31
mentorNot Active6-Feb-08 9:31 
GeneralRe: Iron Speed Issue:( Pin
Muammar©6-Feb-08 19:31
Muammar©6-Feb-08 19:31 
Generalclassfactory cannot supply requested class Pin
Sebastian T Xavier6-Feb-08 7:57
Sebastian T Xavier6-Feb-08 7:57 
GeneralRe: classfactory cannot supply requested class Pin
Not Active6-Feb-08 9:28
mentorNot Active6-Feb-08 9:28 
GeneralRe: classfactory cannot supply requested class Pin
Sebastian T Xavier6-Feb-08 18:29
Sebastian T Xavier6-Feb-08 18:29 
Questioncan you pass the results of a asp.net web service call to javascript Pin
C. L. Phillip6-Feb-08 7:17
C. L. Phillip6-Feb-08 7:17 
AnswerRe: can you pass the results of a asp.net web service call to javascript Pin
Not Active6-Feb-08 9:27
mentorNot Active6-Feb-08 9:27 
Questionhow to send unlimited SMS through ASP.net code???? [modified] Pin
yogesh_softworld1236-Feb-08 6:59
yogesh_softworld1236-Feb-08 6:59 
AnswerRe: how to send unlimited SMS through ASP.net code???? Pin
Herman<T>.Instance7-Feb-08 1:47
Herman<T>.Instance7-Feb-08 1:47 
Generalhelp ListView and SelectedValue onloadpage Pin
orsini6-Feb-08 5:04
orsini6-Feb-08 5:04 
GeneralTREEVIEW EXPANDS Pin
George Mathew6-Feb-08 4:54
George Mathew6-Feb-08 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.