Advanced Forum Search Results
-
Here's my code if anybody is interested.
1 private void Tasks_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
2 {
3 DataGrid dg = (DataGrid)sender;
4
5 // Return if nothing is selected
6 // this is necessary becasuse removing the current selection causes a ...
-
mokarom,
Again, thank you for your reply and I hope you are feeling better!
I also discovered if I move away from binding directly to the DomainDataSource within XAML the selection on data load is not automatic. I realized this because I was not seeing this problem in a previous project where I was doing all my binding in code. I did ...
-
Hi Mokarom,
Thank you for your reply and it is good to hear things are working for you. I gutted my page to a simple test, thinking maybe something was causing problems. However, with the below code I still receive the SelectionChanged event once the DataGrid is loaded. I can also find several posts from a google search of ...
-
I've no doubt many have experienced the same issues I'm having with the DataGrid SelectionChanged event. What' i'm doing is quite simple, populate a DataGrid, when a row is clicked popup a window. Sounds simple, right?
Why does the DataGrid automatically select the first row when it loads, and why can this ...
-
Along the same lines, when a user pressed F5 or refreshes the browser, I am logged out. Is there a way to refresh the silverlight app but stay logged in?
Paul
-
I am receiving essentially the same error. I created a relationship between two entities by refreshing the database (where I added the FK). The Entity Model picks it up just fine and the web side of my RIA library compiles just fine, however the SL side of the RIA Entity Model gives the error "Error 3 Association named ...
-
Check the type of the returned User in the login completion. It should be something like MDTM.Security.Web.Services.User, which is defined in the server side AuthenticationService.cs . Authentication is clearly working, it just seems the wrong User class is attached to the RiaContext.
My first thought is that you have ...
-
Thank you for the response. This works nicely.
I did not trap the object being changed as you suggested, as I can access it directly from within the combobox selectionchanged event because at that point I have access to the DataGrid.SelectedItem, which now implements INotifyPropertyChanged. So I simply get the currently ...
-
Yes, thank you....long day....brain overload
-
I need access to System.Web.HttpServerUtility.MapPath()
from within a RIA Service, but I can't find a reference to the Server object normally exposed by IIS. My service is in a RIA library, but that shouldn't make a difference. Any help is greatly appreciated.
Thanks