locked
LS HTML Client - Count of detail records in master screen RRS feed

  • Question

  • I have a screen with two data items: ConferenceRoom and Students. The students data item is linked to the Conference room by the key IdConferenceRoom. I want to show in the BrowseConferenceRoom screen, the name of the room and number of users: RoomXYZ(9). I wrote some code that will update the text of the element item... but only if I click on the item. How do I get all the ConferenceRooms updated with the number of Students during the render event of each row? Thanks.

    Sunday, June 2, 2013 4:34 AM

Answers

  • Huy's answer in this post helped me to solve my problem. Using his explanation and code I was able to get the result I needed.

    Thanks! Huy.

    • Marked as answer by JCMonto Sunday, June 2, 2013 5:19 AM
    Sunday, June 2, 2013 5:18 AM

All replies

  • Huy's answer in this post helped me to solve my problem. Using his explanation and code I was able to get the result I needed.

    Thanks! Huy.

    • Marked as answer by JCMonto Sunday, June 2, 2013 5:19 AM
    Sunday, June 2, 2013 5:18 AM
  • Hi,

    I am glad that you have solved problem by yourself.

    If you have any other problem, welcome to post it in the Visual Studio LightSwitch forums.

    Best Regards.


    Amy Peng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, June 7, 2013 2:26 AM
    Moderator