
My problems are the following:
I have a RadGrid that contains child grid, and is working perfectly, however, at the export to ExcelML I need to add a header, I use for this purpose the ExcelMLExportRowCreated checking only if it is a HeaderRow, however, and since I also have child grids, so there are multiple HeaderRows adding the header multiple times. Is there any way to check if it's masterTable or not?
In addition to this I also have a problem in formatting the child grids to pdf. To apply the style that is currently on the grid used I set UseItemStyles = true however only works properly in the master. Is there any way to use the style applied in child grids also in the export?
Thank you
<div id="ctl00_cphMain_fv_reSupervisorNotes" class="RadEditor Default reWrapper" style="height: auto; width: 100%; min-height: 100px; min-width: 856px;"><div id="ctl00_cphMain_fv_reSupervisorNotes_dialogOpener" style="display:none;"><div class="reRibbonBarWrapper"></div><table id="ctl00_cphMain_fv_reSupervisorNotesWrapper" cellspacing="0" cellpadding="0" style="table-layout:auto;width:100%;height:100px;"><div id="ctl00_cphMain_fv_reSupervisorNotes_InsertLink" class="reInsertLinkWrapper" style="display: none;"><table class="reControlsLayout" cellspacing="0" cellpadding="0" border="0"></div><input id="ctl00_cphMain_fv_reSupervisorNotes_ClientState" type="hidden" name="ctl00_cphMain_fv_reSupervisorNotes_ClientState" autocomplete="off"></div><telerik:RadEditor ID="reSupervisorNotes" runat="server" EditModes="Design" ContentAreaMode="Div" NewLineMode="P" ToolsFile="~/App_Data/RadEditor/Tools.xml" ToolbarMode="ShowOnFocus" AutoResizeHeight="true" Height="100px" Width="100%" Content="<%# Bind('SupervisorNotes') %>" OnClientLoad="RadEditorOnClientLoad"> <Languages> <telerik:SpellCheckerLanguage Code="en-GB" Title="English UK" /> </Languages></telerik:RadEditor><?xml version="1.0" encoding="utf-8" ?><root> <modules> <module name="RadEditorHtmlInspector" enabled="false" visible="false" dockingzone="bottom" /> <module name="RadEditorNodeInspector" enabled="false" visible="false" dockingzone="bottom" /> <module name="RadEditorDomInspector" enabled="false" visible="false" dockingzone="bottom" /> <module name="RadEditorStatistics" enabled="false" visible="false" dockingzone="bottom" /> </modules> <tools> <tool name="Bold" shortcut="CTRL+B"/> <tool name="Italic" shortcut="CTRL+I"/> <tool name="Underline" shortcut="CTRL+U"/> <tool separator="true"/> <tool name="ForeColor"/> <tool name="BackColor"/> <tool separator="true"/> <tool name="JustifyLeft"/> <tool name="JustifyCenter"/> <tool name="JustifyRight"/> <tool separator="true"/> <tool name="Indent"/> <tool name="Outdent"/> <tool separator="true"/> <tool name="InsertOrderedList"/> <tool name="InsertUnorderedList"/> <tool separator="true"/> <tool name="InsertLink" shortcut="CTRL+K"/> <tool name="InsertSymbol"/> </tools> <tools name="DropdownToolbar"> <tool name="FontName"/> <tool name="RealFontSize" text="Size"/> </tools> <tools enabled="true"> <tool name="Undo" shortcut="CTRL+Z"/> <tool name="Redo" shortcut="CTRL+Y"/> <tool separator="true"/> <tool name="Cut" shortcut="CTRL+X"/> <tool name="Copy" shortcut="CTRL+C"/> <tool name="Paste" shortcut="CTRL+V"/> <tool separator="true"/> <tool name="Print" shortcut="CTRL+P"/> <tool name="FindAndReplace" shortcut="CTRL+F"/> <tool name="SelectAll" shortcut="CTRL+A"/> <tool separator="true"/> <tool name="AjaxSpellCheck" shortcut="F7"/> <tool name="ToggleScreenMode" shortcut="F11"/> </tools></root>
Hello,
I want to check Remove of RadAsyncUpload is clicked or not to set textbox(ruFakeInput) width according to that condition.
My script is
$telerik.$(document).ready(function() { setTimeout(function() { var btnRemove = document.getElementById("<%= btnRomovePhoto.ClientID %>"); if (btnRemove) { $('input.ruFakeInput').css("width", "120px"); } else { $('input.ruFakeInput').css("width", "191px"); } //here i check .ruRemove is clicked or not and set 'ruFakeInput' width }, 200); });
i try this way
$telerik.$("button [name=RowRemove]").click(function() { alert('click'); });
and
$telerik.$(".RadUpload .ruRemove").click(function() {alert('click');//here set $('input.ruFakeInput').css("width", "120px");
});