This is a migrated thread and some comments may be shown as answers.

Rebind RADTabStrip when RadWindow is closed

1 Answer 17 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Matt Frank
Top achievements
Rank 1
Matt Frank asked on 12 Jun 2012, 01:35 PM
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!  

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 15 Jun 2012, 11:03 AM
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.

Regards,
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.
Tags
TabStrip
Asked by
Matt Frank
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or