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

Unable to Access Controls During Load From Another Pane

2 Answers 41 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 2
Ron asked on 03 Mar 2010, 10:57 PM
Hi,

I have a splitter setup with two panes and a splitbar for resizing or collapsing the panes.  The panes are setup so that in the left pane I have a dropdown combo box that contains all my dates populated by a sqldatasource control while on the right pane there is a chart control that is databound to a sqldatasource which uses the comboxbox from the left pane as one of the select paremeters, thereby controlling the date of the data that will display in the chart.

The problem is whenever this page loads the sqldatasource from the right pane cannot see the control on the left pane so the page fails to load.  The error is simply "Cannot find control RadBombobox1".

Why is this happening and is there anything that can be done?  Seems like the only way I can get it all to work is to be sure the combobox and it's sqldatasource are all on the same pane and not seperate ones.

Thanks,
Ron

2 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 09 Mar 2010, 03:09 PM
Hello Ron Montecalvo,
The RadPane is not an INamingContainer and in case the SqlDataSource and the RadComboBox controls and children of the same INamingContainer (and page), you should not have problems. In case the problem persists, please open a new support ticket and send me a simple running project that demonstrates it.

Best wishes,
Tsvetie
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ron
Top achievements
Rank 2
answered on 09 Mar 2010, 03:12 PM
Thanks, however I figured out what was causing the problem.  The master page for this particular form I had setup with a contentpalceholder for the left column and one for the right column.  Turns out becuase they were in seperate holders, this was causing the problem.  I since removed the holders and everything is working as expected now.
Tags
Splitter
Asked by
Ron
Top achievements
Rank 2
Answers by
Tsvetie
Telerik team
Ron
Top achievements
Rank 2
Share this question
or