Hello
I'm having a problem displaying an image in my subject. I have followed the tutorial regarding exporting appointments to ICalendar and this function work properly. However, the export image is not visible in appointments that are displayed on a single line. If the appointment spans several hours in week or day view, for instance, then the image is visible. But if the appointment is only 30min in day or week view and for all appointments in Month view, I do not see the image. I do not allow deletes in the calendar and I would like for the export image to appear in the top right corner of all appointments where the 'x' would normally be.
I have pasted relevant code from my page below...Thanks again for any suggestions
Brian
<
style type="text/css">
<!
-- Sets the height of apps in day view -->
.RadScheduler .rsContent .rsHoursTable th
{
font-size: 9px;
line-height: 15px;
height: 15px;
}
.RadScheduler .rsDayView td.rsCell
{
font-size: 9px;
line-height: 15px;
height: 15px;
}
<!
-- Sets the height of apps in Month view -->
.RadScheduler .rsMonthView div.rsWrap
{
height: 15px;
}
<!
-- Sets the height of apps in Week view -->
.RadScheduler .rsWeekView div.rsWrap
{
//
height: 15px;
}
.RadScheduler .rsWeekView td.rsCell
{
font-size: 9px;
line-height: 15px;
height: 15px;
}
<!
-- Sets background colour of current day -->
.RadScheduler_Default .rsRow .rsCell.rsTodayCell
{
background: orange ;
}
</
style>
</
head>
<
body>
<form id="form1" runat="server">
<div>
<asp:TextBox Visible="false" runat="server" id="txtPermissions"></asp:TextBox>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:xxx %>"
SelectCommand="populteCalendarTelerik" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:ControlParameter ControlID="txtPermissions" DefaultValue="" Name="viewPermissions"
PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="cboResources" DefaultValue="0" Name="resourceID"
PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlDSourceResources" runat="server" ConnectionString="<%$ ConnectionStrings:ggCalConnSBDB5 %>"
SelectCommand="searchGetResourceList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
<br />
<telerik:RadComboBox ID="cboResources" runat="server" DataSourceID="sqlDSourceResources" DataTextField="Resource" DataValueField="resourceID" AutoPostBack="True" Width="282px">
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
<telerik:RadScheduler CustomAttributeNames="resourceLabelColour" ID="RadScheduler1" runat="server" OnClientAppointmentDoubleClick="AppointmentEditing" OnAppointmentCommand="RadScheduler1_AppointmentCommand" OnClientAppointmentEditing="AppointmentEditing" OnClientAppointmentInserting='"Appointment Inserting"' DataEndField="appEndTime" DataKeyField="appID" DataSourceID="SqlDataSource1" DataStartField="appStartTime" DataSubjectField="appSubject">
<AppointmentTemplate>
<%
#Eval("Subject")%>
<div style="text-align: right;">
<span style="cursor: pointer; cursor: hand;">
<asp:ImageButton ImageAlign="texttop" runat="server" ID="btnICalExport" ImageUrl="/images/export.png" AlternateText="Export to iCalendar"
CommandName="Export" OnClientClick="Export(this, event); return false;" />
</span>
</div>
</AppointmentTemplate>
<ResourceTypes>
<telerik:ResourceType DataSourceID="SqlDataSource1" ForeignKeyField="appID" KeyField="resourceID"
Name="ggResource" TextField="ResourceDisplay" />
</ResourceTypes>
</telerik:RadScheduler>
Hello!
There is a kind of problem.
I have the same two updatepanels with two radzones.
When I make any (ANY) ajax callback via any updatePanel, all the request params are passed to the server.
And every RadDock passes similar info:
'ctl00_ContentPlaceHolder1_1_RadDock_ClientState'
' "{\"Top\":0,\"Left\":0,\"DockZoneID\":\"ctl00_ContentPlaceHolder1_zoneSearch\",\"Collapsed\":false,\"Pinned\":false,\"Resizable\":false,\"Closed\":false,\"Width\":\"300px\",\"Height\":null,\"ExpandedHeight\":0,\"Index\":0}"
it's up to 250 symbols, so if I have 200 docks - it's more than 50000(!) symbols.
so for rapid ajax requests it's not so good and I don't need any of this info (managing positions "manually").
is there a possibility to reduce this exceed traffic (switch-off those parameters passing)?
I added
StoreLayoutInViewState
="false" and EnableViewState="false"
but nothing changed.
Thank you and the best regards!
Hi,
Would it be possible to graphically view the start and end time of the resources of an appointment? This would be especially helpful in the timeline view where we group by the resources that we are scheduling.
Thanks,
Wen
/* RadMenu Default skin */
.RadMenu_Custom
{
/*border: 1px solid #010101;*/
border-bottom-width: 0;
/*border-top-color: #383838;
background: #444 url(Menu/MenuBackground.gif) repeat-x top left;*/
text-align: left;
}
.RadMenu_Custom_rtl
{
text-align: right;
}
.RadMenu_Custom_Context
{
background: none;
border: 0;
}
.RadMenu_Custom a
{
text-decoration: none;
}
.RadMenu_Custom .rmLink
{
line-height: 24px;
text-decoration: none;
color: #fff;
}
.RadMenu_Custom .rmLink:focus,
.RadMenu_Custom .rmFocused
{
outline: 0;
}
.RadMenu_Custom .rmExpanded
{
z-index: 10000;
}
.RadMenu_Custom .rmLink:hover,
.RadMenu_Custom .rmFocused,
.RadMenu_Custom .rmExpanded
{
color: #333;
}
.RadMenu_Custom .rmLink .rmText
{
font: normal 12px Arial, sans-serif;
}
.RadMenu_Custom .rmHorizontal .rmExpandDown
{
background: transparent url(Menu/RootGroupArrowDown.gif) no-repeat right center;
}
.RadMenu_Custom .rmGroup
{
background: #fff;
}
.RadMenu_Custom .rmGroup .rmLink
{
text-decoration: none;
color: #333;
}
.RadMenu_Custom_rtl .rmGroup .rmLink
{
text-align: right;
}
.RadMenu_Custom .rmGroup .rmLink:hover,
.RadMenu_Custom .rmGroup .rmFocused,
.RadMenu_Custom .rmGroup .rmExpanded
{
color: #fff;
background: #444;
}
.RadMenu_Custom .rmText
{
padding: 3px 20px 5px 20px;
}
.RadMenu_Custom .rmGroup .rmLink .rmText
{
font-size: 11px;
}
/* <expand arrows styling> */
.RadMenu_Custom .rmGroup .rmLink .rmExpandRight
{
background: transparent url(Menu/ArrowExpand.gif) no-repeat right -3px;
}
.RadMenu_Custom .rmGroup .rmLink .rmExpandLeft
{
background: transparent url(Menu/ArrowExpandRTL.gif) no-repeat left -3px;
}
.RadMenu_Custom .rmGroup .rmLink:hover .rmExpandRight,
.RadMenu_Custom .rmGroup .rmFocused .rmExpandRight,
.RadMenu_Custom .rmGroup .rmExpanded .rmExpandRight
{
background-image: url(Menu/ArrowExpandHovered.gif);
}
.RadMenu_Custom .rmGroup .rmLink:hover .rmExpandLeft,
.RadMenu_Custom .rmGroup .rmFocused .rmExpandLeft,
.RadMenu_Custom .rmGroup .rmExpanded .rmExpandLeft
{
background-image: url(Menu/ArrowExpandHoveredRTL.gif);
}
/* </expand arrows styling> */
.RadMenu_Custom .rmHorizontal .rmItem
{
border-right: 1px solid #fff;
padding-right: 10px;}
.RadMenu_Custom .rmHorizontal .rmLast { border-right: 0; }
.RadMenu_Custom .rmVertical .rmItem { border-bottom: 1px solid #353535; }
.RadMenu_Custom .rmVertical .rmLast { border-bottom: 0; }
.RadMenu_Custom_rtl .rmHorizontal .rmItem { border-left: 0; }
.RadMenu_Custom .rmRootGroup .rmGroup .rmItem,
.RadMenu_Custom_Context .rmGroup .rmItem
{ border-right: 0; border-bottom: 0; }
.RadMenu_Custom .rmGroup
{
border: 1px solid #828282;
background-color: #fff;
}
.RadMenu_Custom .rmGroup .rmExpanded
{
z-index: 11;
}
.RadMenu_Custom .rmTopArrowDisabled,
.RadMenu_Custom .rmBottomArrowDisabled,
.RadMenu_Custom .rmLeftArrowDisabled,
.RadMenu_Custom .rmRightArrowDisabled
{
display: none;
}
.RadMenu_Custom .rmTopArrow,
.RadMenu_Custom .rmBottomArrow,
.RadMenu_Custom .rmLeftArrow,
.RadMenu_Custom .rmRightArrow
{
font-size: 0;
line-height: 0;
color: #fff;
}
.RadMenu_Custom .rmTopArrow,
.RadMenu_Custom .rmBottomArrow
{
height: 10px;
width: 100%;
background: #fff url(Menu/ArrowScrollUpDown.gif) no-repeat top center;
}
.RadMenu_Custom .rmBottomArrow
{
background-position: center -18px;
}
.RadMenu_Custom .rmLeftArrow,
.RadMenu_Custom .rmRightArrow
{
width: 10px;
height: 100%;
background: #fff url(Menu/ArrowScrollLeftRight.gif) no-repeat left center;
}
.RadMenu_Custom .rmRightArrow
{
background-position: -18px center;
}
.RadMenu_Custom .rmItem .rmDisabled .rmText
{
color: #999;
}
.RadMenu_Custom .rmRootGroup .rmItem .rmDisabled
{
background: none;
}
.RadMenu_Custom .rmGroup .rmItem .rmDisabled
{
background-color: #fff;
}
.RadMenu_Custom .rmRootGroup .rmSeparator,
.RadMenu_Custom .rmGroup .rmSeparator
{
background: #8f8f8f;
border-top: 1px solid #676767;
border-bottom: 0;
}
.RadMenu_Custom .rmSeparator .rmText
{
display: none;
}
.RadMenu_Custom .rmHorizontal .rmSeparator
{
height: 20px;
width: 1px;
line-height: 20px;
border: 0;
}
.RadMenu_Custom .rmVertical .rmSeparator
{
height: 1px;
margin: 3px 0;
border: 0;
line-height: 1px;
}
.RadMenu_Custom .rmLeftImage
{
margin: 2px;
}
.RadMenu_Custom .rmSlide
{
margin: -1px 0 0 -1px !important;
}
* html .RadMenu_Custom .rmVertical .rmSlide
{
margin-left: -2px !important;
}
* html .RadMenu_Custom .rmHorizontal .rmSlide
{
margin-top: -2px !important;
}
.RadMenu_Custom_rtl .rmSlide
{
margin: -1px 0 0 2px !important;
}
* html .RadMenu_Custom_rtl .rmVertical .rmSlide
{
margin-left: 3px !important;
}
* html .RadMenu_Custom_rtl .rmHorizontal .rmSlide
{
margin-top: -2px !important;
margin-left: 0 !important;
}
.RadMenu_Custom .rmItem .rmDisabled:hover
{
background: none;
}
| protected void AddressGrid_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode)) |
| { |
| GridEditableItem item = (GridEditableItem)e.Item; |
| RadDateTimePicker DoNotCallMinuteEnd = (RadDateTimePicker)item["DoNotCallMinuteEnd"].Controls[0]; |
| DoNotCallMinuteEnd.TimeView.Interval = new TimeSpan(00, 30, 00); |
| RadDateTimePicker DoNotCallMinuteBegin = (RadDateTimePicker)item["DoNotCallMinuteBegin"].Controls[0]; |
| DoNotCallMinuteBegin.TimeView.Interval = new TimeSpan(00, 30, 00); |
| } |
| } |
| <telerik:GridDateTimeColumn HeaderText="begin Time To Call" UniqueName="DoNotCallMinuteBegin" DataField="FormatedEndTime" |
| PickerType="TimePicker" DataType="System.TimeSpan" > |
| </telerik:GridDateTimeColumn> |
| <telerik:GridDateTimeColumn HeaderText="end Time To Call" UniqueName="DoNotCallMinuteEnd" DataField="FormatedEndTime" |
| PickerType="TimePicker" DataType="System.TimeSpan" > |
| </telerik:GridDateTimeColumn> |