Hi,
I am using rad async upload controle, is it possible to get file size when file is dragged and dropped?
Hi,
I am going through an issue with Telerik controls, all my Telterik Control because disabled, like RadEditor, RadListBox and RadAutoComplete. I installed the Telerik Version=2016.1.113.35, before that I was having the Telerik Version=2015.2.623.45. After installing I converted all my Application and its related components from .Net 3.5 to .Net 4.0, now all my Telerik Controls became disabled, the ones which were working before also became disabled.
Any help what could the reason and solution for it, any think like a link, a code snippet or even a suggestion would be helpful.
Here is my code:
Hide Expand Copy Code
<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ResearchStudiesAdmin.Website.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radLongDesc" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-containers">
<pre>
<div class="demo-containers">
<telerik:RadEditor Height="300px" Width="700px" ID="radLongDesc" runat="server" ToolbarMode="Default"
StripFormattingOptions="all" ContentAreaMode="Div">
<tools>
<telerik:EditorToolGroup Tag="MainToolbar">
<telerik:EditorTool Name="Print" ShortCut="CTRL+P" />
<telerik:EditorTool Name="AjaxSpellCheck" />
<telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
<telerik:EditorTool Name="Cut" />
<telerik:EditorTool Name="Copy" ShortCut="CTRL+C" />
<telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
<telerik:EditorTool Name="FormatStripper" />
<telerik:EditorTool Name="PasteStrip" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" />
<telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup Tag="InsertToolbar">
<telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
<telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup Tag="Superscript">
<telerik:EditorTool Name="Subscript" />
<telerik:EditorTool Name="InsertParagraph" />
<telerik:EditorTool Name="InsertHorizontalRule" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />
<telerik:EditorTool Name="Italic" ShortCut="CTRL+I" />
<telerik:EditorTool Name="JustifyLeft" />
<telerik:EditorTool Name="JustifyCenter" />
<telerik:EditorTool Name="JustifyRight" />
<telerik:EditorTool Name="JustifyFull" />
<telerik:EditorTool Name="JustifyNone" />
<telerik:EditorTool Name="Indent" />
<telerik:EditorTool Name="Outdent" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="InsertOrderedList" />
<telerik:EditorTool Name="InsertUnorderedList" />
<telerik:EditorTool Name="ToggleTableBorder" />
</telerik:EditorToolGroup>
</tools>
</telerik:RadEditor>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Long Description."
CssClass="ErrorMsg" ControlToValidate="radLongDesc" ValidationGroup="vgSave" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</div>
Thanks in advance.
I have two RadDatePicker's. One holds a "date sent" value and another one a "date paid". The date sent value has to be before the date paid AND the date paid RadDatePicker has to be disabled until a date sent value has been set in a form. How would I achieve this? I thought a CompareValidator on the second control would prevent postback if the first input is empty but it seems that's not the case.
FYI I cannot use client side scripts on the same aspx page. I have a separate JavaScript folder that holds all my scripts and I cannot call $find("<%=RadDatePicker1.ClientID%>") .
Help would be greatly appreciated.
I have set all controls rendering mode to lightweight via the web config:
<add key="Telerik.Web.UI.RenderMode" value="lightweight" />
Running the site locally in chrome and in IE11 renders the output lightweight as as expected.
Once deployed to a server and set in IE as an intranet site, the controls are then rendered classic.
Chrome renders as lightweight, but IE seems then seems ignore this global setting in the web config. The page has the relevant meta tag to switch the document mode to IE=Edge but the rendered HTML is still in classic. Meaning all of our CSS is now useless.
Could someone please point out what I am missing here.
Thanks
Additional Info:
I am trying to show toolbar dropdown text like:
Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
This ends up with the following sourcecode:
<span class="rtbText rtbHidden">Per pagina</span>
What could be wrong here? Skin = Material 2016.2.607.45
Marc
Seems that in code behind the AllowFilteringByColumn property is always set to false at all phases of life cycle prior to the data binding stages. Code example like below for example is always returning me false.:
protected
void
Page_Load(sender se, EventArgs evt) // Master Page event
{
var grid = ControlHelper.FindControlByCIDRecursive<RadGrid>(Request[
"__EVENTTARGET"
], ContentPlaceHolder1); // Iterate content page to find all RadGrid
if
(grid !=
null
)
{
bool
rebind =
false
;
if
(grid.AllowFilteringByColumn)
foreach
(GridColumn column
in
grid.MasterTableView.Columns)
if
(column.CurrentFilterFunction!=GridKnownFunction.NoFilter) {
column.CurrentFilterFunction = GridKnownFunction.NoFilter;
column.CurrentFilterValue =
string
.Empty;
rebind =
true
;
}
if
(rebind)
{
grid.MasterTableView.FilterExpression =
string
.Empty;
grid.MasterTableView.Rebind();
}
}
}
Our requirement is to apply a certain DOM class to all grids site-wise. If AllowFilteringByColumn is not propertly populated before databinding is there another way to determine whether filtering is enabled?