R
Rodusa
I have a hidden field inside one datagrid which I can't get to make it
keep its state after a postback event.
Look field:
<input type="hidden" id="TxtHiddenItem_id" name="TxtHiddenItem_id"
runat="server" value='<%# DataBinder.Eval(Container,
"DataItem.item_id").ToString() %>'>
I can get around that using an asp.net textbox control, but it doesn't
work well with large strings.
I don't know if it has to do with the fact that a hidden field is not
really 100% an asp.net control. The way I am changing the hidden field
value is by using javascript document.all("myfield").value;
Rod
keep its state after a postback event.
Look field:
<input type="hidden" id="TxtHiddenItem_id" name="TxtHiddenItem_id"
runat="server" value='<%# DataBinder.Eval(Container,
"DataItem.item_id").ToString() %>'>
I can get around that using an asp.net textbox control, but it doesn't
work well with large strings.
I don't know if it has to do with the fact that a hidden field is not
really 100% an asp.net control. The way I am changing the hidden field
value is by using javascript document.all("myfield").value;
Rod