FindControl

Jun 21, 2010 at 3:24 PM
Hi, Thnak you for your great splitetr control.I have a issue with this control I can not find cotrol inside Splitter.How Can I do that.Any Idea?
Coordinator
Jun 25, 2010 at 1:51 PM

Use the FindControl method like this: SplitterPanel1.RightOwner.FindControl("controlId"); 

 

 

Sep 20, 2010 at 11:32 AM

Hi wdavidsen,

SplitterPanel1.RightOwner.FindControl("controlId"); didn't work for me !!

I could find any control inside it !! Any hints ?!!

Thanks,

Coordinator
Jun 23, 2011 at 2:31 AM
Edited Jun 23, 2011 at 12:09 PM

The new Default.aspx.cs page I just checked in shows you how its done. Make sure you wait until the page onload event to call FindControl. At page oninit the controls have not yet been created.