Rebind RADTabStrip when RadWindow is closed

2 posts, 0 answers
  1. Matt Frank
    Matt Frank avatar
    12 posts
    Member since:
    Apr 2010

    Posted 12 Jun 2012 Link to this post

    I found a few other forum posts that addressed something similar, but did not work for me. 

    I have a TabStrip that is databound to a SQLDataSource, and it contains information pertinent to the record to a main record the user selects.  To add new information into this TabStrip I deploy a RadWindow to submit new records back to the DB.  

    What I need is upon closing the RadWindow, I need the tabstrip to rebind to reflect the new record(s) that were just added.  

    I found a few posts on refreshing the parent page, but this will not work in my situation as the RadTabstip lies within another TabStrip which contains other information pertinent to the record the user is in.  

    Any help would be appreciated!  
  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 15 Jun 2012 Link to this post

    Hello Matt,

    In order to rebind the RadTabStrip a post-back or Ajax request should be made. For better user experience the Ajax request will be the preferred approach. In order to initiate a manual Ajax request you should subscribe to the client OnClientClose event and initiate a request from the event handler function as demonstrated here. Please note that an Ajax setting should be added such that the RadAjaxManager will update the RadTabStrip.

    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top