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

Populate controls on all Tabstrip tabs at the same time(Not on demand!!!) using results from one DB query

3 Answers 44 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Monsi Lache
Top achievements
Rank 1
Monsi Lache asked on 16 May 2010, 12:08 AM
Help, Help, Help!!

I have this desktop application that tracks bug tickets that I wrote using wincontrols(VS 2005- C#) and it works very well. Now I want to create a similar application using asp.net with radcontrols.

I have a tabstrip:
-1st tab has a radgrid that displays a summary of bug tickets based on a variety of filters,
-2nd tab has various controls(textboxes, combos etc) to display ticket details of the selected record from radgrid,
-3rd tab has controls(textboxes, combos etc) to display resource details of the same record and
-4th tab has controls to display status details of the same record.

Here is what I want to happen:
1)User clicks on a ticket record in the radgrid
2)Details tab is selected
2)The id of that ticket is passed to the serverside
3)A function on the serverside receives that id, sends a custom query to the database to retrieve detailed records of the ticket.
4)Once the record has been retrieved, the information in the record is displayed and spread across controls that are on all four tabs(details tab,resource tab & status tab). 

Pls note: I want the selected records information to be populated in all the four tabs at the same time(NOT ON DEMAND!!!) so that I can click on each tab and display the data for that ticket(eg I click on the ticket details tab to view the details or click the status tab to see the status of the ticket)

I have so far managed to get the id of the ticket from the clientside when the user clicks the gridview row and able to pass it to the function on the serverside. What I cannot do is see record data in the controls on all the four tabs when I click each tab. The controls are always blank. I've ajaxified the tabstrip, by the way.

Please help.

I've attached a simple diag that shows what I want to do.


Thanks in advance,

Monsi.

3 Answers, 1 is accepted

Sort by
0
Monsi Lache
Top achievements
Rank 1
answered on 16 May 2010, 05:33 AM
People, any help please. I know there are some smart guys out there.

Please help. Thanks in advance.

Monsi.
0
Yana
Telerik team
answered on 17 May 2010, 01:17 PM
Hello Monsi Lache,

I guess that you need to subscribe to OnTabClick event of the tabstrip in order to cause a postback and populate the pageviews.  You can check this online example demonstrating similar approach.

Regards,
Yana
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.
0
Monsi Lache
Top achievements
Rank 1
answered on 02 Nov 2010, 01:20 AM
Thanks Yana,

Actually I resolved my issue with use of clientside querying using JSON and it works like a chum. Clientside and JSON is the way to go if you want the destop style feedback of your web applications.
Tags
TabStrip
Asked by
Monsi Lache
Top achievements
Rank 1
Answers by
Monsi Lache
Top achievements
Rank 1
Yana
Telerik team
Share this question
or