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;
}
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;
}