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

How to FindControl in FormView EditTemplate MultiPage

3 Answers 126 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
jonnyO
Top achievements
Rank 1
jonnyO asked on 21 Jun 2008, 01:13 AM
Any ideas on how to findcontrol a "message" label that is in a "page1" page of a "Multipage1" multipage located in the Edittemplate of a "formview1" form view?
Thanks

3 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 23 Jun 2008, 09:18 AM
Hello jonnyO,

The FindControl method provides you with a reference to any control inside any of the pageviews. You must make sure that you properly typecast the returned value as FindControl returns a reference to a Control class. For detailed information on the subject please make a search in MSDN.

All the best,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Richard
Top achievements
Rank 1
answered on 18 Apr 2011, 05:09 PM
This is what I'm trying to do, but putting it all together is eluding me.

My page looks like this.  How do I code / nest the FindControl to read ControlLabel1 or 2?

RadGrid1
    TabStrip
    RadMultiPage1
        PageView1
            ControlLabel1
            SubGrid1
        PageView2
            ControlLabel2
            SubGrid2
0
Peter
Telerik team
answered on 21 Apr 2011, 04:22 PM
Hello Richard,

I imagine you nest RadTabStrip and RadMultipage as a user control in RadGrid. If that's the case, you can use the following help topic to access values in the grid's rows - http://www.telerik.com/help/aspnet-ajax/grid-updating-values-usercontrol-formtemplate.html


All the best,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TabStrip
Asked by
jonnyO
Top achievements
Rank 1
Answers by
Paul
Telerik team
Richard
Top achievements
Rank 1
Peter
Telerik team
Share this question
or