K
Kevin
Hi all,
I got a problem about TreeView, I would like to create a
dropdownlist in treeview as a treenode. I've tried the
using following code
TreeView testTree = new TreeView();
TreeNode testNode = new TreeNode();
testNode.Text="<select size=\"1\" name=\"C5_7\" ><option
value=\"test\" selected>Basic</option><option
value=\"test22\">Basic1</option></select>";
the above code will show a dropdownlist in the treeview.
For now my problem is I was unable to get the value of
dropdownlist. Please note that I've try to use
HttpContext.Current.Request["C5_7"], but it doesn't work.
If I did't put dropdownlist in the treeview, but page. I
was able to get the value of dropdownlist by
HttpContext.Current.Request.["C5_7"].
Hope you can give me some suggestions about it. Any
suggestions will be appreciated.
I got a problem about TreeView, I would like to create a
dropdownlist in treeview as a treenode. I've tried the
using following code
TreeView testTree = new TreeView();
TreeNode testNode = new TreeNode();
testNode.Text="<select size=\"1\" name=\"C5_7\" ><option
value=\"test\" selected>Basic</option><option
value=\"test22\">Basic1</option></select>";
the above code will show a dropdownlist in the treeview.
For now my problem is I was unable to get the value of
dropdownlist. Please note that I've try to use
HttpContext.Current.Request["C5_7"], but it doesn't work.
If I did't put dropdownlist in the treeview, but page. I
was able to get the value of dropdownlist by
HttpContext.Current.Request.["C5_7"].
Hope you can give me some suggestions about it. Any
suggestions will be appreciated.