I built an application for a client last year based on the webforms scheduler control, which they were very happy with, except for its speed, which was quite honestly dreadful. I looked at all the suggestions I could find on this forum and in your documentation regarding improving performance and implemented anything applicable. However, it still takes upwards of 2 & 1/2 minutes to load the scheduler page with 128 appointments over 4 days. They will only hire the application again this year if I can speed it up very significantly.
My implementation included binding to a custom provider and using the advanced form. It also required a single resource type for rooms, and 2 multiple resource types of meeting leaders and meeting participants. Eventually, there were 4 rooms, approximately 30 meeting leaders and 4,000 meeting participants. Because it looked to me as if the provider was loading all 4,000 meeting participants as a resource for each appointment, I adapted it to load only those attached to existing appointments (reducing the number to approximately 128), replacing the resource combobox for that in the advanced form with a search box, so that new participants could be added. Even that didn't significantly improve the speed.
I read that binding to Web API might improve things, but when I tried implementing that, it appeared that I couldn't call the overridden GetAppointments method from my custom provider. Would it be feasible to override the WebServiceAppointmentController class in a similar way to creating a custom provider?
I doubt anyway that using client-side binding via Web API is going to improve its performance significantly. I got the impression from using the provider methods elsewhere in my application, even when not directly attached to the scheduler control, that it was that slowing things down. Is it possible that re-writing in MVC and using the MVC scheduler might solve the problem, or does that draw on the same provider? At present, barring that, all I can think to do is search for a more efficient scheduler control from a third-party vendor other than Telerik or start something from scratch myself.
Hi,
I'm using RadGrid and when I select (one click) one row I got javascript error on line :
"var l=e.attributes;"
The page to replicate the error: http://glidetours.pt/holiday/cart?ActivityID=12209 (cliking on any radiobutton we got same error)
Any one have any clue on how to fix this?
http://glidetours.pt/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%3apt%3a9cb54c82-d9c2-4ef3-990f-a9faf24bfb22%3ab162b7a1%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3apt%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a2003d0b8%3ac128760b%3a88144a7a%3a1e771326%3ac8618e41%3a1a73651d%3a333f8d94%3a92fe8ea0%3afa31b949%3a4877f69a%3af46195d3%3a874f8ea2%3a19620875%3a490a9d4e%3a8e6f0d33%3bTelerik.Sitefinity%2c+Version%3d8.0.5710.0%2c+Culture%3dneutral%2c+PublicKeyToken%3db28c218413bdf563%3apt%3ab704084c-1ab9-477c-a22d-f0245b6604c6%3ab09fa3ae%3bTelerik.Sitefinity.Resources%3apt%3a9cb54c82-d9c2-4ef3-990f-a9faf24bfb22%3a845dc525%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3apt%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a6a6d718d%3a58366029%3a6d43f6d9%3abd8f85e4%3ac172ae1e%3a9cdfc6e7%3ae4f8f289
I have the following rich text string set in a microsoft rich text box in a winforms app ... simple bulleted list of 2 lines.
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}{\f1\fnil\fcharset0 Verdana;}{\f2\fnil\fcharset2 Symbol;}}
\viewkind4\uc1\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\ltrpar\sl240\slmult1\f0\fs18 bullet item 1\f1\fs20
\par \f0\fs18{\pntext\f2\'B7\tab}bullet item 2\f1\fs20
\par }
I run that through this formatting process:
//convert from RTF to HTML
RtfFormatProvider rtfProvider =
new
RtfFormatProvider();
HtmlFormatProvider htmlProvider =
new
HtmlFormatProvider();
RadFlowDocument document = rtfProvider.Import(richText);
RadEditorRichTextLabNote.Content = htmlProvider.Export(document);
I end up with the two lines of text but the bulleted part is gone.
Going from HTML back to RTF also loses the bulleted list.
See the screenshots below of how the winforms application shows the rich text vs the asp.net radeditor.
Please advise. Thanks
Sean
I am trying to get some validation done. When a user selects the wrong file type I can see the red dot beside the file but when I click submit the postback happens anyway regardless if the file is an Xlsx or not.
I would like to display an error message without postback as the asp.net built in validation can do.
See below for test code:
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" AllowedFileExtensions="Xlsx" MultipleFileSelection="Disabled" ValidateRequestMode="Enabled" ValidationGroup="TEST" MaxFileInputsCount="1">
</telerik:RadAsyncUpload>
<telerik:RadButton ID="RadButton1" runat="server" Text="Submit" ValidationGroup="TEST" OnClick="RadButton1_Click"></telerik:RadButton>
<asp:ValidationSummary runat="server" DisplayMode="BulletList" ShowSummary="true" ShowValidationErrors="true" ShowMessageBox="true" ValidationGroup="TEST" />
Hi,
I'm using RadConfirm and initiating it from a C# method. The confirm window pops up just fine, but in my JavaScript is always returning false. Here is an example of what I have:
C#
protected
void
txtUserName_DupValidator_ServerValidate(
object
source, ServerValidateEventArgs args)
{
if
(hfUserName.Value != txtUserName.TextWithPromptAndLiterals)
{
if
(!(Controller).IsUsernameUnique(txtUserName.TextWithPromptAndLiterals))
{
args.IsValid =
false
;
rwmDialogs.RadConfirm(
"This is an existing user, do you want to edit the existing user or cancel?"
,
"confirmCallBackFn"
, 300, 250,
null
,
"Verify User"
);
}
}
}
JavaScript
function
confirmCallBackFn(arg) {
//radalert("<strong>radconfirm</strong> returned the following result: <h3 style='color: #ff0000;'>" + arg + "</h3>", 350, 250, "Result");
if
(arg =
"false"
) {
newWindow = openAdminPage(
"../../../Users"
);
return
false
;
}
else
{
PageMethods.DisplayUser(document.getElementById(
"<%=txtUserName%>"
.value))
}
}
Markup
<
telerik:RadWindowManager
ID
=
"rwmDialogs"
runat
=
"server"
RenderMode
=
"Lightweight"
EnableShadow
=
"true"
></
telerik:RadWindowManager
>
It can be reproduced by creating some columns, then clear and then add less columns that the initial numbers of columns.
Then the control throws an exception in SaveViewState saying the index is out of range.
Regards
Ole Oscar Johnsen
Hi,
I am using RadComboBox with checkbox as in http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx
Is there a way to change the separator comma (,) to dash (-).
Regards,
Lars