I have an asp:FormView on my page along with a Telerik RadGrid next to it. On the form view is the parent object information that has a checkbox. In my RadGrid I change the column headers based on whether this checkbox in the FormView is checked. This works fine when the grid is loading initially. I've also added jQuery to the page so that when the checkbox is checked on the client side without saving the column headers are changed.
My problem is when a new row is added to the grid or the refresh button is clicked an ajax call is made back to the server to get the parent object. If the checkbox has been checked on the client side, and not saved to the server, my column headers are now wrong.
How can I send back to the server whether or not that checkbox is checked on the client side even though the parent data hasn't been saved to the server?
I thought about possibly sending the value accross in the OnNeedDataSource event, but I don't see a way to do that.
My problem is when a new row is added to the grid or the refresh button is clicked an ajax call is made back to the server to get the parent object. If the checkbox has been checked on the client side, and not saved to the server, my column headers are now wrong.
How can I send back to the server whether or not that checkbox is checked on the client side even though the parent data hasn't been saved to the server?
I thought about possibly sending the value accross in the OnNeedDataSource event, but I don't see a way to do that.