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

Pass radgrid selected value

3 Answers 19 Views
GridView
This is a migrated thread and some comments may be shown as answers.
sandy
Top achievements
Rank 1
Iron
Veteran
sandy asked on 04 Jan 2012, 06:16 PM
Hi All,
I have a application in that am taken a radgrid.
the radgrid will display some data with rows.
whn am selecting a redgrid that perticular row i have to pass that selected row value(ex: empno) to new brower open window.
that new browser window will display the values using that radgrid selected row value.

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 05 Jan 2012, 07:14 AM
Hi Sandy,

You can pass the SelectedItem property of RadGridView to the new window.
 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
sandy
Top achievements
Rank 1
Iron
Veteran
answered on 05 Jan 2012, 09:34 PM
am not getting.
can u send me the code,
am new to rad controls.
this is my code.
            if (true == HtmlPage.IsPopupWindowAllowed)
                HtmlPage.PopupWindow(new Uri("http://page.aspx?MeterId=" + advSearchGrid.SelectedItem), "new", options);
here i have to pass meterID.
advSearchGrid.SelectedItem this is my gridview name.
0
Maya
Telerik team
answered on 06 Jan 2012, 07:29 AM
Hello,

I would recommend you to run through our online documentation and demos for further reference. 


Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
sandy
Top achievements
Rank 1
Iron
Veteran
Answers by
Maya
Telerik team
sandy
Top achievements
Rank 1
Iron
Veteran
Share this question
or