User Profile & Activity

Member
Page
of 2
Posted: August 27, 2009 6:19 AM

Hi James,

 

thanks for that solution. Can you tell me how that javascript code would look like? Would I have to modifiy the doPostBack function?

 

Thank you

Posted: August 27, 2009 5:01 AM

Hi James,

 

I'm aware of the character of the __EVENTARGUMENT. The thing is I load user controls dynamically and therefore I need to initialize them in the Page_Init event of the page because otherwise (for example when I would do this in Page_Load or later) the event wiring up of that user control would not work anymore.

When I would use your solution and I already tried it in NodeSelectChanged its the same problem: Its AFTER Page_Init.

 

Also another issue is that it seems when you use LoadOnDemand the Nodes collection is always empty? I can at no stage get any node back from the TreeView. Not before and not after Page_Load??

THank you.

All times are GMT -5. The time now is 7:40 AM.
Previous Next