I used Unigrid control within a Kentico webpart. That control loses data after postback if the databind method is only performed within load event (if (!IsPostback) condition). The same code works fine within a standard aspx page. I also tried the UserControlWebpart but got the same problem even, using DataGrid aspnet standard control.
How can I resolve that problem?
With webparts, you need to load the data each time, simply remove your IsPostback() condition and you'll be set.
Your answer is obviously correct but with large dataset would cause performance problems
Then you might use caching or other means to store your data in memory, either way you need to bind the dataset to the datasource each time.
Please, sign in to be able to submit a new answer.