vaioklm Posted January 18, 2008 Report Share Posted January 18, 2008 I am using the grid in a custom control; therefore, I am binding my datasource to the grid in the Grid.DataBinding event. However, because I don't want to call back to my database every time the Grid.DataBinding event fires, I have my dataset stored in a Session variable which gets bound each time the event fires. I would like to be able to call back to the database and update my Session variable if the user clicks the refresh button, but I do not see a way for me to know that the refresh button has been clicked. Is there an event being raised or something I can override to expose this information to me. Link to comment Share on other sites More sharing options...
StephenP Posted January 18, 2008 Report Share Posted January 18, 2008 So the grid is working okay in the custom control now? That's good news. Regarding an event or notification of when the Refresh button is clicked, I will provide some event for that. That will have to be done in a hotfix or the next service pack. Is that okay? Link to comment Share on other sites More sharing options...
vaioklm Posted January 18, 2008 Author Report Share Posted January 18, 2008 I'm able to get the grid to show in the custom control, but it still behaves erratically when it comes to grouping, sorting, etc... As for the Refresh button, an event would be great. Thanks. Link to comment Share on other sites More sharing options...
StephenP Posted January 28, 2008 Report Share Posted January 28, 2008 I think the erratic behavior you are experiencing is related to the state issue you encountered. I am building the refresh button event into the next service pack. Thanks so much for using Grid FX. Happy coding! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.