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

Datakey for template column in javascript

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 11 Aug 2008, 10:14 PM
I have a button inside the grid template column.
on click of that button i open a modal window and ask user for some information.
on close of the window I want to pass the info entered by the user alongwith the datakey of the row that had the button to a new page.

How do i get the datakey of that row on client side or server side.

I force a postback on the closing of the modal window to do some additional task and then redirect to a new page.My control does not go to the ItemCommand event handler so I cannot extract the values there.




1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 14 Aug 2008, 11:57 AM
Hello,

The following code library contains additional information on passing data to the window, when opening it.
I hope it gets you started properly.

Best wishes,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
newbie
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or