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

Hi,
the project, in which I’m working, have a performance issue in IE, when the page is loading in IE11, it takes between 2.5-4.5 seconds, while in chrome it takes less than a second to load (firefox/Edge load in less than 2 seconds);  Resize is also a problem, but my main concern is Loading the pages… the master page has multiple nested splitters (rad panes), I debug it and server’s time is less than a second, using dynatrace, fiddler, and dev tools, I find that the time is related to the Resizing of panes…
(See images  https://screenshot.net/7o1dgcn  ,   https://screenshot.net/jd9qgud )
I’ve looked at multiple forums (both telerik’s and otanother sources) for similar problems, and optimizing tricks… I tried some of them, but the resizing is still the main issue...
I include a link to a video showing the problem http://screencast.com/t/LQNCaVFD (ie vs chrome) with a simple project, one with one single radsplitter (RadPanelSingleSplitter.aspx) the other one with multiple nested radsplitters (RadPanelNesting.aspx, which is similar to my project), the nesting page takes at least double the time to load, and also the more html I include, the more time it takes to render (resize)…

Has anyone else have similar issues?

Best Regards,
JC 

Vessy
Telerik team
 answered on 03 Nov 2016
1 answer
185 views

Hi,
the project, in which I’m working, have a performance issue in IE, when the page is loading in IE11, it takes between 2.5-4.5 seconds, while in chrome it takes less than a second to load (firefox/Edge load in less than 2 seconds);  Resize is also a problem, but my main concern is Loading the pages… the master page has multiple nested splitters (rad panes), I debug it and server’s time is less than a second, using dynatrace, fiddler, and dev tools, I find that the time is related to the Resizing of panes…
(See images  https://screenshot.net/7o1dgcn  ,   https://screenshot.net/jd9qgud )
I’ve looked at multiple forums (both telerik’s and otanother sources) for similar problems, and optimizing tricks… I tried some of them, but the resizing is still the main issue...
I include a link to a video showing the problem http://screencast.com/t/LQNCaVFD (ie vs chrome) with a simple project, one with one single radsplitter (RadPanelSingleSplitter.aspx) the other one with multiple nested radsplitters (RadPanelNesting.aspx, which is similar to my project), the nesting page takes at least double the time to load, and also the more html I include, the more time it takes to render (resize)…

Has anyone else have similar issues?

Best Regards,
JC 

Vessy
Telerik team
 answered on 03 Nov 2016
6 answers
609 views
Hello,
I have a form that has a radcombobox and a textarea. When the user selects an item from the radcombobox, I want to insert the selected text into the textarea at the cursor position in the textarea. Here is what I have.

 function insertText(sender, eventArgs) { 
         
        var txtPlainText = document.getElementById("<%= txtPlainText.ClientID %>"); 
        var DropDownList1 = $find("<%= ddlMergeFields.ClientID %>"); 
             
        if (document.selection) { 
                          
            txtPlainText.focus(); 
            sel = document.selection.createRange(); 
            sel.text = DropDownList1.get_value(); 
        } 
        //MOZILLA/NETSCAPE support 
        else if (txtPlainText.selectionStart || txtPlainText.selectionStart == '0') { 
         
            var startPos = txtPlainText.selectionStart; 
            var endPos = txtPlainText.selectionEnd; 
            txtPlainTexttxtPlainText.value = txtPlainText.value.substring(0, startPos) + DropDownList1.get_value() +  
            txtPlainText.value.substring(endPos, txtPlainText.value.length); 
        }  
        else  
        { 
          txtPlainText.value += DropDownList1.get_value(); 
        } 
        DropDownList1.set_value();         
    } 
     

and the combobox is defined as:
<telerik:RadComboBox runat="Server" OnClientSelectedIndexChanged="insertText" ID="ddlMergeFields" Skin="Office2007"
    <Items> 
         <telerik:RadComboBoxItem Text="Merge Fields" Value="test2" /> 
         <telerik:RadComboBoxItem Text="test1" Value="test1" /> 
    </Items> 
</telerik:RadComboBox> 

The javascript works with a normal dropdownlist, but when i switch it to a radcombobox, it always inserts the text at the top of the textarea, not at the cursor position. Am I doing something wrong?

Also, after inserting the text, i need the combobox selected item to be reset to the first item in the box. How do I do that? I have tried set_value and clearSelection, but neither work.

Please Help.

Patrick
Peter Milchev
Telerik team
 answered on 03 Nov 2016
3 answers
203 views

I've read several threads on this, but still cannot seem to get this to work.

I have a LogIn button on a RadGrid that I only want to have a confirmation on in a specific situation. I've tried several different ways, this seems to get the closest, but I am still not seeing the popup confirmation dialog. Any help is greatly appreciated.

Relevant code below.

 

    Protected Sub grdAccounts_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdAccounts.ItemDataBound

      If TypeOf e.Item Is Telerik.Web.UI.GridDataItem Then
            Dim item As Telerik.Web.UI.GridDataItem = DirectCast(e.Item, Telerik.Web.UI.GridDataItem)

            If ddlSiteType.SelectedValue.StartsWith("LIVE") Or ddlSiteType.SelectedValue.StartsWith("DR") Then
                Dim btnLogin As Button = CType(item("LogIn").Controls(0), Button)
                If btnLogin IsNot Nothing Then
                    btnLogin.Attributes.Add("ConfirmTitle", "Continue?")
                    btnLogin.Attributes.Add("ConfirmText", "You are entering a LIVE production site. Continue?")
                    btnLogin.Attributes.Add("ConfirmDialogType", "Classic")
                End If
            End If

...

End If

End Sub

 

Richard
Top achievements
Rank 1
 answered on 02 Nov 2016
1 answer
156 views

I see the following error message popup when trying to upload a file that is not a supported type:

"The size of the uploaded file exceeds max size allowed

The extension of the uploaded file is not valid. Please, provide a valid file!"

 

We find this text confusing and would like to change it. Is there a way to change this text?

Rumen
Telerik team
 answered on 02 Nov 2016
1 answer
989 views

Hello,

Is there a way to loop through only the displayed rows of a radgrid, preferably on the client-side with javascript?

Thanks,

Johnathan

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 02 Nov 2016
2 answers
133 views

Hi,

I am using the aggregates context menu to allow the user to choose their own aggregate functions, however, 1 particular column should not allow aggregation as each row is potentially showing a value in a different currency.

Is there any way that I can disable aggregates for this column only? There doesn't appear to be any column setting relating to this.

Thanks in advance,
Mike.

Mike
Top achievements
Rank 2
 answered on 02 Nov 2016
2 answers
420 views

Hi, I'm modifying an old VS project, it uses .net 2.0 and I normally add my telerik RadComboBox and there is no problems...

The thing is that in a different PC, there is an error, the other PC has the same telerik version and the same visual studio version, this is the error:

Assembly 'Telerik.Web.UI, Version=2016.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 

Then I researched and I realized about the project being in the past in .net 2.0 and I guess that for the future all references to old System.Web.Extensions and lower  .net should be replaced with newer versions, but the thing is that I don't get why in my PC i don't get the error and in other PCs the error is there even if I add the telerik control in those PCs, i.e., if I go with the project to other PC and add the telerik RadComboBox there, I get the error anyway...

I'ts kind of weird, please any help or at least some explanation.

Thanks in advance.

Francisco
Top achievements
Rank 1
 answered on 02 Nov 2016
1 answer
162 views

Using the following in Footer, but the menu expands down not up:

<telerik:RadMenu runat="server" ID="FooterNavMobile" RenderMode="Mobile" Skin="BlackMetroTouch" DefaultGroupSettings-ExpandDirection="Up">
                        <Items>
                         <telerik:RadMenuItem Text="advertise" NavigateUrl="advertise" Value="advertise" />
                                <telerik:RadMenuItem Text="contact us" NavigateUrl="help/contactus" Value="contactus"/>
                                <telerik:RadMenuItem Text="feedback" NavigateUrl="help/feedback" Value="feedback"/>
                                <telerik:RadMenuItem Text="help" NavigateUrl="help/contactus" Value="help" />
                            <telerik:RadMenuItem Text="terms & conditions" NavigateUrl="help/termsandconditions" Value="conditions" />
                             <telerik:RadMenuItem Text="privacy policy" NavigateUrl="help/privacypolicy" Value="privacypolicy" />
                             <telerik:RadMenuItem Text="disclaimer" NavigateUrl="help/disclaimer" Value="disclaimer" />
                        </Items>
            </telerik:RadMenu>
Peter Milchev
Telerik team
 answered on 02 Nov 2016
3 answers
576 views
Good morning, if I try to open my site with Firefox I get several error messages that do not lock the site:

Empty string passed to getElementById().

on the file Telerik.Web.UI.WebResource.axd:2340:24422.

How can I fix it?

Thanks in advance
Viktor Tachev
Telerik team
 answered on 02 Nov 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?