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

[Solved] Tabstrip value not binding with grid row select value

1 Answer 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lubna Ansari
Top achievements
Rank 1
Lubna Ansari asked on 04 Mar 2010, 12:53 PM
Hi,

I'm using client side insert/update/delete. When I click on any row of the grid the values of control in the edit mode doesn't change. I am referring http://www.telerik.com/help/aspnet-ajax/client-update-insert-delete.html of the demo. The only difference is instead of webservice I'm using codebehind method to get the selected row detail. using alert I checked that the values coming after row selection is right. the only thing is I can not see the change in the tab.
Am I missing some event of tabs??

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 09 Mar 2010, 09:54 AM
Hello Lubna,

The functionality in question is demonstrated in the following example:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx

The most important piece of code, which handles the functionality which you mentioned is below:

function rowSelected(sender, args)
            {
                //employeeID = args.getDataKeyValue("EmployeeID");
                employeeID = getDataItemKeyValue(sender,args.get_gridDataItem());
                
                currentRowIndex = args.get_gridDataItem().get_element().rowIndex;

                $find("<%= RadTabStrip1.ClientID %>").set_selectedIndex(0);
                
                MyWebService.GetEmployeeByEmployeeID(employeeID, setValues)
            }

I hope this gets you started properly.

Sincerely yours,
Yavor
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
Grid
Asked by
Lubna Ansari
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or