I have a radPanelBar called rpbAgenda.
I have a user control located within this panel bar called abConsent. This user control has several properties that I have exposed such as idCouncilMtgDate, Title, etc that I can set programmatically.
Below is my HTML code for the user control:
In a normal occurrence, I can set the properties of this user control by the following:
However, since this user control is nested within a panelbar, I am unable to access it. I've tried the following but I was unsuccessful:
How can I access the user control and its corresponding exposed properties? Thanks. I've taken a look at the samples but seem to have run into a dead end no matter what.
I have a user control located within this panel bar called abConsent. This user control has several properties that I have exposed such as idCouncilMtgDate, Title, etc that I can set programmatically.
Below is my HTML code for the user control:
<telerik:RadPanelItem value="Consent" Text="Consent Agenda - Action Items" Font-Bold="True" BorderStyle="None"> |
<Items> |
<telerik:RadPanelItem> |
<ItemTemplate> |
<uc1:ab ID="abConsent1" runat="server" Visible="true" /> |
</ItemTemplate> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
In a normal occurrence, I can set the properties of this user control by the following:
abConsent1.idCouncilMeetingDate = rcmbCouncilMtgDate.SelectedValue |
abConsent1.isConsentAgenda = "Yes" |
abConsent1.isOrdinance = "No" |
abConsent1.isApproved = "Yes" |
abConsent1.idCommittee = "%" |
abConsent1.title = "<b>Other Approvals</b>" |
However, since this user control is nested within a panelbar, I am unable to access it. I've tried the following but I was unsuccessful:
Dim abconsent1 As ab = rpbAgenda.FindControl("abconsent1") |
How can I access the user control and its corresponding exposed properties? Thanks. I've taken a look at the samples but seem to have run into a dead end no matter what.