A
Axford
Hello,
On a WebForm (method=post runat=server) I added a
datagrid, label (visible=false) and input type=hidden.
All controls runat=server (label and datagrid server
controls).
In the page_load I change the values of label and hidden
field: they are rendered correct according to View |
Source of the rendered page. After a postback however I
cannot get to Request.Form["Label_ID"] or Request.Form
["Hidden_ID"] (both null), even Request.Form.Count=0.
When looking at Label_ID.Text or Hidden_ID.Value I get
the initial values before rendering.
Can anybody explain?
Thx.
On a WebForm (method=post runat=server) I added a
datagrid, label (visible=false) and input type=hidden.
All controls runat=server (label and datagrid server
controls).
In the page_load I change the values of label and hidden
field: they are rendered correct according to View |
Source of the rendered page. After a postback however I
cannot get to Request.Form["Label_ID"] or Request.Form
["Hidden_ID"] (both null), even Request.Form.Count=0.
When looking at Label_ID.Text or Hidden_ID.Value I get
the initial values before rendering.
Can anybody explain?
Thx.