Hello! i have a rad-scheduler with resource header. I have checkbox with the resource header to allow me to identify the resource that has been selected. But when there is a resource selected (checkbox is checked) and i go ahead and select another one i would like to auto un-check the initial selection. I am unable to do so - suffering from brain freeze.
Here is my code for the resource selector and the on-check code
Here is my code for the resource selector and the on-check code
<
ResourceHeaderTemplate>
<asp:CheckBox runat="server" ID="ResourceCheckBox" Text='<%# Eval("Text") %>' OnCheckedChanged="ResourceCheckBox_CheckChanged" AutoPostBack="true" />
</ResourceHeaderTemplate>
Protected Sub ResourceCheckBox_CheckChanged(ByVal sender As Object, ByVal e As EventArgs)
Dim bindingContainer As Control = (DirectCast(sender, Control)).BindingContainer
Dim dataItemContainer As IDataItemContainer = DirectCast(bindingContainer, IDataItemContainer)
Dim resource As Resource = TryCast(dataItemContainer.DataItem, Resource)
End Sub
thanks,
Jay