Posted on Dec 25, 2007 (permalink)
If we place any.Net Server control with in the “Rad Panel Bar”, we can not access those controls in code behind files.
For example i have asp.net 2.0 textbox,button controls in RAD Panel Bar. If we want to add any functionality in button_click event in code behind file,
we can not access the button on server side (code behind files like sample.aspx.cs or sample.aspx.vb ).
Reply
Posted on Dec 27, 2007 (permalink)
Posted on Jan 22, 2009 (permalink)
Posted on Nov 12, 2009 (permalink)
Dim radArrivalDate As RadDatePicker = CType(RadPanelBar1.FindControl("radArrivalDate"), RadDatePicker) Thanks, Steve
Posted on Nov 18, 2009 (permalink)
Posted on Nov 19, 2009 (permalink)
Posted on Nov 23, 2009 (permalink)
The error is thrown when it hits the Items.Insert. I am already referencing the DDL using FindControl so I'm not sure what else I need to do. On a similar page that does not have the RadPanelBar I am able to build my DDL this way. Thanks, Steve
Posted on Nov 24, 2009 (permalink)
If
Not
IsPostBack
Then
Dim
ds
As
DataSet = cCountries.dsCountryList(sUserID)
vw
DataView =
New
DataView(ds.Tables(0))
i
Integer
= 0
lstCountry
DropDownList =
CType
(RadPanelBar1.FindItemByValue(
"templateHolder"
).FindControl(
"lstCountry"
), DropDownList)
lstCountry.Items.Insert(i,
ListItem(
"(Select One)"
,
""
))
For
Each
row
DataRowView
In
i = i + 1
sID
String
= row(
"CountryID"
).ToString
sDescription
"Description"
ListItem(sDescription, sID))
Next
End
Back to Top
Powered by Sitefinity ASP.NET CMS
Contact Us | Site Feedback | Terms of Use | Privacy Policy Copyright © 2002-2010 Telerik. All rights reserved.