or
Telerik.Web.UI.Editor.CommandList["InsertDIV"] = function (commandName, editor, args) { var argument = null, elem = editor.getSelectedElement(); //returns the selected element. if (elem && elem.tagName && elem.tagName == "DIV") { editor.selectElement(elem); argument = elem; } else { var l_sContent = editor.getSelectionHtml(); if (l_sContent == '') { l_sContent = 'Inhoud DIV...'; } var l_oDiv = editor.get_document().createElement("DIV"); l_oDiv.innerHTML = l_sContent; argument = l_oDiv; } var callbackInsertDIV = function (sender, args) { if (args != null) { var l_sStyle = "", l_sClass, l_sID, l_sContent = "Inhoud DIV..."; if (args.width && args.width != '') { l_sStyle += 'width:' + args.width + ';' } if (args.height && args.height != '') { l_sStyle += 'height:' + args.height + ';' } if (args.padding && args.padding != '') { l_sStyle += 'padding:' + args.padding + ';' } if (args.margin && args.margin != '') { l_sStyle += 'margin:' + args.margin + ';' } if (l_sStyle.length > 0) { l_sStyle = " style='" + l_sStyle + "'" } if (args.class && args.class != '') { l_sClass = " class='" + args.class + "'" } if (args.id && args.id != '') { l_sID = " id='" + args.id + "'" } if (args.content && args.content != '') { l_sContent = args.content } var l_sHtml = String.format("<div{0}{1}{2}>" + l_sContent + "</div>", l_sStyle, l_sClass, l_sID); editor.pasteHtml(l_sHtml); } } editor.showExternalDialog( 'RadEditor/dlgInsertDIV.aspx', argument, 600, 250, callbackInsertDIV, null, 'DIV element invoegen/wijzigen', true, Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Resize, false, true); };


<telerik:RadComboBox ID="selObjectsName" CssClass="nonavigate" CollapseDelay="1000000000" CloseDropDownOnBlur="false" ShowToggleImage="false" HighlightTemplatedItems="true" MinFilterLength="3" OnSelectedIndexChanged="ComboBox_OnSelectedIndexChanged" runat="server" EnableLoadOnDemand="true" AllowCustomText="true" DropDownWidth="650px" MaxHeight="188px" ExpandDirection="Down" ShowDropDownOnTextboxClick="false" Style="width: 500px !important" OnItemsRequested="IncrementalSearchEvent" OnItemDataBound="ComboBox_ItemDataBound" AutoPostBack="true" EnableScreenBoundaryDetection="false" CausesValidation="false" > <HeaderTemplate> <table border="0" width="100%"> <tr> <td width="20"> </td> <td width="90"> ID </td> <td width="200"> Family Name </td> <td width="190"> Current Division </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table border="0" width="100%"> <tr style="cursor: pointer"> <td width="20"> <img src="<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>" alt="" /> </td> <td width="90"> <%# DataBinder.Eval(Container.DataItem, "FamilyId")%> </td> <td width="200"> <%# DataBinder.Eval(Container.DataItem, "FamilyName")%> </td> <td width="190"> <%# DataBinder.Eval(Container.DataItem, "Division")%> </td> </table> </ItemTemplate> <FooterTemplate> <asp:Button ID="btnAddFamily" runat="server" Text="No Match Found - Add as New Family" CssClass="button-blue" Width="565px" OnClick="btnAddFamily_OnClick" CausesValidation="false" Style="margin-bottom: 5px" /> </FooterTemplate> </telerik:RadComboBox>
void tabsDescriptions_Reordered(object sender, RadTabStripReorderedEventArgs e){ int descriptionId = (int.Parse(e.Tab.Value)); int destinationIndex = (e.Tab.Index + e.Offset); int destinationId = int.Parse(tabsDescriptions.Tabs[destinationIndex].Value); if (e.Offset > 0) //moving after destination { ProductDescriptionsController.MoveProductDescriptionAfter(descriptionId, destinationId, int.Parse(txtProductId.Text), System.Threading.Thread.CurrentThread.CurrentUICulture.Name); } else //moving before destination { ProductDescriptionsController.MoveProductDescriptionBefore(descriptionId, destinationId, int.Parse(txtProductId.Text), System.Threading.Thread.CurrentThread.CurrentUICulture.Name); }}