or
Are there any other ways that people out there could think of to get this to work... Biggest problem is that the ItemCreated event gets fired before PageLoad on Postback. I think I will proceed with the Cookie method as it allows for performance but there would be the problem that people with Cookies disabled would not be able to use the system... well they could use it... but the Viewstate not storing entered userdata on dynamically created usercontrols on first appearance would still rear it's ugly head...
Any smart people out there with any other ideas???
<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Telerik"> <CssFiles> <telerik:EditorCssFile Value="~/Styles/editor.css" /> </CssFiles> <CssClasses> <telerik:EditorCssClass Name="Sample" Value=".sample" /> </CssClasses> <Tools> <telerik:EditorToolGroup Tag="Formatting"> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="Italic" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorDropDown Name="FormatBlock"> </telerik:EditorDropDown> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorDropDown Name="ApplyClass"> </telerik:EditorDropDown> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorTool Name="Indent" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup Tag="MainToolbar"> <telerik:EditorSplitButton Name="Undo"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="Redo"> </telerik:EditorSplitButton> <telerik:EditorSeparator /> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" /> </telerik:EditorToolGroup> </Tools> <Content></Content></telerik:RadEditor>body { background: #ffffff;}.sample { color: Red;}
<!-- windows --><telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableViewState="true"> <Windows> <telerik:RadWindow ID="RadWindow1" runat="server" Height="600" Width="900" Title="Order Maintenance" KeepInScreenBounds="True" VisibleTitlebar="true" Modal="true" DestroyOnClose="False" ReloadOnShow="true" Behaviors="Close, Maximize, Move, Resize" InitialBehaviors="Maximize" /> </Windows></telerik:RadWindowManager><!-- javascript --><telerik:RadScriptBlock ID="RadScriptBlock2" runat="server"> <script type="text/javascript"> //<![CDATA[ function orderMaintenanceOpenWindow(ordNbr) { var winurl = "OrdersMaintenance.aspx?ordernbr=" + ordNbr; var oWnd = radopen(winurl, "orderMaintenanceWindow"); oWnd.maximize(); return false; } //]]> </script></telerik:RadScriptBlock>