I have a treeview on a site that is using CSSFriendly adapters. I have adapterenabled=false in the treeview tag.
On the treenodes, I am showing a hovermenuextender with a linkbutton. When I click on the linkbutton I get an error. In debugging the site the error is on the document.getElementById line below:
function WebForm_OnSubmit() { document.getElementById('ctl00_ctl06').value = GetViewState__AspNetTreeView('ctl00_cphBody_treeView1_UL'); return true;
If I enable the adapters, the linkbutton works but my page is all messed up. What can I do to get the linkbuttons to work the way they should?
Kosmo007
Member
29 Points
34 Posts
Treeview issues
Oct 28, 2011 12:51 PM|LINK
I have a treeview on a site that is using CSSFriendly adapters. I have adapterenabled=false in the treeview tag.
On the treenodes, I am showing a hovermenuextender with a linkbutton. When I click on the linkbutton I get an error. In debugging the site the error is on the document.getElementById line below:
function WebForm_OnSubmit() { document.getElementById('ctl00_ctl06').value = GetViewState__AspNetTreeView('ctl00_cphBody_treeView1_UL'); return true;If I enable the adapters, the linkbutton works but my page is all messed up. What can I do to get the linkbuttons to work the way they should?
Kosmo