How to implment this for all my links, not only 1 link?
How to retrieve the attribute "MyHelpID" and send it to the method?
I know I can do this using a Javascript and handle the over event of my A tag (<a onmouseover="displaythehelp(10)">....)
But there is a way to do this using the atlas scripts?
Willgart
Member
345 Points
70 Posts
Re: binding atlas:label control to a page method?
Oct 07, 2005 10:05 PM|LINK
yeah,
now I can call my method correctly...
next step...
I have a list of URLs, result of a gridview, in my page.
I want to display in a DIV (or a SPAN) the result of my GetName(param1) method (using the hover behavior)
the param1 will be a custom attribute in my <A> tag.
like:
<a href="mypage.aspx" MyHelpID="10">how to do this</a>
<a href="mypage2.aspx" MyHelpID="11">I want this</a>
<label targetElement="Span1">
<bindings>
<binding id="myNameBinding" property="text" dataContext="myServiceMethod" dataPath="response.object" automatic="false" />
</bindings>
<behaviors>
<hoverBehavior >
<hover>
<invokeMethod target="myServiceMethod" method="invoke" />
</hover>
</hoverBehavior>
</behaviors>
</label>
How to implment this for all my links, not only 1 link?
How to retrieve the attribute "MyHelpID" and send it to the method?
I know I can do this using a Javascript and handle the over event of my A tag (<a onmouseover="displaythehelp(10)">....)
But there is a way to do this using the atlas scripts?
thanks.
Jerome.