For the asp web controls, we can use something like "height:calc(100% - 20px)" to define the height and width.
However when I tried to use it for telerik control:
Height="calc(100%-20px)"
I got parser error.
Thanks.

Hi,
I have a bunch of controls in a table, the problem I have is that the bottom padding seems to add 2 pixels, so every combobox is too separated from others controls, and I cannot change that padding.
You can see what I mean in the picture attached.
Thanks
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuestionDesigner.aspx.cs" MasterPageFile="~/Enigma/Masters/Main.master" Inherits="Enigma_QuestionDesigner" EnableEventValidation="false" ValidateRequest="false" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server"> <Scripts> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Common/Core.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Upload/RadProgressManager.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Common/jQuery.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Common/jQueryPlugins.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Upload/RadUpload.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/AsyncUpload/RadAsyncUploadScripts.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Common/Popup/PopupScripts.js" /> <asp:ScriptReference Path="~/Enigma/Telerik/Scripts/Upload/RadProgressArea.js" /> </Scripts></asp:ScriptManager><asp:UpdatePanel ID="upQuestionSection" runat="server" UpdateMode="Conditional"> <ContentTemplate> <div> <telerik:RadAsyncUpload ID="fileNodeDefinition" runat="server" MaxFileInputsCount="1" AllowedFileExtensions=".xml" MaxFileSize="52428800"> </telerik:RadAsyncUpload> </div> </ContentTemplate></asp:UpdatePanel></asp:Content>Below is Cs File Codepublic void btnSave_Click(object sender,EventArgs e) { string filePath; if (fileNodeDefinition.UploadedFiles.Count > 0) { string file = fileNodeDefinition.UploadedFiles[0].FileName; filePath = HttpContext.Current.Server.MapPath(".\\Upload\\") + file; fileNodeDefinition.UploadedFiles[0].SaveAs(filePath); fileNodeDefinition.UploadedFiles.Clear(); fileNodeDefinition = null; } }What I'm looking to accomplish is an application that allows a user to mark a document/Draw on it and have that document be stored on the server as a PDF or image file for archiving.
I'm using Visual Studio 2013 with .net 4.6.1 and it's a webforms project in ASP/C#.
The general flow is:
1. Webform served and filled out with relevant information (text boxes. drop downs, etc).
2. ** Completed webform saved as an image by user button press and either sent to directory on server or streamed to RadImageEditor.
3. Image loaded into RadImageEditor
4. User draws/writes on image.
5. RadImageEditor saves updated image in temp directory.
6. Updated image saved on server as PDF with RadPDFProcessing.
I have most of the steps working/complete, I'm only missing a crucial step #2. I cannot seem to figure out how to save a ClientExport image to be loaded into the RadImageEditor.
Even if I have to cache the file locally on a users pc, that is ok but I would prefer server if that's possible. I just need to be able to perform this functionality without needing direct user intervention between steps 1 and 6.
I read through the documentation on saving a pdf here http://docs.telerik.com/devtools/aspnet-ajax/controls/clientexportmanager/client-side-programming/events/pdfexporting but was unable to get it to work. I kept getting iis tracelog xml files that would report failed requests with code 200.
Any help or pointing in the right direction would be greatly appreciated.
Partial Class valtest Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub uiCEUsOffered_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles uiCEUsOffered.CheckedChanged RequiredFieldValidator11.Enabled = uiCEUsOffered.Checked RequiredFieldValidator11.EnableClientScript = uiCEUsOffered.Checked End SubEnd Class<div> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="right" class="body-text-17" valign="top"> CEUs offered: </td> <td align="right" class="body-text-17"> </td> <td align="left"> <asp:CheckBox ID="uiCEUsOffered" runat="server" Text="Yes" CssClass="body-text-17" AutoPostBack="True" /> </td> </tr> <tr> <td colspan="3" align="right" class="body-text-17"> <img src="/images/spacer-transparent.gif" height="4"> </td> </tr> <tr> <td align="right" class="body-text-17" valign="top"> if so, what type and information on how to register: </td> <td align="right" class="body-text-17"> </td> <td align="left"> <asp:TextBox ID="uiCEUsRegisterInfo" runat="server" CssClass="field-resource-mission" Height="81px" TextMode="MultiLine"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="uiCEUsRegisterInfo" Enabled="False" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator> </td> </tr> <tr> <td height="30" colspan="3" align="right" class="body-text-17"> </td> </tr> <tr> <td align="right" class="body-text-17" valign="top"> what to bring: </td> <td align="right" class="body-text-17"> </td> <td align="left"> <asp:TextBox ID="uiWhatToBring" runat="server" CssClass="field-resource-mission" Height="81px" TextMode="MultiLine"></asp:TextBox> <asp:RequiredFieldValidator ID="Validator8" runat="server" Display="Dynamic" ErrorMessage="Required" ControlToValidate="uiWhatToBring" CssClass="validation-error" ForeColor=""></asp:RequiredFieldValidator> </td> </tr> <tr> <td height="30" colspan="3" align="right" class="body-text-17"> </td> </tr> <tr> <td align="right" class="body-text-17"> </td> <td align="right" class="body-text-17"> </td> <td align="left"> <asp:Button ID="uiSubmit" runat="server" Text="Submit" /> <asp:Button ID="uiCancel" runat="server" Text="Cancel" Visible="False" /> </td> </tr> </table> <br /> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePageHeadUpdate="False"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="uiCEUsOffered"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RequiredFieldValidator11" UpdatePanelRenderMode="Inline" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <br /><br /><br /> <br /> </div>I have a RadGrid using export settings for a PDF. I need to have the PDF PageHeader take a dynamic value based on some input data.
EX:
<ExportSettings>
<Pdf PageHeight="11in" PageWidth="8.5in" >
<PageHeader>
<MiddleCell Text = <dynamic data
here> />
</PageHeader>
</Pdf>
</ExportSettings>
Any help would be appreciated.
Thank you

I'm trying to change the color of certain items in my listbox in the filtering item to be red if the item contains parenthesis. I am doing a simple databind to populate my listbox in the FilterCheckListItemsRequested event from a datatable which I populate myself.
e.ListBox.DataSource = dtDataForFiltering; //DataTablee.ListBox.DataKeyField = datafield;e.ListBox.DataTextField = datafieldtext;e.ListBox.DataValueField = datafield;e.ListBox.DataBind();
This is working fine. Now I am trying to find out how to alter the items in the listbox after it has been filled with data. I tried looping through it's items and setting the color, but I am not sure if I am doing this correctly or if this is the correct place to do it. Any help would be appreciated.
Please see image attached. I am trying to alter items in my filter to be red if in parenthesis, just like the grid in the background.

I have a RadComboBox with miltiselect checkboxes.
<telerik:RadComboBox ID="rcbCAMs" runat="server" AppendDataBoundItems="true" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" Skin="WebBlue" Width="200px" OnSelectedIndexChanged="rcbCAMs_SelectedIndexChanged" AutoPostBack="true" ></telerik:RadComboBox>
I'm binding the RadComboBox with a databind in C#
protected void BindToDataTableCAMs(RadComboBox combo) { CAPData dataSet = new CAPData(); DataTable dtCAMs = new DataTable(); dtCAMs = dataSet.GetProjectCAMs(tbProjects.Text); if (dtCAMs.Rows.Count != 0) { combo.DataTextField = "Manager"; combo.DataValueField = "Manager"; combo.DataSource = dtCAMs; } combo.DataBind(); }
How do I set the default to be Check All on the initial load?

Hello,
I used javascript to change the button text to 'Processing' onclientclick. But for the button to export excel, it didn't change back to the original text after RadGridview ExporttoExcel function. Can you help me what to solve it?