Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
360 views

I have a RadGrid control in my web page(.aspx). It is displaying a list of data. First column of this grid is a link and when link is clicked a scheduler at the last side is updated. When the vertical scrollbar is at the middle or at the end and if a row is clicked the scrollbar is resetting to top, although the particular row is selected and the scheduler is updated as well. This issue is happening only in Internet Explorer. In Google Chrome the scrollbar is working properly. I have set the property SaveScrollPosition to True. Can anyone help me on this.

<telerik:RadGrid ID="RadGridRequests" runat="server" 
            AutoGenerateColumns="False" GridLines="None" 
            Height="520px"
            onitemdatabound="RadGridRequests_ItemDataBound" 
                onselectedindexchanged="RadGridRequests_SelectedIndexChanged"
                 EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true">

            <ClientSettings EnablePostBackOnRowClick="True">
                 <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
                </Scrolling>
            </ClientSettings>

Pallav
Top achievements
Rank 1
 answered on 22 Feb 2019
4 answers
268 views
Hello,
  I've searched the forums but apparently I have the reverse problem of the majority. I have tried to implement reverse answers but to no avail.
  I have a RadComboBox implemented in a user control:

<div class="fiFilterTitleBar">
    <asp:Label ID="lblFIFilter" runat="server" CssClass="fiHeading floatLeft" Height="24px" BackColor="#26A9E0">Featured Insights</asp:Label>
    <telerik:RadComboBox ID="radComboBoxFIFilter" runat="server" Width="200px" AppendDataBoundItems="false" CssClass="floatRight zIndex5" AutoPostBack="true" ZIndex="5" DropDownCssClass="zIndex5" />
    <asp:Label ID="lblFIFilterBy" runat="server" AssociatedControlID="radComboBoxFIFilter" CssClass="fiFilterLabel floatRight">Filter By: </asp:Label>
</div>

This user control is then used in an ASPX page. The page is using a (non-Telerik, Cyrinx) menu system located in a header control which is located in a master page which the ASPX implements.

When the ComboBox DropDownList (.rcbSlide) is opened and then the menu system is activated, the DropDownList, but NOT the input box, stays in front of (covers) the menu system. I can confirm that the menu system has a "z-index: 1000;" set to it. In response (shown above) I tried to force all aspects of the RadComboBox to z-index:5. While I can confirm that the RadComboBox attributes are properly setting these style values (via Firebug) they appear to have no effect on who covers who so I still have this problem.

Can you please recommend other things that I might adjust to get the menu to overlay the ComboBox drop down list when it is open?

  Thanks much,

  Gregory
World WIde
Top achievements
Rank 1
 answered on 22 Feb 2019
2 answers
1.3K+ views

i have a radgrid that i have a buttoncolumn applied. the buttons work fine but i was curious if it is possible to only enable the button for the selected row?

If no rows are selected all buttons are shown, but disabled. when i click on a row the button on that row becomes enabled, and if i select another row, the button on the row i was on becomes disabled and the new row button is enabled?

i hope i am clear on this, im still very new to the telerik controls and c#. i have not been able to find anything on this matter.

 

Thanks!

Eli
Top achievements
Rank 2
 answered on 21 Feb 2019
1 answer
413 views

Hello,

I want show the upper limit line and a lower limit line on a Line Chart which gets its data from databinding to SQLDataSource.

The upper limit values and lower limit value is fixed for a given chart.

How do I achieve it?

Thank you

Marin Bratanov
Telerik team
 answered on 21 Feb 2019
11 answers
638 views

Hi,

We are trying to upgrade the browser from IE9 to IE11.

We are using VS 2012 and Telerik controls for ASP.NET AJAX version 2013.3.1114.45. 

We are configuring the radgrid programmatically in .cs page and already set the MasterView width to 100%.​

The grid is not displayed properly in IE 11 compatibility mode. But displayed correctly in IE 11 normal mode.

Any idea how to resolve the mentioned issue ?

 

Thanks

Bhanu.

Stephan
Top achievements
Rank 1
 answered on 21 Feb 2019
6 answers
708 views

I have a Kendo Grid.When I press the enter key the enter Key should behave like the tab key function on kendo grid(Focus And put the next cell to editable mode if it is editable true).Is there any method to Override the Kendo Grid Navigation key?
If there is another proper way what is that?

 

Ankita
Top achievements
Rank 1
 answered on 21 Feb 2019
5 answers
78 views

Hi Folks,

I had previously set up my RadRotator using a DataSource with a bound ImageURL to server path to image files.  This was working fine up until last night when our Windows update went live.  I presume it's done something with IE11 (our default browser) as the images for the rotator are now not showing.

The rotator itself loads; the buttons are visible.  Just no images.

When loading the webpage under Chrome, Firefox or Edge, it still works correctly.

Does anyone know specifically what has happened to stop the images loading, and what I'll need to do to fix this?  I'm guessing it might have something to do with security around either the database or loading images directly from a server path.

<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TransformationRotator.ascx.cs" Inherits="PNCCPortal.UI.NewsModules.TransformationRotator" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<script type="text/javascript">
    function OnClientLoad(rotator, args)
    {
        if (!rotator.autoIntervalID)
        {
            rotator.autoIntervalID = window.setInterval(function ()
            {
                rotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
            }, rotator.get_frameDuration());
        }
    }
</script>
<telerik:RadRotator RenderMode="Lightweight" Width="1963px" Height="450px" ItemWidth="1903px" ItemHeight="450px" ID="rotTransformation"
                    runat="server" RotatorType="Buttons" DataSourceID="dsTransformation" Style="margin: -5px 0 0 -388px" FrameDuration="20000"
                    OnClientLoad="OnClientLoad">
    <ItemTemplate>
        <a href='<%# DataBinder.Eval(Container.DataItem, "URLLink") %>'>
            <asp:Image runat="server" ID="MarqueeImage" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImagePath") %>' />
        </a>
    </ItemTemplate>
</telerik:RadRotator>
<asp:SqlDataSource ID="dsTransformation" runat="server" ConnectionString="server=XXXX;UID=XXXX;PWD=XXXX;database=XXXX" SelectCommand="select
    *
from
    PNCC_MOJO_TransformationMarqeeImage
where
    Active = 1"></asp:SqlDataSource>
Kenyon
Top achievements
Rank 1
 answered on 20 Feb 2019
3 answers
196 views

Attempting to use an XmlDataSource to populate the values in a dropdown list control in a GridTemplateColumn edit and insert templates.

Searched over:
 1 - using ASP datasources: https://docs.telerik.com/devtools/aspnet-ajax/controls/combobox/data-binding/binding-to-asp-datasource-components
 2 - using inline XML in an XmlDataSource: http://www.java2s.com/Code/ASP/XML/UsingInlineXMLDatainanXmlDataSourceControl.htm
 3 - fixing the 'GridInsertionObject does not contain a property named 'X' ' error: https://weblogs.asp.net/kencox/fixing-the-telerik-webcontrols-gridinsertionobject-does-not-contain-a-property-error
 4- Populating a dropdownlist in a datagrid template column: https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Common/radcombobox-in-radgrid
 
 * Yes, the links above reference the combobox control, presumably the dropdown list functions the same way.
 
 Goal: Populate a DropDown list using an XmlDataSource and inline XML
 
 Problem: it does not work.
 Looking for the proper format of the inline XML to get this to work.
  Links 1 and 4 say that the XML file has to be formatted as <items><item>, but this causes an error when inline stating that 'items' is invalid'
  Links 2 say to use <Data><items><item>, which doesn't throw an error but doesn't load
  Using the method from Link 3 to set the default values, I avoid the GridInsertObject error, but the defaulted value is not bound.

<telerik:GridTemplateColumn HeaderText="Wpn Qual" DefaultInsertValue="M">
    <ItemTemplate><%#DataBinder.Eval(Container.DataItem,"WPN_QUAL_BADGE") %></ItemTemplate>
    <EditItemTemplate>
        <telerik:RadDropDownList runat="server" ID="ddlWpnQual" DataTextField="Text" DataValueField="Value" DataSourceID="xmlWpnQual"
            SelectedValue='<%#Bind("WPN_QUAL_BADGE") %>' ></telerik:RadDropDownList>
    </EditItemTemplate>
    <InsertItemTemplate>
        <telerik:RadDropDownList runat="server" ID="ddlWpnQual" DataTextField="Text" DataValueField="Value" DataSourceID="xmlWpnQual"
            SelectedValue='<%#Bind("WPN_QUAL_BADGE") %>' ></telerik:RadDropDownList>
    </InsertItemTemplate>
</telerik:GridTemplateColumn>

 

<asp:XmlDataSource ID="xmlWpnQual" runat="server" XPath="Data/Items" >
    <Data>
        <Items>
            <Item Text="-- Select --" Value="" />
            <Item Text="Marksman" Value="M" />
            <Item Text="SharpShooter" Value="S" />
            <Item Text="Expert" Value="E" />
        </Items>
    </Data>
</asp:XmlDataSource>

 

And yes, I can manually create the items via markup in each instance of the dropdownlist... I would prefer to use a scalable approach in this specific instance.

 

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 20 Feb 2019
4 answers
165 views
How do i set the scroll bar colurs of Radgrid ...

Regards
wallafe
Top achievements
Rank 1
 answered on 20 Feb 2019
4 answers
846 views

Hi

For my dropdownlist, everything works fine except the arrow is not showing up. png files are there in ...Styles/Default folder. Is there another file that would be missing in my project, something like ...kendo.all.min.js or whatever...

Marin Bratanov
Telerik team
 answered on 20 Feb 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?