or
| <telerik:RadComboBox ID="ddlProjects" EnableScreenBoundaryDetection="False" EmptyMessage="Select Project(s)" runat="server"> |
| <ItemTemplate> |
| <asp:CheckBox runat="server" ID="CheckBox" Text="" /> <%#DataBinder.Eval(Container, "Text")%> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
| Protected Sub ddlProjects_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlProjects.Load |
| Try |
| If Not Page.IsPostBack Then |
| ddlProjects.DataSource = l_oUniversal.PopulateDropDownList("sprocSchedule_Get_ProjectNames") |
| ddlProjects.DataValueField = "ProjectID" |
| ddlProjects.DataTextField = "ProjectName" |
| ddlProjects.DataBind() |
| ddlProjects.Items.Insert(0, New RadComboBoxItem("")) |
| End If |
| Catch ex As Exception |
| ' Log Error |
| End Try |
| End Sub |
i m very Confuse, i have to find "chk" Control in my Codebehind file
<A
ppointmentTemplate>
<asp:CheckBox ID ="chk" Text='<%#Eval("ID")%>' runat="server" CssClass="test" OnCheckedChanged="alert('dsfa');" />
<asp:Label ID="lblChanelID" runat="server" Text='<%#Eval("Subject")%>'></asp:Label>
</AppointmentTemplate>
basically i have provided checkbox in all my appointment, i want to track which apointment is checked by user and which apointment is not checked by user for that purpose i have to get the referance of Check box that is inside the <AppointmentTemplate> so how i can acess controls that is inside <AppointmentTemplete> and get it referance according to check box TEXT property;
thanks
Muhammad ali
| function OnClientSelectionChange(editor, args) { |
| var enableButton = (editor.getSelection().getText().length > 0) ? 0 : -1; |
| editor.getToolByName("tbiEntity").setState(enableButton); |
| //more buttons are being disbled (not showing for brevity)... |
| } |
| <contextMenu forElement="*"> |
| <tool name="tbiEntity" Text="Entity (Ctrl+Shift+E)" /> |
| <!-- more here --> |
| </contextMenu> |