Hi!
I have posted a question yesterday, but did not get any answer.
Hi! I have a problem with the Row Edit template. I'm using an UltraWebGrid in a WARP. I populated the grid with a "BindGrid()" function. I assigned an ascx control for template. There are a few TextBoxes on the control page, that have columnKey specified. Everything was fine until i realized, i will have a lot of data to load once, and it slowed things down. I'm using XML load on demand (on scroll) now, and bind the data to the grid in the InitializeDataSource event. everything works fine. Here comes the problem. After i sort the grid, and select a row (the edit template with the TextBoxes should pop up), only the OK and cancel button from the edit template shows up. If i dont's sort, the Edit Template works perfectly. How can i fix this? What causes the problem? Can anyone help me?
I have a problem with the Row Edit template.
I'm using an UltraWebGrid in a WARP. I populated the grid with a "BindGrid()" function.
I assigned an ascx control for template. There are a few TextBoxes on the control page, that have columnKey specified. Everything was fine until i realized, i will have a lot of data to load once, and it slowed things down. I'm using XML load on demand (on scroll) now, and bind the data to the grid in the InitializeDataSource event. everything works fine.
Here comes the problem. After i sort the grid, and select a row (the edit template with the TextBoxes should pop up), only the OK and cancel button from the edit template shows up. If i dont's sort, the Edit Template works perfectly.
How can i fix this? What causes the problem?
Can anyone help me?
I found out that the problem comes up, when i have the InitializeDataSource event specified. And for XML Loading on Scroll, i need that function, that handle's the event. I only specify the datasource of the Grid, in it. A DataTable gets returned by a function, that gets the rows from a database. That will be the dataSource.
So if i don't specify the InitializeDataSource event, the EditRow template shows up after sorting also, but if i do specify it, i doesn't!
I would really apprecite any help!!!
Thanks!