Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
408 views

My RadWindow works fine in IE11 and Firefox displaying in the center of the page.  However, with Chrome, the window will display out of view displaying farther down the page.  I know that this was working at some point fine.  I am using version 2017.3.913.45

Does anyone know about a change in Chrome that could have caused this?  

    function ShowPricing(LineNumber) {
        var oWnd = $find("<%=rwndPricing.ClientID%>");
        oWnd.setUrl("Popups/GridPricing.aspx?<%=UserSession.SessionQueryVar %>&LineNumber=" + LineNumber);
        oWnd.show();
        return false;
    }

<telerik:RadWindow ID="rwndPricing" runat="server" Behaviors="Close,Move,Resize"
    AutoSize="true" Modal="true" VisibleStatusbar="false" ShowContentDuringLoad="false">
</telerik:RadWindow>

 

 

Rumen
Telerik team
 answered on 27 Mar 2018
1 answer
242 views

Previous company was doing websites and all websites use their license.  Another company has the websites now and will be working on the them and recently purchased a Telerik license.  How do they switch the license for the sites or do they need to?

Brandon
Telerik team
 answered on 27 Mar 2018
4 answers
524 views

ArgumentOutOfRangeException from Telerik.Web.UI.RadComboBox.PerformDataBinding()

My project using RadComboBox control throws exception below. The exception occurs intermittently and randomly. That is, it happens for the same user some times.

Exception below:
1) Exception Information
*********************************************
Exception Type: System.ArgumentOutOfRangeException
Message: Selection out of range
Parameter name: value
Data: System.Collections.ListDictionaryInternal
TargetSite: Void PerformDataBinding(System.Collections.IEnumerable)
HelpLink:
Source: Telerik.Web.UI

StackTrace Information
*********************************************
   at Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource)
   at Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data)
   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
   at Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e)
   at Telerik.Web.UI.RadComboBox.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at Telerik.Web.UI.RadComboBox.DataBind()
   at xxx.Default.Page_Load(Object sender, EventArgs e) in d:\xxx\Default.aspx.cs:line 34
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   
Assembly Information:
    Assembly Telerik.Web.UI, Version=2014.3.1024.40, Culture=neutral, PublicKeyToken=121fae78165ba3d
    
Project Information:    
    ASP.NET, .NET 4.6

Telerik.Web.UI.RadComboBox Source code:
protected override void PerformDataBinding(IEnumerable dataSource)
    {
      base.PerformDataBinding(dataSource);
      if (!string.IsNullOrEmpty(this.cachedSelectedValue))
      {
        RadComboBoxItem itemByValue = this.FindItemByValue(this.cachedSelectedValue);
        if (itemByValue == null)
          throw new ArgumentOutOfRangeException("value", "Selection out of range");
        int num = this.Items.IndexOf(itemByValue);
        if (this.cachedSelectedIndex != -1 && this.cachedSelectedIndex != num)
          throw new ArgumentOutOfRangeException("value", "SelectedIndex and SelectedValue are mutually exclusive");
        this.SelectedIndex = num;
        this.cachedSelectedValue = (string) null;
        this.cachedSelectedIndex = -1;
      }
      else if (this.cachedSelectedIndex != -1)
      {
        this.SelectedIndex = this.cachedSelectedIndex;
        this.cachedSelectedIndex = -1;
      }
      this.UpdateFromCachedValueIndex();
    }   

Any idea to fix this?
Tarun
Top achievements
Rank 1
 answered on 27 Mar 2018
3 answers
496 views
I downloaded the latest version of the ASP.net ajax controls and the samples.  I have isolated the spreadsheet sample with import export.  When I hit the button and load an xlsx spreadsheet from my client, it does a faithful representation of the .xlsx  When I try to load the same .xlsx from the server using the SpreadsheetDocumentProvider, it loads, but it is not a faithful representation.  All of my hidden rows and columns are visible, and the spreadsheet itself extends past the edge of the control.
Peter Milchev
Telerik team
 answered on 27 Mar 2018
1 answer
197 views

How do I change the icons' position in RadNavigation?

Wrong position: expand_image_position_now.png

Correctly position: expand_image_position_correctly.png

They are correctly in the hamburger navigation...

My css:

<style>
    html .RadNavigation .rnvRootGroup .hiddenNode {
        display: none;
    }
 
    html .RadNavigation {
        font-size: 1.5em;
        font-family: 'Alegreya Sans', sans-serif;
        color: white;
    }
 
        html .RadNavigation .rnvRootGroupWrapper {
            border-width: 0;
        }
 
        html .RadNavigation .rnvRootGroup > .rnvItem {
            margin: 0;
        }
 
        html .RadNavigation .rnvMore,
        html .RadNavigation .rnvRootLink {
            margin: 0;
            padding-top: 0;
            padding-bottom: 0;
            border-width: 0;
        }
 
        html .RadNavigation .rnvHovered.rnvMore,
        html .RadNavigation .rnvSelected.rnvMore {
            margin: 0;
            border-width: 0;
        }
 
            html .RadNavigation .rnvHovered.rnvMore.rnvRight,
            html .RadNavigation .rnvSelected.rnvMore.rnvRight {
                margin: 0;
            }
 
        html .RadNavigation .rnvHovered .rnvRootLink {
            background-color: lightblue;
        }
 
    .rnvPopup {
        background-color: white;
        border-color: #cfd8dc;
        color: #455a64;
    }
 
        .rnvPopup .rnvHovered {
            border-color: #cfd8dc;
            color: #159eda;
            background-color: #eceff1;
        }
</style>

 

Peter Milchev
Telerik team
 answered on 27 Mar 2018
4 answers
97 views
"I use editor but it appears error of control on mobile phone. It prevented me from typing text or the control bobs constantly - when I was tying in this line, it showed the content in the other place. Thanks
Thành
Top achievements
Rank 1
 answered on 27 Mar 2018
1 answer
97 views
Hi Team,
In my sample application, I am using RadEditor with below properties. when I have ran the application and enter long text and I am not seen any horizontal scrollbar (see first_screen) then copied the same properties on "RadEditor"  and using my existing application and entered long text I am receiving Horizontal scrollbar (Second pic) please.
<telerik:RadEditor ID="txt_GAdd" BorderStyle="None" runat="server"
Width="100%" ToolsFile="ToolsFile.xml" Height="200px" Font-Names="Tahoma" Font-Size="11px" Style="margin-bottom: 5px;"
EnableResize="False" EditModes="Design" StripFormattingOnPaste="NoneSupressCleanMessage" OnClientLoad="RadEditorOnLoad">
</telerik:RadEditor>
Regards,
Jani
Dev
Top achievements
Rank 1
 answered on 26 Mar 2018
0 answers
96 views

I have a RadGrid that gets refreshed when I click a radio button.  I have jQuery attached to the onClick event.  The radio buttons are listed as an AjaxSetting and UpdatedControls.

When I click the radio button, the jQuery works great.  Then, the "loading" graphic appears over the grids and radio buttons.  After that, when I click on the radio buttons, my jQuery doesn't work.

Does the code behind/ajax destroy the original element, therefore jQuery cannot find it?  Why does this not work?

 

Thanks!

Mark
Top achievements
Rank 1
 asked on 26 Mar 2018
7 answers
233 views

RadImageButton is showing this error on IE 11 if the zoom level is not 100%.

  1. Change the zoom (not 100%)
  2. Click on the Img button

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10896279
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +145
   Telerik.Web.UI.RadImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection) +167
   Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +16
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +734
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1960

 

This is the aspx code 

<telerik:RadImageButton ID="ButtonActions1" runat="server" Image-Url="~/Images/menu.png"  ></telerik:RadImageButton>

 

 

Paweł
Top achievements
Rank 1
 answered on 26 Mar 2018
3 answers
174 views

Hi
We are using telerik grid which is build dynamically. When adding GridDropDownColumn to the grid it's working without problem. But one functionality is really not OK. When user click on the item in grid to change it, drop-down opens but drop down values are already filtered to the existing values. Combo box should work in different way, as it works here: https://demos.telerik.com/aspnet-ajax/combobox/examples/overview/defaultcs.aspx. When user clicks on that drop-down and if there is any item selected, he gets all items in dropdown and NOT pre-filtered by selected value.



How should we set up that column to allow out of the box behaviour of the Filter?

               GridDropDownColumn ddCol = new GridDropDownColumn();
               ddCol.DataSourceID = column.Name + "ObjectDataSource";             
               ddCol.ListValueField = "ID";
               ddCol.ListTextField = "Name";
               ddCol.DataField = column.Name;
               ddCol.AllowAutomaticLoadOnDemand = true;
               ddCol.DropDownControlType = GridDropDownColumnControlType.RadComboBox;  

Attila Antal
Telerik team
 answered on 26 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?