Detail Screen
-
Tuesday, July 19, 2011 1:13 PM
I have a search screen and I created a detail screen to display the detail of a selected record. When Lightswitch creates the detail screen it works perfect. When I modify the layout of the detail screen it does not work anymore. It shows the labels but no data. Any ideas? Thanks in advance.
All Replies
-
Tuesday, July 19, 2011 1:38 PMHi JuanThat modifications made to the Details screen? And another question, any modification to the data model?Jaime
-
Tuesday, July 19, 2011 1:51 PM
Jaime
Making a field not visible or removing the field from the screen. No modifications to the data model. I noticed that after I close the application and open it again, if I run my search and click in one record the detail screen works. Then I close the detail screen search for another record. Click on the link field to see the detail and it does not work anymore. The behavior is consistent only works once and only when I start the application. I am using RIA service as the data source.
One thing to mention is that my search screen is not using Auto Execute Query. I am using a custom search and I execute the search with Me.Details.Properties.DataSearch.Loader.Load()
JCM
-
Tuesday, July 19, 2011 2:00 PM
Sorry Juan, but I find no explanation for this behavior in the application, is certainly a strange case.
Jaime
-
Tuesday, July 19, 2011 2:04 PMAre you using Beth Massi's technique, form her video series, to have one screen for both adding & editing?
(plus ça change, plus c'est la même chose!)
-
Tuesday, July 19, 2011 3:20 PMYes I have followed her Video several times. But I keep getting the same behavior. If I use the same RIA service and use Silverligh out of lightswith it work just fine.
JCM -
Tuesday, July 19, 2011 3:26 PMHave a look at this recent post, "Links not working?", & see if it helps at all in your situation.
(plus ça change, plus c'est la même chose!)
-
Thursday, July 21, 2011 2:50 PM
Thanks to anyone who answered. I don't know what is the problem but the custom detail page does not work at least in my conditions. I changed the approach to use a list detail window and it is working now. Not exactly as I wanted but at least is working.
JCM -
Thursday, July 21, 2011 3:14 PM
Did you make the small change that I recommended in the post THta I gave you the link for?
Also if you could be a bit more specific about what "doesn't work", because I can assure you Beth's technique works *very* well (with the small changes). I use it for EVERY detail screen that I have.
(plus ça change, plus c'est la même chose!)

