
Hi
I am seeing a strange effect in all browsers when using radcheck box with the 'Simple' skin; there is a separate light grey box appearing behind the box using the Simple skin, offset by a couple of pixels. It looks like it is being rendered in Default skin AND simple skin. (attached file)
What could explain this?
I do need to use the simple skin for consistency with all other controls, so change ins not really an option.
I am using 2016 asp.net ajax control set
Thanks for advice on this
Thanks
Clive

I read this article about custom marker from a datasource:
https://www.telerik.com/support/code-library/custom-markers-with-server-side-data-binding
From what I can tell, it should create a class for each marker by tacking on the field value to the end of "k-marker-<fieldvalue>". It seems that this article is old and it actually creates the class of "k-i-marker-<fieldvalue>", no biggie, I figured that out. I managed to change the color and the marker image and everything. The issue is, the creation of the class seems messed up. It works for some values, but not others and I can't figure out what the issue is. The only thing that I can see is it works for values that are TWO characters long, but anything more it puts the first letter, then a hyphen and the rest of the value.
Here are three examples it created:
<span class="k-marker k-icon k-i-marker-bp" title="BP 17869" data-role="tooltip" style="z-index: 1000; left: 343px; top: 435px;"></span>
<span class="k-marker k-icon k-i-marker-c-oSTCO" title="Costco Wholesale - TRACY - 0658" data-role="tooltip" style="z-index: 1000; left: 24px; top: 297px;"></span>
<span class="k-marker k-icon k-i-marker-r-aLPHS" title="Ralphs #189" data-role="tooltip" style="z-index: 1000; left: 32px; top: 310px;"></span>
On IE11 when the browser width is 1014 the HiddenMd="True" setting should be hiding the row. This works correctly on Edge and Chrome. Here is a test page to recreate the problem.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TelerikTest.aspx.cs" Inherits="MEDP.Portal.TelerikTest" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Telerik Test</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /></head><body><telerik:RadScriptManager ID="PortalRootScriptManager" runat="server" EnablePageMethods="true"> <Scripts> <%--Needed for JavaScript IntelliSense in VS2010--%> <%--For VS2008 replace RadScriptManager with ScriptManager--%> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts></telerik:RadScriptManager><h1>Test site</h1> <telerik:RadPageLayout runat="server" GridType="Fluid" CssClass="MainContainer"> <Rows> <telerik:LayoutRow runat="server" RowType="Container" WrapperHtmlTag="None" HiddenMd="True" HiddenSm="True" HiddenXs="True"> <Content> <div> Should be hidden in IE11 at 1014 resolution! </div> </Content> </telerik:LayoutRow> </Rows> </telerik:RadPageLayout></body></html>Please advise on how to fix this problem on IE 11.
<telerik:RadScriptManager ID="ScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadGrid ID="rdgBudget" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" DataSourceID="SEMBudgetSource" GridLines="None" Skin="Office2007" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" OnItemDataBound="Budget_ItemDataBound"> <MasterTableView AutoGenerateColumns="False" DataSourceID="SEMBudgetSource" CommandItemDisplay="Top" DataKeyNames="SEMBudgetId"> <EditFormSettings> <EditColumn CancelImageUrl="../Images/Cancel.gif" EditImageUrl="../Images/Edit.gif" InsertImageUrl="../Images/Insert.gif" UniqueName="EditCommandColumn" UpdateImageUrl="../Images/Update.gif"> </EditColumn> </EditFormSettings> <Columns> <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" /> <telerik:GridBoundColumn DataField="SEMBudgetId" DataType="System.Int32" ReadOnly="True" UniqueName="SEMBudgetId" Visible="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Customer" DefaultInsertValue="" HeaderText="Customer" SortExpression="Customer" UniqueName="Customer"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MarginBudget" DataType="System.Decimal" DefaultInsertValue="" HeaderText="SEM Budget" SortExpression="MarginBudget" UniqueName="MarginBudget" DataFormatString="{0:C}" ItemStyle-HorizontalAlign="Right"> <ItemStyle HorizontalAlign="Right"></ItemStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="BudgetSpent" DataType="System.Decimal" DefaultInsertValue="" HeaderText="Budget Spent" SortExpression="BudgetSpent" UniqueName="BudgetSpent" ReadOnly="true" DataFormatString="{0:C}" ItemStyle-HorizontalAlign="Right"> <ItemStyle HorizontalAlign="Right"></ItemStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="BudgetStartDate" DataType="System.DateTime" DefaultInsertValue="" HeaderText="Start Date" SortExpression="BudgetStartDate" UniqueName="BudgetStartDate"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="BudgetEndDate" DataType="System.DateTime" DefaultInsertValue="" HeaderText="End Date" SortExpression="BudgetEndDate" UniqueName="BudgetEndDate"> </telerik:GridBoundColumn> <telerik:GridCheckBoxColumn DataField="BudgetIsActive" DataType="System.Boolean" DefaultInsertValue="" HeaderText="BudgetIsActive" SortExpression="BudgetIsActive" UniqueName="Active"> </telerik:GridCheckBoxColumn> </Columns> </MasterTableView> <ClientSettings DataBinding-EnableCaching="true"> <DataBinding EnableCaching="True"> </DataBinding> </ClientSettings> </telerik:RadGrid> <asp:SqlDataSource ID="SEMBudgetSource" runat="server" ConnectionString="<%$ ConnectionStrings:myconnection %>" SelectCommand="SELECT [Customer], [MarginBudget], [SEMBudgetId], [BudgetStartDate], [BudgetEndDate], [BudgetIsActive], [BudgetSpent] FROM [mytesttable] WHERE ([companyid] IS NOT NULL) ORDER BY [Customer]" InsertCommand="INSERT INTO mytesttable(Customer, MarginBudget, BudgetStartDate, BudgetEndDate, BudgetIsActive) VALUES (@Customer, @Budget, @StartDate, @EndDate, @Active)" UpdateCommand="UPDATE mytesttable SET Customer = @Customer, MarginBudget = @Budget, BudgetStartDate = @StartDate, BudgetEndDate = @EndDate, BudgetIsActive = @Active WHERE (SEMBudgetId = @BID)"> <UpdateParameters> <asp:Parameter Name="Customer" Type="String" /> <asp:Parameter Name="Budget" Type="Decimal" /> <asp:Parameter Name="StartDate" Type="DateTime" /> <asp:Parameter Name="EndDate" Type="DateTime" /> <asp:Parameter Name="Active" Type="Boolean" /> <asp:Parameter Name="BID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="Customer" Type="String" /> <asp:Parameter Name="Budget" Type="Decimal" /> <asp:Parameter Name="StartDate" Type="DateTime" /> <asp:Parameter Name="EndDate" Type="DateTime" /> <asp:Parameter Name="Active" Type="Boolean" /> </InsertParameters> </asp:SqlDataSource>
I'm trying to figure out how to bind my DataSource (in my case this is assigned in Code Behind using List) to a RadCheckBox in my ItemTemplate.
My code that isn't working:
<telerik:RadGrid ID="rg_Balances" runat="server" AutoGenerateColumns="False"> <MasterTableView TableLayout="Auto"> <Columns> <telerik:GridTemplateColumn DataField="Selected" DataType="System.Boolean" HeaderText="Select Unit(s) To Pay"> <ItemTemplate> <telerik:RadCheckBox ID="rcb_Selected" runat="server" OnCheckedChanged="UpdateTotal" AutoPostBack="true"></telerik:RadCheckBox> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="UnitMask" DataType="System.String" HeaderText="Unit" ReadOnly="true"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Balance" DataType="System.Decimal" DataFormatString="{0:C2}" HeaderText="Balance" ReadOnly="true"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="IncludeNextCharges" DataType="System.Boolean" HeaderText="Include Next Charges"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="NextPeriodTotalCharges" DataType="System.Decimal" DataFormatString="{0:C2}" HeaderText="Next Charges" ReadOnly="true"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Total" DataType="System.Decimal" DataFormatString="{0:C2}" HeaderText="Unit Total" ReadOnly="true"></telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings> <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling> </ClientSettings> </telerik:RadGrid>
The binding property is called "Selected" and it's a member of my object in my List of objects. In SL5 I accomplished this with the following code:
<telerik:RadGridView.Columns> <telerik:GridViewDataColumn x:Name="ServiceMAPIDColumn" Header="ServiceID" IsVisible="False" DataMemberBinding="{Binding ServiceMAPID}"/> <telerik:GridViewDataColumn x:Name="ServiceSelectedColumn" Header="" DataMemberBinding="{Binding Selected, Mode=TwoWay}" IsReadOnly="True"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <CheckBox x:Name="ServiceSelectedCheckBox" IsChecked="{Binding Selected, Mode=TwoWay}" Tag="{Binding}"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <ei:CallMethodAction TargetObject="{Binding Path=DataContext, RelativeSource={RelativeSource AncestorType=sdk:ChildWindow}}" MethodName="UpdateCustomerUnitServiceSelected" /> </i:EventTrigger> </i:Interaction.Triggers> </CheckBox> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn x:Name="ServiceNameColumn" Header="Service" IsReadOnly="True" Width="198" DataMemberBinding="{Binding ServiceName}" /> <telerik:GridViewDataColumn x:Name="ServiceAmountColumn" Header="Amount" IsReadOnly="True" Width="80" DataMemberBinding="{Binding ServiceAmount}" TextAlignment="Right" DataFormatString="{}{0:C2}"/> </telerik:RadGridView.Columns>
In ASP.NET AJAX there doesn't appear to be a DataTemplate or anything similar?
Any hints on how I can get a RadCheckBox bound to a RadGrid datasource?
Cheers, Rob.
Does this control not support a node that has more than 1 parent?
--Org
--district one
--sales
--district two
--sales
where sales object is child of both district one and district two.
Hi,
i'm developing file management system using RadAsyncUpload with custom HttpHandler.
System is build with ASP.NET using .NET Framework version 4.6.1 and latest Telerik UI for ASP.NET Ajax.
Currently i'm using overridden Process-function in my HttpHandler to store the file in database. I have set DisableChunkUpload="true" and EnablePermissionsCheck="false" so it is not using temporary folder to buffer the file data. But it still buffers the data in memory (a guess) before calling Process-function.
Uploaded files can be large and there can be over 100 files uploading at once. So i wonder if there is a way to get the uploaded file's InputStream at beginning of the upload, so i can stream it directly to the database as it uploads. So whole file won't get buffered in WEB server at any point. As one can do with regular uploads like this:
Using Command As SqlCommand = New SqlCommand(String.Concat("INSERT INTO Dokuments(DokumData...) values (@DokumData...)"), connection)'Other params
Command.Parameters.Add("@DokumData", SqlDbType.Binary, -1).Value = oHttpPostedFile.InputStream 'oHttpPostedFile is from fileuploadconnection.Open()Command.ExecuteScalar()connection.Close()
Given the following definition in a Radgrid column:
<telerik:GridBinaryImageColumn DataField="ReceiptThumb" HeaderText="Receipt Image" UniqueName="ReceiptThumb" ResizeMode="Fit" ImageWidth="100" ImageHeight="100" />
What would be the best way to add a click event which would either 1) open a new window in a _blank target frame, or 2) open a radwindow on the same page -- to allow a full-size image of the thumbnail displayed in the grid to display?
... while not disturbing the in-place edit form insert/edit functionality?
