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
20
Ultra Web Grid, loosing rows in second postback!
posted

Hi, i'm from Argentina 

I am new to this forum, Please tell the solution to this issue?

I am using Ultrawebgrid with an update panel, and i have two problems with it:

First the I can`t edit cells' values an although I set

cell.AllowEditing = Infragistics.WebUI.UltraWebGrid.AllowEditing.Yes;

Second: When a postback occurs in the click of a button Add (that adds new items to my ultraWebGrid) the previows row is deleted, I miss those values, why it could be?

Someone who can help me, and sorry for my english

Thanks very much.

  • 30
    posted

    Have you set the grid to allow Editing and Adding? Like so....

    grid.Bands[0].AllowAdd = Infragistics.WebUI.UltraWebGrid.AllowAddNew.Yes;

    grid.Bands[0].AllowUpdate = Infragistics.WebUI.UltraWebGrid.AllowUpdate.Yes;

    Is your code to allow editing on the grid_InitializeLayout code behind method. I have found that even though I have set these items in Design Time it still needs to be done in run time too.

     Hope this Helps

     AT