Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Js Client-side function to get reference for ASP NET WebHierarchicalDataGridcontrol
posted

Hi

I am using the following javascript function on a ClientSide event for <DoubleClick event>

var grid = $find("<%= nessEvents.ClientID%>");

This is fine until I perform a AJAX postback for *another* partial view on another part of my page.

Then this won't work. Is there a clientside function like

 var grid1 = ig_getWebControlById(xx)

which is working for me fine in other controls on either page load or postback of any control?

Clearly I am relying on the rich client script model of the controls.

Thanks in advance. Also posted to the main forums.

  • 14517
    Offline posted

    Hi,

    The $find function is normally the most appropriate way to get a reference to the Aikido controls.

    I tried to reproduce the behavior you are experiencing and was unsuccessful. I was able to get a reference to the WebHierarchicalDataGrid using the $find function even while another postback was in progress. Please provide a sample illustrating this behavior or some additional details on how I can reproduce the behavior so that I can be of more assistance.

    Thanks,
    Valerie

  • 14517
    Offline posted

    Hi,

    Were you able to resolve your issue or create a sample?

    Thanks,

    Valerie