K
Kris Oye
I am creating a TreeView programatically in C# and then using the
RenderControl() method to send it back to the browser. I am attempting to
use the resulting checkboxes in an existing form, but when the data is
submitted back to the server for processing, none of the checkbox data
appears in my Request. Anyone know why this might happen? I've tried it a
number of ways to get it working but with no success. The tree renders
correctly and each checkbox has the correct ID and Name, but no go. Any
help would be greatly appreciated:
Brief code fragment:
<form action="ViewReport.aspx"
method="post"
name="Criteria"
id="Criteria"
....
<% RenderTree() %>
....
</form>
FYI: RenderTree() method constructs a TreeView control and then calls
RenderControl(new HtmlTextWriter(Response.Output, " "))
Anyway... any help would be appreciated (again!)
RenderControl() method to send it back to the browser. I am attempting to
use the resulting checkboxes in an existing form, but when the data is
submitted back to the server for processing, none of the checkbox data
appears in my Request. Anyone know why this might happen? I've tried it a
number of ways to get it working but with no success. The tree renders
correctly and each checkbox has the correct ID and Name, but no go. Any
help would be greatly appreciated:
Brief code fragment:
<form action="ViewReport.aspx"
method="post"
name="Criteria"
id="Criteria"
....
<% RenderTree() %>
....
</form>
FYI: RenderTree() method constructs a TreeView control and then calls
RenderControl(new HtmlTextWriter(Response.Output, " "))
Anyway... any help would be appreciated (again!)