Hi,
I am using an ultrawebgrid with columns with textboxes.
When text changes in column1 textbox, I want to display some other text in column2 textbox.
According to an earlier post, I tried trapping the TextChanged event on postback but it does not fire.
Please help.
Thanks!
Hello,
Thanks for writing. Could you please paste same sample code how you try to hook the TextChanged event? Are you using templated columns (CellTemplate) or computed columns? Do you want to fire the event on the server-side or on the client-side (using javascript)?
Hi Sofia,
Thanks for the quick reply.
We are using the Infragistics webgrid as a customised usercontrol. The textbox is used inside a cellTemplate and I want to be able to trap the event either at the server side (on a postback) or asynchronous postback if possible
Here is the textbox
<Link:TextBoxEx id="txtSingle1" AutoPostBack="true" Runat="server" ProfileType=View width="200" MaxLength=255 />
In the code behinde, I am handling the textbox ontextchanged event as
//In InitializeComponent ---this.txtSingle1.TextChanged += new EventHandler(ShowCondition);
In ShowCondition(), I am computing some value, and assiging it to the datatable and then rebinding the datatable to the grid.