I have a radTreeView control in a ContentPage. I am loading the nodes dynamically at runtime. My MasterPage contains a radAjaxPanel and the ContentPane is contained within the panel, so all of my Content Pages are ajaxified. This has been working great up until now.
When I click on a node in my radTreeView, the NodeClick event is fired THE FIRST TIME. If I subsequently click on another node, the event is not fired and I'm getting the following error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request to the server. The status code returned from the server was: 500
I've seen other posts that say to load my nodes using ExpandedMode = TreeNodeExpandedMode.ServerSide, but that didn't seem to do anything. I saw some other posts that said to add EnablePartialRendering="false" to my radScriptManager. That fixed the problem, but of course now nothing is ajaxified anymore.
Then I remembered that on another page in my in my application I have a radUploadFile control. This doesn't work properly when ajaxified, so I had to disable Ajax for this control. I decided to do the same thing for my radTreeView and it worked just fine (if you need to see how I did this please let me know).
So, that's where I stand right now. My radTreeView is not utilizing Ajax, but I'd like it to if I can. Any idea how to fix this issue? Again, I have no problems with expanding nodes. My problem is that the NodeClick event is not firing EXCEPT FOR THE FIRST TIME when ajaxified.
Thanks.
Steve
When I click on a node in my radTreeView, the NodeClick event is fired THE FIRST TIME. If I subsequently click on another node, the event is not fired and I'm getting the following error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request to the server. The status code returned from the server was: 500
I've seen other posts that say to load my nodes using ExpandedMode = TreeNodeExpandedMode.ServerSide, but that didn't seem to do anything. I saw some other posts that said to add EnablePartialRendering="false" to my radScriptManager. That fixed the problem, but of course now nothing is ajaxified anymore.
Then I remembered that on another page in my in my application I have a radUploadFile control. This doesn't work properly when ajaxified, so I had to disable Ajax for this control. I decided to do the same thing for my radTreeView and it worked just fine (if you need to see how I did this please let me know).
So, that's where I stand right now. My radTreeView is not utilizing Ajax, but I'd like it to if I can. Any idea how to fix this issue? Again, I have no problems with expanding nodes. My problem is that the NodeClick event is not firing EXCEPT FOR THE FIRST TIME when ajaxified.
Thanks.
Steve