Hello!
I am using a trial version of their software and I'm working with the component RadScheduler and I have the following problem.
When I add an appointment, I need to "start time" and "end time" appear in 24 hour format. Is this possible?
Dim txtActTickID As Telerik.Web.UI.RadTextBox = DirectCast(e.Container.FindControl("AttrAction Ticket"), Telerik.Web.UI.RadTextBox) txtActTickID.ReadOnly = True txtActTickID.BackColor = Drawing.Color.LightGray txtActTickID.ShowButton = True txtActTickID.ClientEvents.OnButtonClick = "ShowAT(" & txtActTickID.Text & ")" Dim objHL As New HyperLink objHL.NavigateUrl = "TestForm.aspx" objHL.Text = "Show Test Form" e.Container.Controls.Add(objHL)
<td runat="server" style="padding-bottom:15px; width:40px;">
<asp:Panel ID="pnlHolder" runat="server" Visible="true" ></asp:Panel>
<telerik:RadAjaxLoadingPanel id="LoadingPanel1" runat="server" Width="30px"
Height="30px" IsSticky="false" >
<asp:Image id="Image2" runat="server" ImageUrl="~/Image/ajax-loader.gif" />
</telerik:RadAjaxLoadingPanel>
</td>
<
script type="text/javascript" language="javascript">
var currentLoadingPanel = null;
var currentUpdatedControl = null;
function AjaxRequestStart() {
if (document.getElementById("<%= hdnAvailabilityChecker.ClientID %>").value == 1) {
return;
}
if (document.getElementById("<%= TextBox7.ClientID %>").value == "") {
return;
}
document.getElementById(
"<%= TextBox7.ClientID %>").value = document.getElementById("<%= TextBox7.ClientID %>").value.toUpperCase();
currentLoadingPanel = $find(
"<%= LoadingPanel1.ClientID %>");
currentUpdatedControl =
"<%=pnlHolder.ClientID %>";
currentLoadingPanel.show(currentUpdatedControl);
var t = setTimeout("AjaxResponseEnd()", 2000);
}
function AjaxResponseEnd() {
if (currentLoadingPanel != null) {
currentLoadingPanel.hide(currentUpdatedControl);
document.getElementById(
"<%= hdnAvailabilityChecker.ClientID %>").value = 1;
}
}
<telerik:GridCheckBoxColumn DataField="SiHy" HeaderText="SiHy" SortExpression="SiHy" UniqueName="SiHy" AllowFiltering="false"/>Hello,
I am adding exception to Recurrence rule.
I followed this link Recurrence Rule Excpetion
1.RecurrenceRule RecurrenceRuleEvent = RecurrenceRule.TryParse(strRecurrenceRule); 2.RecurrenceRuleEvent.Exceptions.Add((Convert.ToDateTime("8/25/2009 10:00 AM").ToUniversalTime()));I want to add Exception to "8/25/2009 10:00 AM"
But this line adding exception to "8/25/2009 04:30 AM"
I have attached Screen shot that Whats the basic problem.
The Recurrence Rule after Adding Exception.
DTSTART:20100825T090000Z
DTEND:20100825T093000Z
RRULE:FREQ=HOURLY;INTERVAL=1
EXDATE:20100825T090000Z,20100825T043000Z,20090825T043000Z
Thank you!
I've been able to track down my problem to a very specific scenario, one to which I hope there is an easy solution. I have a page with a single update panel (had to use the ASP.NET one due to conditional updating) which contains a "Show ToolTip" link only and a single ToolTip with an update panel and a close button. That simple. When I click on the link "Show ToolTip" the tooltip pops up just fine. When I click on the "Close ToolTip" button inside the tooltip it closes just fine. The close button fires a JavaScript method to close the tooltip and then updates the update panel contents. When I click on the "Show ToolTip" link again (A SECOND TIME), the screen goes modal (like it will load the tooltip) but shows no tooltip. I believe it is a problem with the target control id because if I set the target control id to blank and center the tooltip it comes up. This is not the behavior we want to exhibit in our application, though. Lastly, the target control must be variable because we have this tooltip popping up in a repeater.
The page code:
<form id="form1" runat="server"> <asp:scriptmanager runat="server"></asp:scriptmanager> <telerik:RadToolTip ID="EditActivityModalToolTip" ClientIDMode="Static" Modal="true" runat="server" IsClientID="true" Skin="Telerik" ShowEvent="FromCode" HideEvent="FromCode" EnableViewState="True" EnableShadow="true" Position="MiddleRight" OnClientBeforeHide="EditActivityTooltipOnClientBeforeHide"> <asp:UpdatePanel ID="ToolTipUpdatePanel" runat="server"> <ContentTemplate> <asp:Button ID="CloseButton" OnClick="CloseButton_CloseClicked" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </telerik:RadToolTip> <div> <asp:UpdatePanel ID="MainUpdatePanel" runat="server" UpdateMode="Conditional"> <ContentTemplate> <a id="SampleLink" onclick="javascript:ShowEditActivityToolTip('SampleLink', 'EditActivityModalToolTip')";>Show ToolTip</a> </ContentTemplate> </asp:UpdatePanel> </div> </form><script type="text/javascript"> var toHideEditActivityToolTip; function EditActivityTooltipOnClientBeforeHide(sender, args) { if (!toHideEditActivityToolTip) args.set_cancel(true); } function HideEditActivityToolTip(toolTipClientId) { toHideEditActivityToolTip = true; var radToolTip = $find(toolTipClientId); radToolTip.hide(); } function ShowEditActivityToolTip(sender, toolTipClientId) { toHideEditActivityToolTip = false; var radToolTip = $find(toolTipClientId); radToolTip.set_targetControlID(sender); radToolTip.show(); } function OnClientBeforeShow(sender, args) { sender._popupBehavior.set_keepInScreenBounds(false); } </script>protected void CloseButton_CloseClicked(object sender, EventArgs e) { ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "HideFilterToolTip", "HideEditActivityToolTip('" + EditActivityModalToolTip.ClientID + "');", true); MainUpdatePanel.Update(); }