Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TabControl > Data not loading in RadGridView inside a RadTabControl

Not answered Data not loading in RadGridView inside a RadTabControl

Feed from this thread
  • Divya avatar

    Posted on Nov 18, 2011 (permalink)

    Hi,

    I am using RadTabControl with 2 tab items. In second tab, I have a RadGridView which is binded to a List of objects in view model. When the user selects the second tab, I am fetching data from database and populating the list. But it is not displaying in the RadGridView. If I go back to first tab and come back, it is working.
    Is there any way to resolve this.

    Regards,
    Divya

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 22, 2011 (permalink)

    Hello Divya,

     I guess the problem is that you retrieve your data in the SelectionChanged event handler of the RadTabControl which fires before the RadGridView is loaded. Can you try to use the Loaded event handler of the RadGridView in order to call the WCF service ? Could you please elaborate more on your scenario if it is more complex ? Any sample code would be highly appreciated. Thank you in advance.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Divya avatar

    Posted on Nov 22, 2011 (permalink)

    thanks, it is working

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TabControl > Data not loading in RadGridView inside a RadTabControl
Related resources for "Data not loading in RadGridView inside a RadTabControl"

Silverlight TabControl Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]