Hello Telerik Team,
As shown in the attachments we can see that the users in radschedular in Multiuser view are placed horizontally but as per my requirement I want to display the users vertically as shown in the Required Day View and RequiredMultiUser MonthView attachments.
Is there any possible way to do so?
If yes in what way can we do it.
Request you to send some sample code.
Wish you would reply to this mail as soon as possible.
Thanks & Regards,
A Ravi Kumar
telerik:RadAjaxManagerProxy runat="server" ID="RadAjaxManager1">
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RefreshDasboardButton"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"DashboardRepeater"
LoadingPanelID
=
"LoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
Tree
AllowNodeEditing
=
"True"
SingleExpandPath
=
"True"
CheckChildNodes
=
"True"
EnableDragAndDrop
=
"True"
EnableDragAndDropBetweenNodes
=
"True"
OnClientNodeClicking
=
"DontClick"
DataNavigateUrlField
=
"NavigateUrl"
AppendDataBoundItems
=
"True"
DataTextField
=
"Text"
DataValueField
=
"Text"
Skin
=
"WebBlue"
EnableAjaxSkinRendering
=
"False"
Height
=
"382px"
Width
=
"300px"
DataSourceID
=
"XmlDataSource1"
>
<
Node
Text
=
"Menu item With SubMenu"
Value
=
"menu with submenu"
NavigateUrl
=
"~/somelink"
>
<
Node
Text
=
"submenuitem"
Value
=
"submenuitem"
NavigateUrl
=
"~/item"
/>
</
Node
>
</
Tree
>
<telerik:RadGrid ID="RadGridComment" runat="server" OnItemCommand="RadGridComment_ItemCommand" AutoGenerateColumns="False" AllowMultiRowSelection="False"
GridLines="None" ShowGroupPanel="true" ShowHeader="false" MasterTableView-CommandItemDisplay="Top" >
<MasterTableView>
<CommandItemTemplate>
<asp:Table ID="tblSearch" runat="server" CssClass="search__background-image_png" Width="100%" Height="20%" CellPadding="0" CellSpacing="0">
<asp:TableRow>
<asp:TableCell Width="5%" Height="37px">
</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="txtSearch" runat="server" Width="225px" Height="20px" OnTextChanged="txtSearch_TextChanged"></asp:TextBox>
</asp:TableCell>
<asp:TableCell Width="40%" Height="25%">
<asp:RadioButton ID="rbtnSearchOption1" runat="server" GroupName="MessageSearch"
Text="Search in Titles only" Checked="true" Style="font-family: verdana; color: Black; font-style: normal;
font-size: 8pt; font-weight: lighter;" />
<asp:RadioButton ID="rbtnSearchOption2" runat="server" GroupName="MessageSearch"
Text="Search in all text" Style="font-family: verdana; color: Black; font-style: normal;
font-size: 8pt; font-weight: lighter;" />
</asp:TableCell>
<asp:TableCell Width="5%" Height="25%" HorizontalAlign="Right">
<div class="collapsed_ICON_png" >
</div>
</asp:TableCell>
<asp:TableCell Width="55%" Height="25%" HorizontalAlign="Left">
<asp:Label ID="lblSearchMsg" runat="server" Text="(1) records found" Style="font-family: Verdana;
color: Black; font-style: normal; font-size: 9pt; font-weight: lighter;"></asp:Label>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</CommandItemTemplate>
<Columns>
<telerik:GridBoundColumn SortExpression="id" Display="false" DataField="id" UniqueName="id">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Name" HeaderButtonType="TextButton" DataField="title"
UniqueName="companyName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Date" HeaderButtonType="TextButton" DataField="commentDate"
UniqueName="commentDate">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="DeleteComment" ImageUrl="Images/delete_msg.png">
</telerik:GridButtonColumn>
</Columns>
<NestedViewSettings>
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="id" MasterKeyField="id" />
</ParentTableRelation>
</NestedViewSettings>
<NestedViewTemplate>
<asp:Panel ID="pnlNotices" runat="server" ScrollBars="Auto">
<fieldset style="padding: 10px;">
<asp:Table ID="tblMsg" runat="server">
<asp:TableRow Width="999px" Height="30px">
<asp:TableCell ID="tdcn" Text='<%#Bind("comment")%>'>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</fieldset>
</asp:Panel>
</NestedViewTemplate>
</MasterTableView>
</telerik:RadGrid>
EnableCustomAttributeEditing="true"
CustomAttributeNames="Color
protected void rdsSchedule_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
if((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
{
ddlColor.SelectedValue = e.Appointment.Attributes[
"Color"];
}
}
but it is empty in the update, my database receives an empty string for Color
protected void rdsSchedule_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
{
this.SqlProcessor.AddParameter("ID", e.Appointment.ID);
this.SqlProcessor.AddParameter("Users_ID", this.CurrentUserId);
this.SqlProcessor.AddParameter("Subject", e.ModifiedAppointment.Subject);
this.SqlProcessor.AddParameter("Description", e.ModifiedAppointment.Description);
this.SqlProcessor.AddParameter("Color", e.ModifiedAppointment.Attributes["Color"]);
this.SqlProcessor.AddParameter("DateStart", xStart.ToString("yyyy-MM-dd HH:mm"));
this.SqlProcessor.AddParameter("DateEnd", xEnd.ToString("yyyy-MM-dd HH:mm"));
this.SqlProcessor.Execute("stpUsersSchedule", CommandType.StoredProcedure);
}
Am I missing something