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

How to get particular row value from Grid

4 Answers 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sagar Baheti
Top achievements
Rank 1
Sagar Baheti asked on 18 Sep 2008, 12:38 PM
Hi,
I  am using RadGrid, and i have one asp DropDownList Control in every row. Now on SelectChanged event one Pop will come where i want to edit Row values. But how i will get the particular row values to that Pop page.
Please Help me

Thanks and Regard,
Sagar

4 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 18 Sep 2008, 01:31 PM
Hi Sagar Baheti,

One way you can get your item data to the new page inside the window, is through query string parameters as demonstrated in this online demo:

Window editing

The edit form that appears there in a popup window is another page, the files of which are attached. You can see that you need to have access to Radgrid's data source on both pages, so that you can only pass the primary key value of the edited item and retrieve the information from the data source on the edit page.

Sincerely yours,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sagar Baheti
Top achievements
Rank 1
answered on 19 Sep 2008, 05:53 AM
Hi Veli ,
Thanks for your reply, but as i told i am using asp Dropdown  control  in the Row cell and when i select perticular action from DropDown i entered to
Action_DropdownList_SelectedIndexChanged
event, but in this event i could not able to find that particular rows cell  values. So please help me

Thanks and regard,
Sagar
0
Accepted
Princy
Top achievements
Rank 2
answered on 19 Sep 2008, 07:36 AM
Hello Sagar,

        You can use the NamingContainer property to access the GridDataItems in which the DropDownList is placed. Once you access the GridDataItem, you can use the ColumnUniqueName property to access a cell in the row.

Thanks
Princy.
0
Sagar Baheti
Top achievements
Rank 1
answered on 19 Sep 2008, 08:27 AM
Thanks a lot is't working...
Tags
Grid
Asked by
Sagar Baheti
Top achievements
Rank 1
Answers by
Veli
Telerik team
Sagar Baheti
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or