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

Firing updatecommand/insertcommand on clicking tab within radgrid

1 Answer 73 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
David De Backer
Top achievements
Rank 1
David De Backer asked on 29 Oct 2010, 12:44 PM

Hello, I have a problem with firing the insert-/editcommand when a tab is clicked within a radgrid.

So the problem is the following:

I have a radgrid. In the insert/editmode of this radgrid (it’s an in-forms editing mode), I use a radtabstrip with two tabs. One tab is called ‘general info’ and the second one is called ‘photos’. Now, I would like to do the following.

When the user inserts a new record or edits an existing one in the radgrid, firstly he fills in/edits the general info (first tab). Secondly he clicks the tab ‘photos’ to add some photos. Clicking the tab ‘photos’, the ‘general info’ should be saved into the database. So, the updatecommand or insertcommand should be fired on clicking the tab ‘photos’. How can I perform this?

Thanks for your help!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Nov 2010, 10:10 AM
Hello David,

I suggest you handle TabClick and set AutoPostBack="true" for RadTabStrip. Let me know if you still experience problems with this scenario.


Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TabStrip
Asked by
David De Backer
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or