Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views

Hi,

First the problem occurs in IE not in Firefox.

I have this string in html view: <a href="http://TEST?TestId=<%TEST_GUID%>">here</a>

In Firefox it looks like this:

HTML View: <a href="http://TEST?TestId=<%TEST_GUID%>">here</a>
Switch to design: here
Switch to HTML: <a href="http://TEST?TestId=<%TEST_GUID%>">here</a>

In IE 11

HTML View: <a href="http://TEST?TestId=<%TEST_GUID%>">here</a>
Switch to design: ">here
Switch to HTML: <a href="http://TEST?TestId=<%TEST_GUID% originalAttribute=" href"="" test?testid='<%TEST_GUID%"'>"&gt;here</a>

As you can see editing this in IE alway crashes the hyperlink.

Is there any way to fix this?

Marin Bratanov
Telerik team
 answered on 19 Sep 2016
2 answers
211 views

I use EditItemTemplate and RadNumericTextBox.

How set default value to 100 into the RadNumericTextBox if the user does not fill in the value?

 

<telerik:GridTemplateColumn UniqueName="sortid" SortExpression="sortid" HeaderText="Sortering" EditFormHeaderTextFormat="" HeaderStyle-Width="100px">
    <ItemTemplate>
        <asp:Label ID="lblSortid" Text='<%# Eval("sortid") %>' runat="server" />
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadNumericTextBox ID="tbSortid" Width="100px" MaxLength="3" Text='<%# Bind("sortid") %>' EmptyMessage="Sortering (100)" ToolTip="Sortering" runat="server">
            <NumberFormat DecimalDigits="0" GroupSeparator="" />
        </telerik:RadNumericTextBox>
        <asp:RequiredFieldValidator
            ID="rfvSortid"
            ControlToValidate="tbSortid"
            Display="Dynamic"
            ErrorMessage="Sortering (100)?"
            ForeColor="#FF0000"
            SetFocusOnError="true"
            runat="server" />
    </EditItemTemplate>
</telerik:GridTemplateColumn>

Viktor Tachev
Telerik team
 answered on 19 Sep 2016
5 answers
89 views

We wrote this web page using telerik controls and for some reason, it won’t work in IE 9.

The issue is a display issue. The google map won’t load and the entire box displays in half size (only in IE9) It works in every other browser including IE 7 and 8. We upgraded to the latest Telerik DLLs ( I believe). We are looking for a fix or direction on how to get this resolved in IE9.

Here is the page in question:
http://www.alarm.org/Search/MapSearch.aspx?ZipCode=75248

Thanks for your help!
Marin Bratanov
Telerik team
 answered on 19 Sep 2016
2 answers
74 views

Sometimes I got javascript error (I translated error message by myself from polish):

err_msg = Could not get property „getTextElement” for not defined or null reference (line 16762)
 
documentState = completed
 
url = .../Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:pl-PL:7dd8b7c5-dd18-48e6-97c2-5a5a060b2752:ea597d4b:b25378d2;Telerik.Web.UI:pl-PL:ead0d100-d31b-4d13-9451-88908208aae7:16e4e7cd:f7645509:22a6274a;||:4c5db2b2:de3312b1:eff1b1fc;Telerik.Web.UI, Version=2015.2.729.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4:pl-PL:ead0d100-d31b-4d13-9451-88908208aae7:24ee1bba:c128760b:874f8ea2:19620875:4877f69a:f46195d3:92fe8ea0:fa31b949:490a9d4e:bd8f85e4:cda80b3:383e4ce8:e330518b:2003d0b8:88144a7a:1e771326:c8618e41:1a73651d:333f8d94:ed16cbdc:e524c98b:b7778d6c:6d43f6d9:407acb1c:e4f8f289

 

I could not reproduce it while developing, but on production this error appears quite often. I suppose that mentioned Javascript code tries to refer to control (button) when it is not rendered yet, but I have no idea how to resolve it. 

Ivan Danchev
Telerik team
 answered on 19 Sep 2016
1 answer
166 views

Hi,

 

We have a problem with captcha in Production environment. In development and testing is working fine.

In production we have a webapp in port 1800 for administration and a extended site in port 80 for anon users, when you access via 80 the captcha does not display the image and is returning error 401. http://www.molymet.cl/es/Paginas/Contact-Us.aspx

I'm attaching both webconfig.

 

Marin Bratanov
Telerik team
 answered on 19 Sep 2016
1 answer
284 views

Hi Folks, I could not able to find a relevant answer in the forum and hence I am posting this question.

I have a requirement where I need to highlight some part of the text within a cell. Please find the attachment. Any help on this matter is highly appreciated.

Thanks in advance.

 

 

Eyup
Telerik team
 answered on 19 Sep 2016
1 answer
111 views

Hi

 

I am trying to pass selected index via client side function with below code 

<telerik:RadButton ID="btnDeliverySetting" ClientIDMode="Static" OnClientClicking="function(button,args){getRadTabStrip('<%=NotificationsWizardTS.SelectedIndex%>','<%=NotificationTypesTS.SelectedIndex%>');}" runat="server" Text="Continue" ButtonType="StandardButton"  CssClass="btn_Normal">
                            </telerik:RadButton>

 

and at client side my function is as under 

 

function getRadTabStrip(NotificationsWizardTSIndex, NotificationTypesTSIndex) {
        alert("Wizard" + NotificationsWizardTSIndex);
        alert("Type" + NotificationTypesTSIndex);

}

 

This is alerting just string "Wizard<%=NotificationsWizardTS.SelectedIndex%>" and "Type<%=NotificationsTypeTS.SelectedIndex%>"

 

How can i pass indexof both selected tabs?

Anton
Telerik team
 answered on 19 Sep 2016
10 answers
2.0K+ views
Hi all!
I need to export to an excel file the content of my RadGrid.
The exporting is working fine, but I have some hidden columns that aren't exported.
I have tried like follows to make visible those columns, but it doesn't work. If I make not visible a column that is visible instead it is working.

        protected void mngBtnExcel_Click(Object sender, EventArgs e)
        {
            this.grdRcm.MasterTableView.Columns.FindByUniqueName("Process").Visible = true;
            this.grdRcm.MasterTableView.Columns.FindByUniqueName("SubprocessDescr").Visible = true;
            this.grdRcm.MasterTableView.Columns.FindByUniqueName("EditCommandColumn").Visible = false;

            this.grdRcm.ExportSettings.ExportOnlyData = true;
            this.grdRcm.ExportSettings.IgnorePaging = true;
            this.grdRcm.ExportSettings.OpenInNewWindow = true;
            this.grdRcm.MasterTableView.ExportToExcel();

            this.grdRcm.MasterTableView.GetColumn("Process").Visible = false;
            this.grdRcm.MasterTableView.GetColumn("SubprocessDescr").Visible = false;
        }

The columns "Process" nad "SubProcessDescr" are not visible, but I need to export them.
Thanks and best regards.

Dario
chetna
Top achievements
Rank 1
 answered on 19 Sep 2016
18 answers
449 views
Hi,

I am trying to add a new filter function to implement the "IN" SQL function. Users will specify a list of values that they want to filter on and then select the "In" item from the filter menu for a given column. I have done the following so far:

1. Added a new RadMenuItem to the GradFilterMenu in Page_Init() and set its Text and Value properties to "In"
2. Added an event handler for the GradFilterMenu's ItemClick event
3. Added an event handler for the ItemCommand event.

When I debug the code, I get the following error:

Microsoft JScript runtime error: Sys.ArgumentException: 'In' is not a valid value for enum Telerik.Web.UI.GridFilterFunction.
Parameter name: value


Not exactly sure how to proceed from here. Could you please help?
Anand
Top achievements
Rank 1
 answered on 19 Sep 2016
2 answers
2.9K+ views
Hi to All,

am dwnloding radcontrols for asp.net from http://www.telerik.com/products/aspnet-ajax/download.aspx
but am getting error like this 

unable to find a version of the runtime to run this application.
how to resole it plz tell me

toy
Top achievements
Rank 1
 answered on 18 Sep 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?