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

grid using tab

2 Answers 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Silderado
Top achievements
Rank 1
Silderado asked on 29 Dec 2010, 01:35 PM
Hi I am working with a radgrid and need help.

I created a javascript function so that when you select the row of the grid, which is insidea pageview, automatically switch to the second tab, which has a WebUserControl.Worked without problems.

My question is, how do I pass parameters using javascript, I need to WebUserControl do I need?

Javascript function:
            function selectTab(sender, args) {
                var _id = args.getDataKeyValue("ID");

                var tabStrip = $find("<%= RadTabStrip.ClientID %>");
                var tab = tabStrip.findTabByText("Employee");
                if (!tab) {
                    return false;
                }
                tab.set_selected(true);
                return false;
            }

2 Answers, 1 is accepted

Sort by
0
Silderado
Top achievements
Rank 1
answered on 29 Dec 2010, 07:11 PM
?????
0
Vasil
Telerik team
answered on 03 Jan 2011, 10:58 AM
Hi Silderado,

Can you be more specific in your question?
What parameters you want to pass and to which function?
If you are asking how to pass parameters when calling a javascript function read this article.

Best wishes,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Silderado
Top achievements
Rank 1
Answers by
Silderado
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or