Hello, Telerik team,
we use radscheduler advancedtemplate. The requirement Do NOT show description panel when select resource rooms 201. When select other resource Rooms will show up that description panel.
<asp:DropDownList ID="roomResource" runat="server" OnSelectedIndexChanged="roomResource_SelectedIndexChanged"
AppendDataBoundItems="true" AutoPostBack="true" DataSourceID="SqlDataSource1" SelectedValue='<%#Eval("room") %>' DataTextField="roomname" DataValueField="roomid" />
......
<asp:Panel ID=DescriptionInset" runat="server">
<asp:Label ID="Room1Desc" Text="Description" runat="server"></asp:Label>
<asp:TextBox ID="txtRoom1Desc" runat="server"></asp:TextBox> />
</asp:Panel>
.......
</AdvancedInsertTemplate>
<AdvancedEditTemplate>
......
<asp:Panel ID="DescriptionEdit" runat="server">
<asp:Label ID="Label2" Text="Description" runat="server"></asp:Label>
<asp:TextBox ID="txtRoom1Desc" runat="server" Text='<%# Eval("Description") %>' />
</asp:Panel>
.......
</AdvancedEditTemplate>
we use radscheduler advancedtemplate. The requirement Do NOT show description panel when select resource rooms 201. When select other resource Rooms will show up that description panel.
Please see below code. We have panel in <AdvancedInsertTemplate>and <AdvancedEditTemplate> block for description label and textbox. When select a room 201(please see attached screen), need to hide that description panel. Please help for how I can find that panel ID in "roomResource_SelectedIndexChanged", then make that panel visible is false or you have good solution for hide that panel? Thanks.
<AdvancedInsertTemplate><asp:DropDownList ID="roomResource" runat="server" OnSelectedIndexChanged="roomResource_SelectedIndexChanged"
AppendDataBoundItems="true" AutoPostBack="true" DataSourceID="SqlDataSource1" SelectedValue='<%#Eval("room") %>' DataTextField="roomname" DataValueField="roomid" />
......
<asp:Panel ID=DescriptionInset" runat="server">
<asp:Label ID="Room1Desc" Text="Description" runat="server"></asp:Label>
<asp:TextBox ID="txtRoom1Desc" runat="server"></asp:TextBox> />
</asp:Panel>
.......
</AdvancedInsertTemplate>
<AdvancedEditTemplate>
......
<asp:Panel ID="DescriptionEdit" runat="server">
<asp:Label ID="Label2" Text="Description" runat="server"></asp:Label>
<asp:TextBox ID="txtRoom1Desc" runat="server" Text='<%# Eval("Description") %>' />
</asp:Panel>
.......
</AdvancedEditTemplate>