S
Simon
Hi
I have a datagrid with a TemplateColumn where I have put inside a TextBox
without databinding with the data source.
The TextBox is used to type a number for each row of the datagrid.
I have set the AutoPostBack property of TextBox to true and I have raise
TextChanged event to make some control on typed number.
When I type a number on one TextBox and click out of control to raise the
event, the method that raise the event is called and the property Text of
the TextBox is correctly set to the typed number, but when the datagrid is
displayed after postback the textbox is empty, it sounds like
EnableViewState doesn't work.
Is this behaviour correct ? if yes is possible to workaround ?
Thanks is advance.
Simon.
I have a datagrid with a TemplateColumn where I have put inside a TextBox
without databinding with the data source.
The TextBox is used to type a number for each row of the datagrid.
I have set the AutoPostBack property of TextBox to true and I have raise
TextChanged event to make some control on typed number.
When I type a number on one TextBox and click out of control to raise the
event, the method that raise the event is called and the property Text of
the TextBox is correctly set to the typed number, but when the datagrid is
displayed after postback the textbox is empty, it sounds like
EnableViewState doesn't work.
Is this behaviour correct ? if yes is possible to workaround ?
Thanks is advance.
Simon.