C
Cal Who
This works OK:
<ajaxToolkit:AnimationExtender ID="AnimationExtender1" runat="server"
TargetControlID="TableTopQQ">
But if the user returns to this page I don't want the animation to run a
second time.
So in the Load event I placed:
CType(FindControlRecursive(Me, "AnimationExtender1"),
System.Web.UI.Control).Enabled = False
This got me a "not a member" error so I changed to Visible and ran debug
with a break point.
Looking at:
FindControlRecursive(Me, "AnimationExtender1")
I see that it does find the element and it has an "Enabled" attribute.
And the type is: System.Web.UI.Control
How can I fix this?
Thanks
<ajaxToolkit:AnimationExtender ID="AnimationExtender1" runat="server"
TargetControlID="TableTopQQ">
But if the user returns to this page I don't want the animation to run a
second time.
So in the Load event I placed:
CType(FindControlRecursive(Me, "AnimationExtender1"),
System.Web.UI.Control).Enabled = False
This got me a "not a member" error so I changed to Visible and ran debug
with a break point.
Looking at:
FindControlRecursive(Me, "AnimationExtender1")
I see that it does find the element and it has an "Enabled" attribute.
And the type is: System.Web.UI.Control
How can I fix this?
Thanks