When I add a RadEditor to the page through an ajax call(get) it appears on the page but doesn't work properly.
01.$.ajax({02. type: "GET",03. url: "/Showmodule.aspx",04. data: { Mid: "MyList", path: "" },05. cache: false,06. success: function (data) {07. CheckLoginStatus(data);08. $('.contentModule').empty().append(data);09. }10. 11. });
For example I can't resize it or it event can't get focus to edit anything.
Do you have any suggestions on the problem?
thanks in advance.
Please advise
Im using RadEditor, dll 2015
and have this error:
Uncaught TypeError: Cannot read property 'modeButtonsContainer' of undefined
at c.RadEditor._getModeButtonsWrapper (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:10119)
at c.RadEditor._registerModeChangeHandler (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:10120)
at c.RadEditor.dispose (ScriptResource.axd?d=ShRx8_PXUOW4gcbA-duY_wSu-krGlei5V9yCuOgtGKkhhj6Qmd-uOC6sRguCClwxaq6LO_oBjeAwhubMobfjSUX9q3nKWK-LrE6jkT4grWxE9Pkib7kVNn-kIYXLCZmRWsuyxaey4VjRz4HuIRle2Q2&t=112cd203:9738)
at _Application$disposeElement [as disposeElement] (ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:5811)
at PageRequestManager$_updatePanel [as _updatePanel] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:1954)
at PageRequestManager$_scriptIncludesLoadComplete [as _scriptIncludesLoadComplete] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:1804)
at PageRequestManager.<anonymous> (ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:609)
at ScriptResource.axd?d=0YuojD0FDpUdgDXZvn1N6gcGC2PQ8tSGF9aboCWtmieJ31tieolspZt9wT87smXT_u9A1NEYYP4EFhgl3KUDoWxqAr-DmgkPctQ2_pUbyDQvq96ZlLneZoFLJlkllX7zQbX9OwC10DtbpMbnB56Tgg2&t=34a51159:628
at _ScriptLoader$_loadScriptsInternal [as _loadScriptsInternal] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:460)
at _ScriptLoader$_nextSession [as _nextSession] (ScriptResource.axd?d=hrWHA2tSpnXBeZZDGEQqFjQ5p49yq-Lztmpu_tTTeE8XdMjirE57bXi_YYaOFqP1qAbyl6wdKjSwjdFciTgI9wX2eY2o2tUwatucz0yxZ56w9X5XZyFz_mhS4r-OsfEaGGZ73AojDpPrHVBeZdAsEA2&t=34a51159:476)
Regards

I have a requirement where I have to dynamically create the columns based on the number of people taking a test over a given period of time. There will be 2 column per employee (a "score" column and a "possible points" column). So what I would like to do is to put the person's name in the heading spanning these two columns. I have done this many times but never with auto generated columns. Here is a real stripped down version of what I am trying to do as well as the error I am receiving...
<telerik:RadGrid runat="server" ID="grid" AutoGenerateColumns="true" GroupingEnabled="true" OnDataBound="grid_DataBound" OnNeedDataSource="grid_NeedDataSource" />
using System;using System.Data;using Telerik.Web.UI;public partial class Mike : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void grid_DataBound(object sender, EventArgs e) { if (grid.MasterTableView != null && grid.MasterTableView.ColumnGroups.Count > 0) { foreach (GridColumn column in grid.MasterTableView.AutoGeneratedColumns) { if (column.UniqueName.Contains("ZoeBarnes")) { column.ColumnGroupName = "ZoeBarnes"; } if (column.UniqueName.Contains("FrancisUnderwood")) { column.ColumnGroupName = "FrancisUnderwood"; } if (column.UniqueName.Contains("RachelPosner")) { column.ColumnGroupName = "RachelPosner"; } } } } protected void grid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { GridColumnGroup gcg1 = new GridColumnGroup(); gcg1.HeaderText = "Zoe Barnes"; gcg1.Name = "ZoeBarnes"; grid.MasterTableView.ColumnGroups.Add(gcg1); GridColumnGroup gcg2 = new GridColumnGroup(); gcg2.HeaderText = "Rachel Posner"; gcg2.Name = "RachelPosner"; grid.MasterTableView.ColumnGroups.Add(gcg2); GridColumnGroup gcg3 = new GridColumnGroup(); gcg3.HeaderText = "Francis Underwood"; gcg3.Name = "FrancisUnderwood"; grid.MasterTableView.ColumnGroups.Add(gcg3); DataTable table = new DataTable(); table.Columns.Add("ScoreZoeBarnes", typeof(int)); table.Columns.Add("PossibleZoeBarnes", typeof(int)); table.Columns.Add("ScoreRachelPosner", typeof(int)); table.Columns.Add("PossibleRachelPosner", typeof(int)); table.Columns.Add("ScoreFrancisUnderwood", typeof(int)); table.Columns.Add("PossibleFrancisUnderwood", typeof(int)); table.Rows.Add(10, 15, 14, 15, 12, 15); grid.DataSource = table; }}
This should simply output one row of data with the person's name spanning the two columns relating to them. However I am getting the following error:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: index] System.Web.UI.ControlCollection.get_Item(Int32 index) +9807837 System.Web.UI.WebControls.TableCellCollection.get_Item(Int32 index) +29 Telerik.Web.UI.GridHeaderItem.AdjustColSpan() +131 Telerik.Web.UI.RadGrid.ControlPreRender() +1084 Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +44 System.Web.UI.Control.PreRenderRecursiveInternal() +88 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Control.PreRenderRecursiveInternal() +160 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +985
Any idea why?

Hi,
I have a Radgrid with a ColName that consist of value of A to G, that represent the value to be displayed in the corresponding column (Column A, Column B, etc) with the value of ID. Kindly refer to the attached image.
Below is the logic, but I'm not familiar with the correct syntax, can anyone please correct my syntax such as how to retrieve and set the value from the column.
Thank you.
Best regards,
George
Hello,
I am having trouble centering a RadGrids header when exporting to PDF. If you take a look at the attached file, my table in the header is not aligned. Are you able to adjust the margin within the header?
Here are my export settings for the pdf
EadradGrid.ExportSettings.Pdf.PageWidth = Unit.Parse("210mm");EadradGrid.ExportSettings.Pdf.PageHeader.LeftCell.Text = " ";EadradGrid.ExportSettings.Pdf.PageHeader.MiddleCell.Text = headerLeftCell;EadradGrid.ExportSettings.Pdf.PageHeader.RightCell.Text = " ";EadradGrid.ExportSettings.Pdf.PageRightMargin = Unit.Parse("20mm");EadradGrid.ExportSettings.Pdf.PageLeftMargin = Unit.Parse("20mm");
It seems that the PageRightMargin and PageLeftMargin only affect the body of the PDF and not the Header.

I have an editor with multiple custom dialogs with different sizes. The issue i have found is when I first open one dialog with size X the browser remember the size when I open another custom dialog with size Y.
Works like expected in other browsers and versions of IE (11/Edge)
Any clue or hotfix?
Using version: 2017.3.913
i wont show all 24 hrs on (show24hrs button click) but its show me the business hrs like 8AM to 6PM
please refer the screenshot one ping.
here is my aspx code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScheduleAppointment.aspx.cs" Inherits="iCRA_UI.FieldTech.ScheduleAppointment" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="lib/qsf.js"></script>
<link href="lib/qsf.css" rel="stylesheet" />
<script src="poupup.js"></script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
<div class="demo-container no-bg">
<telerik:RadScheduler RenderMode="Lightweight" runat="server" ID="RadScheduler1" GroupBy="Speaker" CustomAttributeNames="Completed" GroupingDirection="Horizontal"
OnNavigationCommand="RadScheduler1_NavigationCommand"
AppointmentStyleMode="Default" DataSourceID="EventsDataSource" DataKeyField="ID"
FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" DataSubjectField="Description" RowHeight="40px" EnableTimeZonesEditing="true"
DataStartField="StartTime" DataEndField="EndTime" DataRecurrenceField="RecurrenceRule"
SelectedView="DayView" DataRecurrenceParentKeyField="RecurrenceParentID" AllowInsert="true" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnResourceHeaderCreated="RadScheduler1_ResourceHeaderCreated"
OverflowBehavior="Auto">
<AdvancedForm Modal="true"></AdvancedForm>
<MonthView UserSelectable="true"></MonthView>
<TimelineView />
<ResourceHeaderTemplate>
<asp:Panel ID="ResourceImageWrapper" runat="server" CssClass="ResCustomClass">
<asp:Image ID="SpeakerImage" runat="server" AlternateText='<%= Eval("Text") %>'></asp:Image>
</asp:Panel>
</ResourceHeaderTemplate>
<ResourceTypes>
<telerik:ResourceType KeyField="UserID" Name="Speaker" TextField="Fullname" ForeignKeyField="UserID"
DataSourceID="SpeakersDataSource1"></telerik:ResourceType>
</ResourceTypes>
<ResourceStyles>
<telerik:ResourceStyleMapping Type="Speaker" Key="1" BackColor="#eb901b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="2" BackColor="#8fd21b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="3" BackColor="#278ce9"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="4" BackColor="#f14db2"></telerik:ResourceStyleMapping>
</ResourceStyles>
<TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
<AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
</telerik:RadScheduler>
</div>
</telerik:RadAjaxPanel>
<asp:SqlDataSource ID="SpeakersDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:SQL %>" SelectCommand="SELECT * FROM [user_view]"
>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SpeakersDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:myConnectionString %>" SelectCommand="SELECT * FROM [sp_view]"></asp:SqlDataSource>
<asp:SqlDataSource ID="EventsDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:myConnectionString %>"
SelectCommand="SELECT * FROM [sp_view]" InsertCommand="INSERT INTO [sp_view] ([Description], [StartTime], [EndTime], [SpeakerID]) VALUES (@Description, @Start, @End, @SpeakerID)"
UpdateCommand="UPDATE [sp_view] SET [Description] = @Description, [Start] = @Start, [End] = @End, [RoomID] = @RoomID, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [UserID] = @SpeakerID WHERE [UserID] = @ID"
DeleteCommand="DELETE FROM [sp_view] WHERE [UserID] = @ID">
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
</InsertParameters>
</asp:SqlDataSource>
<div style="display:none">
<asp:Button ID="Button1" OnClick="Button1_Click" runat="server" Text="Button" />
</div>
</form>
</body>
</html>
please do hte need full
Regards
Aakash Lokhande

Run javascript from code behind
I know that there are a lot of question like this. I tried a lot them, but still cant make it working.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScheduleAppointment.aspx.cs" Inherits="iCRA_UI.FieldTech.ScheduleAppointment" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="lib/qsf.js"></script>
<link href="lib/qsf.css" rel="stylesheet" />
<script src="poupup.js"></script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadScheduler1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
<div class="demo-container no-bg">
<telerik:RadScheduler RenderMode="Lightweight" runat="server" ID="RadScheduler1" GroupBy="Speaker" CustomAttributeNames="Completed" GroupingDirection="Horizontal"
OnNavigationCommand="RadScheduler1_NavigationCommand"
AppointmentStyleMode="Default" DataSourceID="EventsDataSource" DataKeyField="ID"
FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" DataSubjectField="Description" RowHeight="40px" EnableTimeZonesEditing="true"
DataStartField="StartTime" DataEndField="EndTime" DataRecurrenceField="RecurrenceRule"
SelectedView="DayView" DataRecurrenceParentKeyField="RecurrenceParentID" AllowInsert="true" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnResourceHeaderCreated="RadScheduler1_ResourceHeaderCreated"
OverflowBehavior="Auto">
<AdvancedForm Modal="true"></AdvancedForm>
<MonthView UserSelectable="true"></MonthView>
<TimelineView />
<ResourceHeaderTemplate>
<asp:Panel ID="ResourceImageWrapper" runat="server" CssClass="ResCustomClass">
<asp:Image ID="SpeakerImage" runat="server" AlternateText='<%= Eval("Text") %>'></asp:Image>
</asp:Panel>
</ResourceHeaderTemplate>
<ResourceTypes>
<telerik:ResourceType KeyField="UserID" Name="Speaker" TextField="Fullname" ForeignKeyField="UserID"
DataSourceID="SpeakersDataSource1"></telerik:ResourceType>
</ResourceTypes>
<ResourceStyles>
<telerik:ResourceStyleMapping Type="Speaker" Key="1" BackColor="#eb901b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="2" BackColor="#8fd21b"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="3" BackColor="#278ce9"></telerik:ResourceStyleMapping>
<telerik:ResourceStyleMapping Type="Speaker" Key="4" BackColor="#f14db2"></telerik:ResourceStyleMapping>
</ResourceStyles>
<TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
<AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
</telerik:RadScheduler>
</div>
</telerik:RadAjaxPanel>
<asp:SqlDataSource ID="SpeakersDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:SQL %>" SelectCommand="SELECT * FROM [user_view]"
>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SpeakersDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:myConnectionString %>" SelectCommand="SELECT * FROM [sp_view]"></asp:SqlDataSource>
<asp:SqlDataSource ID="EventsDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:myConnectionString %>"
SelectCommand="SELECT * FROM [sp_view]" InsertCommand="INSERT INTO [sp_view] ([Description], [StartTime], [EndTime], [SpeakerID]) VALUES (@Description, @Start, @End, @SpeakerID)"
UpdateCommand="UPDATE [sp_view] SET [Description] = @Description, [Start] = @Start, [End] = @End, [RoomID] = @RoomID, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [UserID] = @SpeakerID WHERE [UserID] = @ID"
DeleteCommand="DELETE FROM [sp_view] WHERE [UserID] = @ID">
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Description" Type="String"></asp:Parameter>
<asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
<asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
<asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
<asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
<asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
</InsertParameters>
</asp:SqlDataSource>
<div >
<asp:Button ID="Button1" OnClick="Button1_Click" runat="server" Text="Button" />
</div>
</form>
</body>
</html>
code behind cs.code
protected void RadScheduler1_AppointmentInsert(object sender, AppointmentInsertEventArgs e)
{
ScriptManager.RegisterStartupScript(Page, this.GetType(), "testOne", "MyFunction();", true);
DateTime start = e.Appointment.Start;
DateTime end = e.Appointment.End;
string name = e.Appointment.Subject;
List<Telerik.Web.UI.Resource> s1s = e.Appointment.Resources.ToList();
foreach (Telerik.Web.UI.Resource ss in s1s)
{
string text = ss.Text;
resource = Convert.ToInt32(ss.Key);
}
if (e.Appointment.Subject == String.Empty)
{
e.Cancel = true;
}
else
{
string id = get.checkfroaddresid(Convert.ToInt32(addressid));
if (id == "0")
{
get.insert_appointment(start, end, name, resource, Convert.ToInt32(addressid));
Response.Redirect("~/FieldTech/ScheduleAppointment.aspx?addressid=" + addressid);
}
else
{
string radalertscript = "<script language='javascript'>function f(){radalert('date allreday use', 330, 210); Sys.Application.remove_load(f);}; Sys.Application.add_load(f);</script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "radalert", radalertscript);
}
}
}
Could someone explain me what am I doing wrong?
There are no errors. Just javascript code is not executed. I dont have alert() window on my screen.
On button click its show the popup but i wont show popup on RadScheduler1_AppointmentInsert() Resource Grouping Scheduler
i am also use the RadScriptBlock
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"><script>function MyFunction(){ alert('date');}</script></telerik:RadScriptBlock> but this also not working Please do the needfull ASAP
Regards
Aakash Lokhande

Hello All,
I have recently become involved with a project that was started in VS2015 with what i have to assume was the previous version of Telerik UI. When the project is loaded from my co-workers machine everything is fine. When I open the same project from our Team Foundation server using VS2017 and the current version of the Telerik UI I get the error message shown in the design tab.
I am very new to .net development and the Telerik UI software so if any additional information is needed please let me know.
Thank you in advance for any assistance.

I wanted to find out if RadInput's mask feature can address this scenario. We have the need to hide part of sensitive data after it is entered into a textbox field. Example: Imagine a user enter's their credit card number or country specific person Id (e.g. Social Security Number for the US) and you want to mask all but the last 4 characters after entry/loss of focus.
Is this a usage case for RadInput and how can this be accomplished if it is an out of the box, or almost out of the box feature?
