Hi
I'm adding custom special day using OnDayRender. this event is not working when i change or navigate to any other month.
here is my code
ASPX:
<telerik:RadDatePicker Calendar-DayNameFormat="Shortest" Calendar-ShowOtherMonthsDays="false" DateInput-ReadOnly="true" DatePopupButton-ImageUrl="/images/calander_icon.gif" DatePopupButton-HoverImageUrl="/images/calander_icon.gif" ID="rdpDeliveryDate" OnLoad="rdpDeliveryDate_Load" runat="server" > <Calendar ID="Calendar1" runat="server" ShowRowHeaders="false" OnDayRender="dayRender" ShowFastNavigationButtons="false" FirstDayOfWeek="Sunday"></Calendar> </telerik:RadDatePicker>CS:
protected void rdpDeliveryDate_Load(object sender, EventArgs e) { (sender as RadDatePicker).MinDate = CommonLogic.CurrentGccTime().Date; }
protected void dayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e) {if (e.Day.Date.DayOfWeek == DayOfWeek.Wednesday|| e.Day.Date.DayOfWeek == DayOfWeek.Sunday) { // clear the default cell content (anchor tag) as we need to disable the hover effect for this cell e.Cell.Text = ""; e.Cell.CssClass = "rcOutOfRange"; //set new CssClass for the disabled calendar day cells (e.g. look like other month days here) // render a span element with the processed calendar day number instead of the removed anchor -- necessary for the calendar skinning mechanism Label label = new Label(); label.Text = e.Day.Date.Day.ToString(); e.Cell.Controls.Add(label); e.Cell.ToolTip = "Day Off"; RadCalendarDay dayoff = new RadCalendarDay(); dayoff.Date = e.Day.Date; dayoff.IsSelectable = false; dayoff.IsDisabled = true; dayoff.ItemStyle.CssClass = "rcOutOfRange"; cln.SpecialDays.Add(dayoff); }}I'm using Version 2015.2.826.45,
Visual studio 2012.
Please help me
Appreciate for Quick and best Response
Yasin
Hi, every body,
Today I try to export pdf from one RadEditor ... but the function throw an nullReferenceException.
Here is my code :
RadEditor radEditor = new RadEditor();radEditor.Content = "<div>Hello</div>";radEditor.ExportSettings.FileName = "TextFile.pdf";radEditor.ExportSettings.OpenInNewWindow = true;radEditor.ExportToPdf();Did I miss something ?
Thanks,
Corentin

The page still does full postback not partial post back on the project details panel, when I select drop drown list. How should I fix it?
CODE # 1
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ddlSelectProject">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="divProjectInfo" LoadingPanelID="PanelProjects" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
CODE # 2​
<table style="height: 350px;">
<tr><telerik:RadAjaxLoadingPanel ID="PanelProjects" runat="server">
<td id="tdProjectDetails" >
<table>
<tbody>
<tr>
<td class="rightCell">
<span id="lblOwner" runat="server">--</span>
</td>
</tr>
</tbody>
</table>
</td>
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxLoadingPanel ID="PanelFile" runat="server">
<td>
<telerik:RadAsyncUpload ID="RadAsyncFileUpload" runat="server" MaxFileSize="2097152" AllowedFileExtensions="xls,xlsx,csv" Localization-Select="Upload" MaxFileInputsCount="1"></telerik:RadAsyncUpload>
<asp:Button ID="btnsubmitupload" runat="server" Visible="false" />
</td>​
</telerik:RadAjaxLoadingPanel>​
</tr>
</table>

Hi
I have a radgrid that uses a WebUserControl in the EditForm mode. When you edit a line the Webusercontrol is shown in the grid but the item row is also show. Is it possible to hide this line?
See in attachment an example of the radgrid, the block surrounded with the blue line (I'm not a drawing artist as you can see :-) ) is the block that should be hidden.
Kind regards
Suzy
Dear masters,
I have something problem with my telerik popup button,
when I click in Hardware button I can see form view in popup,
but when I click in Software button it just 500 error,
I've try to resolve it, but nothing changes.
Please help me with this error.
Thank you.
<asp:Panel ID="TimerPanel" runat="server"> <asp:Timer ID="RefreshTimer" runat="server" Interval="1000" OnTick="RefreshTimer_Tick" Enabled="true" EnableViewState="False" ViewStateMode="Disabled"> </asp:Timer> </asp:Panel><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="UpdaterLoadingPanel"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="TimerPanel"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="PreviewDiv" LoadingPanelID="UpdaterLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>Hi,
We allow users to see availability and book appointments online. However, there are some weeks (and towards the end of the week like Friday/Sat) where there is no availability left. Users see all grayed out timeslots and get confused.
So in these cases, we would like to take the users to the next week or better, the first week that has an available appointment. How can we do that?
- one implementation that comes to mind is to check for empty time slots in the date range and programmatically take the user to the week that has at least one empty time slot (timeslot that does not have an appointment). Can we do this? How?
The second question I have is around error messages. Right now, if the users cannot book an appointment due to some business reason, we handle it on the server side events. But there all we can do is e.cancel. How do we bubble up these error messages to the client side to show them to the user in their browser?
