I have a RadGrid on my Master page, and I'd like to put the DataSource on the content page. (The data source will change depending on which content page is loaded). Is this possible?
That scenario should be possible- it will just require a little code in your Content Page.
The process should basically be this:
Handle your ContentPage's PageLoad event
During that event, locate the RadGrid in your MasterPage (Master.FindControl("YourRadGridId") as RadGrid)
Set the grid's DataSourceId property to the ID of your data source (myGrid.DataSourceID = mySqlDataSource.ID)
I don't have VS handy, but I'm fairly certain this should work. It should be early enough in the Page Lifecycle. Once the DataSourceId is set, the Grid will bind and behave "like normal."
Is it possible vice-a-verse. I have button in my master page. On click I need to save the RadGrid (in child page) look and feel settings.
Means in the button click event I want to know the child page information, the rad grid, and finally save its state by GridSettingsPersister.
I can do it with separate buttons on each individual child page. But I do not like that. Please let me know.