Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
237 views

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

Duarte
Top achievements
Rank 1
 asked on 22 Feb 2016
9 answers
381 views
Hi,
Is there a way to show the selected Item's image in the RadComboBox or RadDropDownList? I have items that are only images with no text. When the item is selected nothing shows in the combo box. Is there a way to display the selected item's image?

Thanks

Charles
Ivan Danchev
Telerik team
 answered on 22 Feb 2016
6 answers
240 views
When i set AllowRowSelect as True within the ClientSettings i am not able to select the content of the rows anymore.
For instance, if i want to select the title and description text i am unable. Is it possible to keep the client-side selection as is but still being able to select the content in sense of COPY operation?

Thanks
Viktor Tachev
Telerik team
 answered on 22 Feb 2016
1 answer
246 views

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

Ianko
Telerik team
 answered on 22 Feb 2016
5 answers
237 views

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" />

 

Silviu
Top achievements
Rank 1
 answered on 22 Feb 2016
2 answers
131 views

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>

Rodney
Top achievements
Rank 2
 answered on 22 Feb 2016
2 answers
70 views
Setting the DisplayNavigationButtons property to false in the Wizard declaration doesn't appear to work. Setting it server-side does. I am using version 2016.1.113.40
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 22 Feb 2016
1 answer
63 views

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

Viktor Tachev
Telerik team
 answered on 22 Feb 2016
1 answer
174 views

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

Nencho
Telerik team
 answered on 22 Feb 2016
5 answers
289 views

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

 

Nencho
Telerik team
 answered on 22 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?