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

[Solved] Programmatically loading a radgrid within a nestedviewtemplate

1 Answer 235 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DeadlyAccurate
Top achievements
Rank 1
DeadlyAccurate asked on 22 May 2008, 01:44 PM
Here's the general layout of my grid:

  • RadGrid1
    • NestedViewTemplate
      • RadMultiPage
        • RadGrid2
    • Column 2
    • Column 3
    • etc.

I need to programmatically load RadGrid2, and the parameters that I will feed into the stored procedure will come from RadGrid1. I'm not sure how to find RadGrid2, let alone how to find the columns within RadGrid2.

Thanks. Please let me know what additional information you might need.

                        

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 27 May 2008, 07:35 AM
Hello DeadlyAccurate,


You can use the SelectParameters.ControlParameter to bind the value of a Control property, such as Text, to a parameter used in a parameterized SQL query or stored procedure. Please find attached a sample web application that demonstrates the needed approach. You can customize and extend it according to your needs.

Greetings,
Plamen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
DeadlyAccurate
Top achievements
Rank 1
Answers by
Missing User
Share this question
or