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>
<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>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!
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
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.
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?
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_TransformationMarqeeImagewhere Active = 1"></asp:SqlDataSource>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.
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...