User control textbox data is not persisting on postback

I have a web page that uses the dhtmlXLayoutObject object with a web user control inside of one of the cells. The user control has a textbox and a button on it that when clicked, saves the contents of the textbox to the database. The user control works fine when it is on a plain aspx page by itself. I am persisting the value of the textbox in a session variable and then using this variable to save the value. When I embed the control in one of the cells on a page with the dhtmlXLayoutObject control the value of the textbox is null when I try to save it in the session variable. How do I persist this value across postbacks?


You can use grid.cells(rowID,columnIndex).getValue() method to get cell value and … quest.html to send it to the server.