Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
ShowModalDialog from Ultrawebgrid RowEditTemplate
posted

hi,

I have a situation where I have a grid with a rowedittemplate for data entry. A couple of the edit fields (textboxes) in the rowedittemplate can be populated by clicking a button next to the text box which executes a javascript function that performs a showmodaldialog. the pop up dialog window features a grid that contains a list of selections for the text box value. The dialog window returns the selected value which is then put in the texbox.

(It's done this way because the selection list is big and the dialog serves as a search function. The grid in the dialog has a row limit and the search is available to search the list of possible values in the underlying table.)

Once this is done, click OK on the rowedittemplate and the values are populated in the row cells in the grid.

All seems to work fine to this point, however when the save button (asp button) is clicked and postback is executed, the grid on the server side is blank (no rows or columns or any of the existing properties of the grid exist).

This has something to do with the showmodaldialog because if other rows are added or changed ignoring the fields requiring the showmodaldialog so that it is not invoked, then it all works fine.

Can anyone provide any idea about what and why this is happening and if there is any way to get it to work?

This is with Infragistics 8.2.

Thanks for any help.

 

Parents
No Data
Reply
  • 150
    posted

    Hello, I've settled with fact that the rowedittemplate inherently can't handle this situation and have instead redesigned the functionality without using rowedittemplate.

Children
No Data