I have a problem with ASPxPageControl with the EnableCallbacks property set to true.
In this case, when I have a pair of grids on each tab, javascript does not see ClientInstanceNames grids that are on different active pages.
I want to be able to make changes on the active page, if the current index of the page's hax (for example, 3) will update the grid that is on this page.
I think I used javascript once:
if (document.getElementById("MyClientInstanceName") != null){
MyClientInstanceName.Refresh();
}
otherwise, was selected in the callback to make it work fine.
But now this does not work, because there is always a null value, even when this tab has been opened.
I use ClientID, which is very ugly and long, but now it all works.
Is there any other way if clientInstanceName is accessible from javascript?
thanks for the help
source
share