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
Hi,
We are using Rad Update control with Rad progress for uploading documents in one of the UIs of our website. This functionality works fine with IE 5.5 version and above but the files are not uploaded in Chrome and MS Edge browser. Browsed through this page http://docs.telerik.com/devtools/aspnet-ajax/controls/upload/overview and got know the Chrome is not listed in the supported browser list. However, MS Edge is a new release and I am curios to know if these controls are supported in edge or not?
Right now, the functionality is not working and it will be great if we get some pointers related to work-around for this kind of a challenge faced in MS edge browser and alternatives that can be used to make the page that is using Telerik upload control compatible with both IE and MS Edge.
Thanks in advance,
Kishan