Hi, I'm trying to use RadDomainDataSource in the code behind of a silverlight 4 application with VS2010 and RIA Services. I have a RadGridView with a RadDataPager.
In my RadGridView I'm loading diferent information, so I need to change the property QueryName each time that I change my data, now I have the code in the xaml but I want to put it in the cs file because is easier to change this property code behind.
Could you please someone tells me how to translate this code in the code behind? or if I keep the code in the xaml, where is the correct place to change QueryName and reload the grid?