Last post Sep 03, 2009 02:13 AM by Vince Xu - MSFT
Aug 30, 2009 12:19 PM|CeyloR|LINK
target of the animations.
For testing purpose I simply have one MouseOver animation which executes the function test().
The error i get on loading the page is :
The name 'navsitem' does not exist in the current context
However when I change the controls ID in the test function to eg mnMainNav it does alert the asp.net rendered clientID.
I don't know what i'm doing wrong, and why it works for other controls but not the navsitem control.
Hope anyone can help.
animations animationextender clientid scriptaction condition
Sep 03, 2009 02:13 AM|Vince Xu - MSFT|LINK
You can use document.getElementById('<%navsitem.ClientID %>') to get the instance of navsitem control. <%# is used for binding.