or
<telerik:RadMultiPage ID="RadMultiPage1" runat="server"> <telerik:RadPageView ID="RadPageViewIntro" runat="server" Selected="true"> <li><asp:Label ID="Label1" runat="server" Text="Due at(time) hours:" AssociatedControlID="lsthh"></asp:Label> <telerik:RadComboBox ID="lsthh" runat="server" AppendDataBoundItems="True" AutoPostBack="True" CausesValidation="False" OnSelectedIndexChanged="lsthh_SelectedIndexChanged" Width="50px" MaxLength="50"> <Items><telerik:RadComboBoxItem Text="Choose One..." Value="0" Selected="True" /> <telerik:RadComboBoxItem runat="server" Text="to be allocated" Value="1" /><telerik:RadComboBoxItem runat="server" Text="shared" Value="2" /></Items></telerik:RadComboBox> <asp:RequiredFieldValidator ID="RFV_lsthh" runat="server" ValidationGroup="Visitor" InitialValue="Choose One..." ControlToValidate="lsthh" ErrorMessage="Please enter time in hours of visit">*</asp:RequiredFieldValidator> <b>:</b> <telerik:RadComboBox ID="lstmm" runat="server" AppendDataBoundItems="True" AutoPostBack="True" CausesValidation="False" OnSelectedIndexChanged="lstmm_SelectedIndexChanged" Width="50px"> <Items><telerik:RadComboBoxItem Text="Choose One..." Value="0" Selected="True" /> <telerik:RadComboBoxItem runat="server" Text="to be allocated" Value="1" /><telerik:RadComboBoxItem runat="server" Text="shared" Value="2" /></Items></telerik:RadComboBox> <asp:RequiredFieldValidator ID="RFV_lstmm" runat="server" ValidationGroup="Visitor" InitialValue="Choose One..." ControlToValidate="lstmm" ErrorMessage="Please enter time in minutes of visit">*</asp:RequiredFieldValidator></li> </li> <li><asp:ValidationSummary ID="validationSummary1" runat="server" ValidationGroup="Visitor" /> <asp:Button ID="bnVistors" runat="server" CausesValidation="true" OnClick="bnVisitors_Click" Text="Next" ValidationGroup="Vistor" /></li></ol></telerik:RadPageView> <telerik:RadAjaxManager runat="server" ID="radAjaxManager"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="imgbtnSubmit"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rgrdInstances" LoadingPanelID="radLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="rgrdInstances"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rgrdInstances" LoadingPanelID="radLoadingPanel" /> <telerik:AjaxUpdatedControl ControlID="litAlert" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditorTest.ascx.cs" Inherits="EditorTest" %><%@ OutputCache Duration="3600" VaryByParam="none" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <telerik:RadEditor Height="300px" ID="RadEditor1" EnableResize="false" style="margin-top: 50px" ToolbarMode="ShowOnFocus" EnableViewState="false" runat="server" EditModes="Design"> <Modules> <telerik:EditorModule Visible="false" /> </Modules> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="AjaxSpellCheck" /> <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" /> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" /> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" /> <telerik:EditorTool Name="PasteStrip" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" /> <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" /> <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:EditorSeparator /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyCenter" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull" /> <telerik:EditorTool Name="JustifyNone" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="ToggleTableBorder" /> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor>
Hi,
We created a custom skin for RadSlider, but it is not working. We are using sitefinity v.3.7 . We followed the istructions in the documentations. Do you have an example project or demonstation for how to implement a custom skin for RadSlider.
Thanks in advance..
<telerik:RadGrid ID="VendProdGrid" GridLines="None" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="False" AllowAutomaticUpdates="False" PageSize="10" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="VendProdGridSource" OnItemUpdated="VendProdGrid_ItemUpdated" OnItemDeleted="VendProdGrid_ItemDeleted" OnItemInserted="VendProdGrid1_ItemInserted" OnItemCommand="VendProdGrid_ItemCommand" OnUpdateCommand="VendProdGrid_Update" OnDataBound="VendProdGrid_DataBound" EnableEmbeddedScripts="false"> <PagerStyle Mode="NextPrevAndNumeric" /> <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" DataKeyNames="VProductID" DataSourceID="VendProdGridSource" HorizontalAlign="NotSet" AutoGenerateColumns="False"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" /> <telerik:GridTemplateColumn UniqueName="TemplateColumn"> <HeaderTemplate> <strong>Product Type</strong> </HeaderTemplate> <ItemTemplate> <strong><%# DataBinder.Eval(Container.DataItem, "VProductType")%></strong><br /> <em><%# DataBinder.Eval(Container.DataItem, "VProductDescription")%></em> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="SupplierName" HeaderText="Supplier" SortExpression="SupplierName" UniqueName="SupplierName"></telerik:GridBoundColumn> <telerik:GridButtonColumn CommandName="Delete" ButtonType="ImageButton" /> </Columns> <EditFormSettings EditFormType="Template"> <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> <FormTemplate> <table cellspacing="2" cellpadding="1" width="100%" border="0"> <tr> <td>Supplier:</td> <td> <telerik:RadComboBox ID="SupplierCB" runat="server" DropDownWidth="300" DataSourceID="SQLSupplierSource" DataValueField="SupplierID" DataTextField="SupplierName" AppendDataBoundItems="false" EnableLoadOnDemand="false" > </telerik:RadComboBox> </td> </tr> <tr> <td> Product Type: </td> <td> <telerik:RadComboBox ID="VProductTypeCB" runat="server" DropDownWidth="300" DataSourceID="SQLVendorProductTypeList" DataValueField="VProductTypeID" DataTextField="VProductType" AppendDataBoundItems="false" EnableLoadOnDemand="false" > </telerik:RadComboBox> </td> </tr> <tr> <td> Description:</td> <td> <asp:textbox runat="server" id="VProductDescriptionEdit" causesvalidation="False" textmode="MultiLine" width="300px" uniqueid="VProductDescriptionEdit" rows="5" text='<%# DataBinder.Eval(Container.DataItem, "VProductDescription") %>' ></asp:textbox> </td> </tr> <tr> <td> Limitations:</td> <td> <asp:textbox runat="server" id="VProductLimitationsEdit" CausesValidation="False" TextMode="MultiLine" Width="300px" UniqueID="VProductLimitationsEdit" Rows="5" Text='<%# DataBinder.Eval(Container.DataItem, "VProductLimitations") %>' ></asp:textbox> </td> </tr> <tr> <td> Reference Standards:</td> <td> <asp:textbox runat="server" id="VRefStandardEdit" CausesValidation="False" TextMode="MultiLine" Width="300px" UniqueID="VRefStandardEdit" Rows="5" Text='<%# DataBinder.Eval(Container.DataItem, "VRefStandard") %>' ></asp:textbox> </td> </tr> <tr> <td colspan="2"> <asp:Button ID="Button1" runat="server" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:Button> <asp:Button ID="Button2" runat="server" Text="Cancel" CausesValidation="false" CommandName="Cancel"></asp:Button> </td> </tr> </table> </FormTemplate> </EditFormSettings> </MasterTableView></telerik:RadGrid>protected void VendProdGrid_Update(object source, GridCommandEventArgs e) { if (e.CommandName == RadGrid.UpdateCommandName) { if (e.Item is GridEditFormItem) { GridEditFormItem item = (GridEditFormItem)e.Item; int id = Convert.ToInt32(item.GetDataKeyValue("VProductID")); if (id != 0) { RadComboBox SupplierCB = item.FindControl("SupplierCB") as RadComboBox; RadComboBox VProductTypeID = item.FindControl("VProductTypeCB") as RadComboBox; TextBox VProductDescription = item.FindControl("VProductDescriptionEdit") as TextBox; TextBox VProductLimitations = item.FindControl("VProductLimitationsEdit") as TextBox; TextBox VRefStandard = item.FindControl("VRefStandardEdit") as TextBox; try { VendProdGridSource.UpdateParameters.Add("SupplierID", TypeCode.Int32, SupplierCB.SelectedValue.ToString()); VendProdGridSource.UpdateParameters.Add("VProductTypeID", TypeCode.Int32, VProductTypeID.SelectedValue.ToString()); VendProdGridSource.UpdateParameters.Add("VProductDescription", TypeCode.String, VProductDescription.Text); VendProdGridSource.UpdateParameters.Add("VProductLimitations", TypeCode.String, VProductLimitations.Text); VendProdGridSource.UpdateParameters.Add("VRefStandard", TypeCode.String, VRefStandard.Text); VendProdGridSource.Update(); // //e.KeepInEditMode = false; //e.ExceptionHandled = true; SetMessage("New Product Type " + id + " is updated!"); } catch (Exception ex) { // e.ExceptionHandled = true; SetMessage("Product Type " + id + " cannot be updated. Reason: " + ex.Message); } // e.Canceled = true; VendProdGrid.Rebind(); } } } }