or
Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As UI.RadTabStripEventArgs)Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs) <system.web> <compilation debug="true" targetFramework="4.0" /> <authentication mode="Forms"> <forms name=".ASPXAUTH" timeout="60" /> </authentication> <authorization> <allow users="*" /> </authorization> <httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule,System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" /> </httpModules> <httpHandlers> <add verb="POST,GET" path="csharpwrapper/*.ashx" type="Ajax.PageHandlerFactory, Ajax" /> <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> <remove verb="*" path="*.asmx" /> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2011.2.1018.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> </httpHandlers> <httpRuntime executionTimeout="240000" maxRequestLength="102400" requestValidationMode="2.0" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <remove name="ScriptModule" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> <handlers> <remove name="dot open" /> <remove name="Telerik_Web_UI_DialogHandler_aspx" /> <remove name="Telerik_Web_UI_SpellCheckHandler_axd" /> <remove name="WebServiceHandlerFactory-Integrated" /> <remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /> <remove name="ScriptResource" /> <remove name="Telerik_Web_UI_WebResource_axd" /> <add name="dot open" path="*.open" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" /> <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" /> <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> </handlers> <security> <requestFiltering> <requestLimits maxAllowedContentLength="100000000" /> </requestFiltering> </security> </system.webServer></configuration>I have a AsyncUpload and RadProgressArea on a page that is loaded into a RadWindow all works fine until I call
GetRadWindow().autoSize(true);<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><telerik:RadEditor runat="server" ID="radeditorSendEmail" LocalizationPath="~/App_GlobalResources/"> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="InsertParagraph" /> <telerik:EditorTool Name="FormatBlock"/> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyCenter" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull" /> <telerik:EditorTool Name="JustifyNone" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertHorizontalRule" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="InsertTable" /> <telerik:EditorTool Name="InsertSymbol" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="ConvertToUpper" /> <telerik:EditorTool Name="ConvertToLower" /> <telerik:EditorTool Name="Cut" ShortCut="CTRL+X"/> <telerik:EditorTool Name="Copy" ShortCut="CTRL+C"/> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V"/> <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z"/> <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y"/> <telerik:EditorSeparator /> <telerik:EditorTool Name="Bold" ShortCut="CTRL+B"/> <telerik:EditorTool Name="Italic" ShortCut="CTRL+I"/> <telerik:EditorTool Name="Underline" ShortCut="CTRL+U"/> <telerik:EditorTool Name="StrikeThrough" /> <telerik:EditorTool Name="Superscript" /> <telerik:EditorTool Name="Subscript" /> <telerik:EditorTool Name="FontName"/> <telerik:EditorTool Name="FontSize"/> <telerik:EditorTool Name="ForeColor"/> <telerik:EditorTool Name="BackColor"/> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor>

e.Item.OwnerTreeList.EditFormSettings.UserControlPath = "
MyControl.ascx
";
e.Item.OwnerTreeList.InsertChildItem((TreeListDataItem)e.Item, newFilterResult); | <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" GridLines="None" |
| Skin="Forest" AutoGenerateColumns="False" GroupingEnabled="False" ShowStatusBar="True" |
| Width="100%" Height="300px" EnableViewState="False"> |
| <MasterTableView ClientDataKeyNames="bl_id,fl_id,rm_id" TableLayout="Fixed" EnableViewState="False" |
| AllowNaturalSort="True" AllowFilteringByColumn="false"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="bl_id" AllowSorting="false" |
| HeaderText="Building" ReadOnly="True" ShowFilterIcon="False" UniqueName="bl_id"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="fl_id" AllowSorting="false" |
| HeaderText="Floor" ReadOnly="True" ShowFilterIcon="False" UniqueName="fl_id"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="rm_id" SortExpression="rm_id" |
| HeaderText="Room" ReadOnly="True" ShowFilterIcon="False" UniqueName="rm_id"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="name" SortExpression="name" |
| HeaderText="Name" ReadOnly="True" ShowFilterIcon="False" UniqueName="name"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="use" SortExpression="rm_use" |
| HeaderText="Use" ReadOnly="True" ShowFilterIcon="False" UniqueName="use"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="rmtype" SortExpression="rmtype" |
| HeaderText="Type" ReadOnly="True" ShowFilterIcon="False" UniqueName="rmtype"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="capacity" SortExpression="capacity" |
| HeaderText="Capacity" ReadOnly="True" ShowFilterIcon="False" UniqueName="capacity"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn AllowFiltering="False" DataField="area" SortExpression="rm.area" |
| HeaderText="Area" ReadOnly="True" ShowFilterIcon="False" UniqueName="area"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings> |
| <DataBinding CountPropertyName="" MaximumRowsParameterName="" |
| StartRowIndexParameterName="" SelectMethod="GetRoomList" |
| Location="services/SjeccdSpaceWebService.asmx" FilterParameterName="filter" |
| FilterParameterType="Linq" SortParameterName="sort" SortParameterType="Linq"> |
| </DataBinding> |
| <Selecting EnableDragToSelectRows="False" AllowRowSelect="True" /> |
| <ClientEvents OnCommand="CheckStuff" /> |
| <Scrolling AllowScroll="True" UseStaticHeaders="True" EnableVirtualScrollPaging="false" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| <script id="sample" language="javascript" type="text/javascript"> |
| function CheckStuff(sender, args) { |
| //cancel the default command to prevent postback/ajax request |
| //var sortExpressions = sender.get_masterTableView().get_sortExpressions(); |
| if (args.get_commandName() == 'Sort'){ |
| args.set_cancel(true); |
| //get data and update grid; |
| } |
| alert(args.get_cancel()); //+ sortExpressions.toString()); |
| } |
| </script> |