Hi,
With my grid def below, the vertical scroll bars work fine but I never get a horizontal scrollbar. It appears to not adhere to my HeaderStyle-Width and sizes the columns to fit width.
<telerik:RadGrid ID="grd1" runat="server" OnNeedDataSource="grd1_NeedDataSource" OnPreRender="grd1_PreRender" OnSelectedIndexChanged="grdx_SelectedIndexChanged" AllowPaging="true" PageSize="5" Height="300px" Width="500px" AutoGenerateColumns="false"> <ClientSettings AllowKeyboardNavigation="true" EnablePostBackOnRowClick="true" Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true"> <Selecting AllowRowSelect="true"></Selecting> </ClientSettings> <MasterTableView DataKeyNames="ID" TableLayout="Fixed"> <Columns> <telerik:GridBoundColumn UniqueName="ID" DataField="ID" Display="false" HeaderStyle-Width="10" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="User" DataField="ChangeUser" HeaderStyle-Width="50" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="AD_Path_Name" DataField="ADName" HeaderStyle-Width="50" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="Start" DataField="StartDate" DataType="System.DateTime" HeaderStyle-Width="60" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="End" DataField="EndDate" DataType="System.DateTime" HeaderStyle-Width="60" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="Total" DataField="TotalCount" DataType="System.Int32" HeaderStyle-Width="30" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="Errors" DataField="ErrorCount" DataType="System.Int32" HeaderStyle-Width="30" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="Source" DataField="Source" HeaderStyle-Width="100" ></telerik:GridBoundColumn> <telerik:GridBoundColumn UniqueName="AD_Path" DataField="ADPath" HeaderStyle-Width="100"></telerik:GridBoundColumn> </Columns> </MasterTableView></telerik:RadGrid>I'm sure there is something obvious that I am missing, but I'm not seeing it. I've built my RadWizard form. When user gets to the "finish" page, and clicks the Finish button, nothing happens. I can't figure out how to fire an onclick for this button. Below is code that I've stripped down to basic functionality. What am I missing?
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="sandbox2.aspx.cs" Inherits="sandbox2" %><asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"><telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"> </telerik:RadStyleSheetManager> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"> </asp:ScriptReference> </Scripts> </telerik:RadScriptManager> <telerik:RadWindowManager ID="windowManager1" runat="server" Style="z-index: 100001"> </telerik:RadWindowManager> <telerik:RadWizard ID="RadWizard1" Runat="server" ResolvedRenderMode="Classic"> <WizardSteps> <telerik:RadWizardStep ID="RadWizardStep1" runat="server" StepType="Finish"> </telerik:RadWizardStep> </WizardSteps> </telerik:RadWizard></asp:Content>
using System;using System.Linq;using Telerik.Web.UI;using System.Web.UI;public partial class sandbox2 : System.Web.UI.Page{ protected void RadWizard1_FinishButtonClick(object sender, WizardEventArgs e) { Response.Write("Clicked"); ; } }Hi
My item images don't show in this scenario.
i.e. Images are set within the Grids ItemDataBound event.
I did this because the grid is ajaxified and the RadCodeBlock issue raises it's requirement.
<Telerik:GridTemplateColumn HeaderText="Image" UniqueName="ViewImage">
<ItemTemplate>
<asp:Image ID="PartImage" runat="server" Width="35px" Height="35px" />
</ItemTemplate>
<ItemStyle Width ="6%" HorizontalAlign="Center" />
<HeaderStyle CssClass="GridColHeader" Width="6%" HorizontalAlign="Center" wrap="True"/>
</Telerik:GridTemplateColumn>
Code:
if (e.Item is GridDataItem)
{
string Imgurl = Parts.GetMaxImageUrl(dataSourceRow.Image_Id);//Image_Id
GridDataItem item = (GridDataItem)e.Item;
Image img = (Image)item.FindControl("PartImage");
if (Imgurl != "")
{
string appPath = HttpContext.Current.Request.ApplicationPath;
string physicalPath = HttpContext.Current.Request.MapPath(appPath);
string ImageUrl = appPath + "/PartImages/" + Imgurl;
img.ImageUrl = "~/PartImages/" + Imgurl;
}
else
{
img.ImageUrl = "~/Images/placeholder-200.jpg";
}
I can't seem to get RadFormDecorator to decorate the checkboxes in RadTreeview. I see there are a bunch of forum threads dating back 7 years ago which seem to deal with some difficulty you had implementing this. I notice that RadTreeview is conspicuously missing from your TelerikControls integration demo at:
despite the description mentioning RadTreeView. I have a number of questions regarding this issue:
1) Can FormDecorator be used with RadTreeview? If so, is this a bug that the checkboxes do not get decorated?
2) If this integratoni si not currently possible, does Telerik have any intention of making it so FormDecorator works with RadTreeview? If so, can I expect this fix in my lifetime (the next 40+ years, hopefully).
3) If not, it might be helpful if you mention in your Demos that FormDecorator does not work with RadTreeView.
<asp:DropDownList ID="ddlActive" runat="server" SelectMethod="GetActiveFilters" AutoPostBack="true" AppendDataBoundItems="true" DataTextField="Text" DataValueField="Value"> <asp:ListItem Text="All" Value="" /> </asp:DropDownList> <br /> <asp:GridView ID="Accounts" runat="server" ItemType="Accounts" SelectMethod="GetAccounts" AutoGenerateColumns="true"> </asp:GridView>Public Function GetAccounts(maximumRows As Integer?, startRowIndex As Integer?, <System.Runtime.InteropServices.Out()> ByRef totalRowCount As Integer, sortByExpression As String, <System.Web.ModelBinding.Control("ddlActive")> active As Boolean?) As IList(Of Account) 'Get accounts Dim list = DataSources.GetAccounts(active) totalRowCount = list.Count Return list End Function Public Function GetActiveFilters() As IEnumerable Dim l = {New With {.Text = "Active", .Value = True}, New With {.Text = "Inactive", .Value = False}} Return l End Function
<telerik:RadDataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="10" Skin="Default"> <Fields> <telerik:RadDataPagerButtonField FieldType="FirstPrev"></telerik:RadDataPagerButtonField> <telerik:RadDataPagerButtonField FieldType="Numeric"></telerik:RadDataPagerButtonField> <telerik:RadDataPagerButtonField FieldType="NextLast"></telerik:RadDataPagerButtonField> <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " PageSizes="5,10,20,50" HorizontalPosition="RightFloat" PageSizeControlType="RadDropDownList"></telerik:RadDataPagerPageSizeField> </Fields></telerik:RadDataPager>Hello,
I have a problem which can be reproduced on the radeditor demo http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx in Internet Explorer 11. I have tried in Chrome and the problem does not exists there.
The problem is, that when you select an image, then the properties tab and then click on other images, the properties tab width and height aren't being updated.
1. Open the Image Manager in the radeditor
2. Click on a random image.
3. Click on the "Properties" tab.
4. Click on another random image.
The result is that the Width and Height textboxes are blank.
I've tried taking a look at the usercontrol "SetImageProperties.ascx" and it seems that the variable originalImage in function "loadImageProperties" looses the height and width. I suspect that it's using the preview image from the Image Manager which is hidden when the property tab is selected. Do you know if there's a work around for this?

Hi, We are using AjaxManager on our site and our average TTFB is approx 10s. We have tried your optimization techniques but it is still always slow. What is the cause and how can we speed it up? All we are doing on ajaxrequest is setting the visibility of a panel..
Hi Folks,
I have a static drop down list containing a set of configuration templates, each of these templates has 1 or more items assigned to it, each of a different type. I can retrieve each of the items and their typeID but when a user selects a template i need to dynamically create a new set of drop downs each one of them binding to a shared data source and passing in a variable of their typeID, thus creating a new set of drop downs each filled with a different set of data which the user can select to build up a new configuration
I've been trawling the internet for a usable example but there is such a thing as too much information and i cant find a consistent style or doing this. Does anybody have any working examples or an alternative idea
Thanks
matt