Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
78 views
Hi,

I have a FormTemplate with a tabstrip containing 2 tabs.
Depending on a condition, the 2nd tab is hidden in code behind.
However, in IE8 the content of this 2nd hidden tab is visible immediately below the bottom of the popup.
This behavior is NOT present in Firefox, Chrome or Safari.

I have attached a screenshot showing the issue.

I have included the declaration for the FormTemplate as well:
<FormTemplate>
    <div id="divEdit" runat="server" class="formTemplate" style="height: 520px;">
        <div style="margin-bottom: 4px;">
            <telerik:RadButton ID="btnQSAddUpdate" runat="server" Text="Update" CommandName="Update">
            </telerik:RadButton>
            <telerik:RadButton ID="btnQSCancel" runat="server" Text="Cancel" CausesValidation="False"
                CommandName="Cancel">
            </telerik:RadButton>
        </div>
        <telerik:RadTabStrip runat="server" ID="tabTaskJournal" MultiPageID="Multipage1"
            SelectedIndex="0">
            <Tabs>
                <telerik:RadTab runat="server" ID="tabMessages" Text="Start/End Messages" PageViewID="pagMessages"
                    Selected="true">
                </telerik:RadTab>
                <telerik:RadTab runat="server" ID="tabDemographics" Text="Demographics" PageViewID="pagDemographics"
                 OnPreRender="tabDemographics_PreRender">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="false">
            <telerik:RadPageView runat="server" ID="pagMessages">
                <table class="formTemplateTable">
                    <tr>
                        <td style="width: 30%;">
                             
                             
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left;">
                            <asp:Label ID="lblBegin" runat="server" ToolTip="Specify the start message that will appear at the beginning of the assessment"
                                Text="Start Content" Font-Size="Small" Font-Bold="true"></asp:Label>
                            <asp:RequiredFieldValidator ID="valStartMsg" runat="server" ControlToValidate="edtBeginMsgRichText"
                                ErrorMessage="** REQUIRED **"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <telerik:RadEditor EnableEmbeddedSkins="true" Skin="Vista" ID="edtBeginMsgRichText"
                                runat="server" EnableAjaxSkinRendering="true" Content='<%# Bind("BeginContent") %>'
                                Width="740px" Height="200px" ImageManager-ViewPaths='<%# (string[])Session["currentCustomerImagesViewPath"] %>'
                                ImageManager-UploadPaths='<%# (string[])Session["currentCustomerImagesUploadPath"] %>'
                                ExternalDialogsPath="~/EditorDialogs" ToolTip="Specify the start message that will appear at the beginning of the assessment">
                                <Tools>
                                    <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>
                                    <telerik:EditorToolGroup Tag="Formatting">
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorSplitButton Name="ForeColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="BackColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSeparator />
                                        <telerik:EditorDropDown Name="FontName">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="FontSize">
                                        </telerik:EditorDropDown>
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Alignment">
                                        <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:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Tables">
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="ToggleTableBorder" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Lists">
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertHorizontalRule" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="ImagesAndLinks">
                                        <telerik:EditorTool Name="InsertLink" />
                                        <telerik:EditorTool Name="Unlink" />
                                        <telerik:EditorTool Name="ImageManager" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Spell">
                                        <telerik:EditorTool Name="AjaxSpellCheck" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                            </telerik:RadEditor>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left;">
                            <asp:Label ID="Label1" runat="server" ToolTip="Specify the start message that will appear at the end of the assessment"
                                Text="End Content" Font-Size="Small" Font-Bold="true"></asp:Label>
                            <asp:RequiredFieldValidator ID="valEndMsg" runat="server" ControlToValidate="edtEndMsgRichText"
                                ErrorMessage="** REQUIRED **"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <telerik:RadEditor EnableEmbeddedSkins="true" Skin="Vista" ID="edtEndMsgRichText"
                                runat="server" EnableAjaxSkinRendering="true" Content='<%# Bind("EndContent") %>'
                                Width="740px" Height="200px" ImageManager-ViewPaths='<%# (string[])Session["currentCustomerImagesViewPath"] %>'
                                ImageManager-UploadPaths='<%# (string[])Session["currentCustomerImagesUploadPath"] %>'
                                ExternalDialogsPath="~/EditorDialogs" ToolTip="Specify the start message that will appear at the end of the assessment">
                                <Tools>
                                    <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>
                                    <telerik:EditorToolGroup Tag="Formatting">
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorSplitButton Name="ForeColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="BackColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSeparator />
                                        <telerik:EditorDropDown Name="FontName">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="FontSize">
                                        </telerik:EditorDropDown>
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Alignment">
                                        <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:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Tables">
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="ToggleTableBorder" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Lists">
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertHorizontalRule" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="ImagesAndLinks">
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="InsertLink" />
                                        <telerik:EditorTool Name="Unlink" />
                                        <telerik:EditorTool Name="ImageManager" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup Tag="Spell">
                                        <telerik:EditorTool Name="AjaxSpellCheck" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                            </telerik:RadEditor>
                        </td>
                    </tr>
                </table>
            </telerik:RadPageView>
            <telerik:RadPageView runat="server" ID="pagDemographics">
                 
                <table style="width:90%; border-color:Teal; border-width:2px; border-style:solid; margin:25px; padding:10px; ">
                    <tr>
                        <td style="width: 50%; background-color:#ADDBF7;">
                            <asp:Label ID="Label2" runat="server" Text="Field Name" Font-Bold="true"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#ADDBF7;">
                            <asp:Label ID="Label3" runat="server" Text="Capture" Font-Bold="true"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#ADDBF7;">
                            <asp:Label ID="Label4" runat="server" Text="Mandatory" Font-Bold="true"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:White;">
                            <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkFirstName_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" OnPreRender="chkFirstName_Vis_Prerender">
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkFirstName_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; border-color:Teal; background-color:#EFEFF7;">
                            <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkLastName_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkLastName_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:White;">
                            <asp:Label ID="lblCompany" runat="server" Text="Company"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkCompany_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkCompany_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:#EFEFF7;">
                            <asp:Label ID="lblEmail" runat="server" Text="Email Address"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkEmail_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkEmail_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:White;">
                            <asp:Label ID="lblCountry" runat="server" Text="Country (dropdown list)"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkCountry_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkCountry_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:#EFEFF7;">
                            <asp:Label ID="lblSubdivision" runat="server" Text="State/Province"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkSubdivision_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkSubdivision_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:White;">
                            <asp:Label ID="LblJobFunction" runat="server" Text="Job Function (dropdown list)"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkJobFunction_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:White;">
                            <telerik:RadButton ID="chkJobFunction_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 50%; background-color:#EFEFF7;">
                            <asp:Label ID="lblIndustry" runat="server" Text="Industry Sector (dropdown list)"></asp:Label>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkIndustry_Vis" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                        <td style="width: 25%; text-align: center; background-color:#EFEFF7;">
                            <telerik:RadButton ID="chkIndustry_Man" runat="server" Text=""  ButtonType="ToggleButton"
                                ToggleType="CheckBox" AutoPostBack="false" >
                            </telerik:RadButton>
                        </td>
                    </tr>
                </table>
                <div style="margin-left: 25px;">
                    <p>
                        Notes on capturing demographics from survey participants:</p>
                    <ul>
                        <li>Check the Capture box to prompt the user for the corresponding information </li>
                        <li>Check the Mandatory box if the user "must" provide this information before completing
                            the survey</li>
                        <li>The capture of demographics is not gauranteed, since users may opt to close their
                            browser when this page is presented</li>
                    </ul>
                </div>
            </telerik:RadPageView>
        </telerik:RadMultiPage>
    </div>
</FormTemplate>

Any thoughts on what could be causing this?

Jim
Maria Ilieva
Telerik team
 answered on 09 Oct 2012
0 answers
114 views
hi ,
we have the telerik dll version 2012.1.411.40 i am implementing the file explorer in my application i but it didn't working properly as like of the demo site following are the problem i have faced

1) while page is loading i got the error in alert box like "in valid characters in folder name " my path name is ~/HTMLEditorImages
2) after the page has loaded the div which contain the upload ,refresh,... will became disable mode
following is the code i have written for this  plz check the images for better problem understand

 <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px"
                    OnClientItemSelected="OnClientItemSelected" InitialPath="~/HTMLEditorImages">
                    <Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages"
                        DeletePaths="~/HTMLEditorImages" />
                </telerik:RadFileExplorer>


can you please suggest me how can we over come these two issues
Thanks & Regards
m.koteswararao
koteswararao
Top achievements
Rank 1
 asked on 09 Oct 2012
6 answers
249 views
Version 2012.2.912.40

I'm working with the RadHTMLChart and wanted to dynamically modify a piechart.  Thus, I updated our working Telerik dlls to the latest version.

However, now our rad docks are erroring when being moved on the screen and the layout saved.

I've identified an issue that didn't happen with earlier versions.  Namely, the containing space for the docks must be a whole number (integer) instead of a decimal.  I have my left dock zone in an area of 33% of the screen and the other the remainder.  If I used specified widths, I do not get an error.

EDIT:  I should note that the percentage value widths are on containers that the dock zones are within.

Trying to move a dock errors with variable (percentage) widths:

  1. Uncaught Sys.ArgumentOutOfRangeException: Sys.ArgumentOutOfRangeException: Value must be an integer. Parameter name: x Actual value was 530.4500122070312. ScriptResource.axd:237
    1. Error$argumentOutOfRangeScriptResource.axd:302
    2. Function$_validateParameterTypeScriptResource.axd:217
    3. Function$_validateParameterScriptResource.axd:130
    4. Function$_validateParamsScriptResource.axd:84
    5. Telerik.Web.UI.RadDock._getLocationScriptResource.axd:430
    6. Telerik.Web.UI.RadDock._startDragDropScriptResource.axd:178
    7. Telerik.Web.UI.RadDock.onDragStartScriptResource.axd:191
    8. b.ResizeExtender._raiseDragEventScriptResource.axd:450
    9. b.ResizeExtender._storeStartCoordsScriptResource.axd:484
    10. b.ResizeExtender._onHandleMouseDownScriptResource.axd:597
    11. (anonymous function)
Slav
Telerik team
 answered on 09 Oct 2012
1 answer
104 views
Hi
     I have a radtreeview inside radcombobox. I want to bind the select node of the radtreeview as the text in the radcombobox. How can I achieve that. Please help
thanks in advance
Savyo
Princy
Top achievements
Rank 2
 answered on 09 Oct 2012
1 answer
75 views
I have a column of check boxes that when selected is inserting a row into a database.  I also have Paging=true in the radGrid as this application will continue to grow.  If I check chkBx on Page 1 and then go over to Page 2 and select someone else - when I hit submit - how do I get it to check all the pages?

Thanks,
Amanda
Princy
Top achievements
Rank 2
 answered on 09 Oct 2012
1 answer
108 views
i am new to this issues and i need help. problem is: i cant see page  right format like attachment.  i created page with telerik wizard a page: RadGridAutomaticCrudOperations. i didnt add anything,i guess i missing something. what should i do.

page aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadGridAutomaticCrudOperations.aspx.cs"
    Inherits="RadGridAutomaticCrudOperations" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        .MyImageButton
        {
            cursor: hand;
        }
        .EditFormHeader td
        {
            font-size: 14px;
            padding: 4px !important;
            color: #0066cc;
        }
    </style>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" CdnSettings-TelerikCdn="Enabled" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadAjaxManager runat="server"
        DefaultLoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True">
    </telerik:RadAjaxManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" CdnSettings-TelerikCdn="Enabled">
        <scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True"
            AllowSorting="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
            AllowMultiRowEdit="True" AllowPaging="True" DataSourceID="DataSource1" OnItemUpdated="RadGrid1_ItemUpdated"
            AllowFilteringByColumn="True" OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted"
            OnDataBound="RadGrid1_DataBound" CellSpacing="0">
            <pagerstyle mode="NextPrevAndNumeric" />
            <ClientSettings>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            </ClientSettings>
            <mastertableview autogeneratecolumns="False" commanditemdisplay="TopAndBottom"
                datakeynames="ProductID" datasourceid="DataSource1" editmode="EditForms"
                horizontalalign="NotSet" width="100%">
                <commanditemsettings exporttopdftext="Export to PDF" />
                <rowindicatorcolumn filtercontrolalttext="Filter RowIndicator column"
                    visible="True">
                </rowindicatorcolumn>
                <expandcollapsecolumn filtercontrolalttext="Filter ExpandColumn column"
                    visible="True">
                </expandcollapsecolumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32"
                        Display="False" FilterControlAltText="Filter ProductID column"
                        HeaderText="ProductID" ReadOnly="True" SortExpression="ProductID"
                        UniqueName="ProductID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ProductName"
                        FilterControlAltText="Filter ProductName column" HeaderText="ProductName"
                        SortExpression="ProductName" UniqueName="ProductName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="SupplierID" DataType="System.Int32"
                        Display="False" FilterControlAltText="Filter SupplierID column"
                        HeaderText="SupplierID" SortExpression="SupplierID" UniqueName="SupplierID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CategoryID" DataType="System.Int32"
                        Display="False" FilterControlAltText="Filter CategoryID column"
                        HeaderText="CategoryID" SortExpression="CategoryID" UniqueName="CategoryID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="QuantityPerUnit" Display="False"
                        FilterControlAltText="Filter QuantityPerUnit column"
                        HeaderText="QuantityPerUnit" SortExpression="QuantityPerUnit"
                        UniqueName="QuantityPerUnit">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="UnitPrice" DataType="System.Decimal"
                        FilterControlAltText="Filter UnitPrice column" HeaderText="UnitPrice"
                        SortExpression="UnitPrice" UniqueName="UnitPrice">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="UnitsInStock" DataType="System.Int16"
                        FilterControlAltText="Filter UnitsInStock column" HeaderText="UnitsInStock"
                        SortExpression="UnitsInStock" UniqueName="UnitsInStock">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="UnitsOnOrder" DataType="System.Int16"
                        Display="False" FilterControlAltText="Filter UnitsOnOrder column"
                        HeaderText="UnitsOnOrder" SortExpression="UnitsOnOrder"
                        UniqueName="UnitsOnOrder">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ReorderLevel" DataType="System.Int16"
                        Display="False" FilterControlAltText="Filter ReorderLevel column"
                        HeaderText="ReorderLevel" SortExpression="ReorderLevel"
                        UniqueName="ReorderLevel">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="Discontinued" DataType="System.Boolean"
                        Display="False" FilterControlAltText="Filter Discontinued column"
                        HeaderText="Discontinued" SortExpression="Discontinued"
                        UniqueName="Discontinued">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="CategoryName"
                        FilterControlAltText="Filter CategoryName column" HeaderText="CategoryName"
                        SortExpression="CategoryName" UniqueName="CategoryName">
                    </telerik:GridBoundColumn>
                </Columns>
                <editformsettings>
                    <formtableitemstyle wrap="False" />
                    <formtablestyle backcolor="White" cellpadding="2" cellspacing="0"
                        height="110px" />
                    <formmaintablestyle backcolor="White" cellpadding="3" cellspacing="0"
                        width="100%" />
                    <formcaptionstyle cssclass="EditFormHeader" />
                    <FormMainTableStyle BackColor="White" CellPadding="3" CellSpacing="0"
                        GridLines="None" Width="100%" />
                    <FormTableStyle BackColor="White" CellPadding="2" CellSpacing="0"
                        Height="110px" />
                    <formtablealternatingitemstyle wrap="False" />
                    <editcolumn buttontype="ImageButton" canceltext="Cancel edit"
                        uniquename="EditCommandColumn1">
                    </editcolumn>
                    <formtablebuttonrowstyle cssclass="EditFormButtonRow" horizontalalign="Right" />
                </editformsettings>
            </mastertableview>
            <filtermenu enableimagesprites="False">
            </filtermenu>
        </telerik:RadGrid>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        </telerik:RadWindowManager>
    </telerik:RadAjaxPanel>
    <asp:SqlDataSource ConnectionString="<%$ ConnectionStrings:NorthwindOAConnectionString %>"
        ID="DataSource1" runat="server"
        SelectCommand="SELECT * FROM [Alphabetical list of products]"></asp:SqlDataSource>
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Sunset">
    </telerik:RadSkinManager>
    </form>
</body>
</html>
Cuneyt
Top achievements
Rank 1
 answered on 09 Oct 2012
2 answers
60 views
As soon as I applied an IconCssClass to one of my buttons, all of my buttons have move to random locations on the screen and cannot be put back. In Visual Studio, when I click on them, they state that they have margins applied to them when they do not either in the CSS, the markup or the button properties. I have replaced them with <asp:Button> and these appear to work fine.

I have deleted and attempted to create a new <telerik:RadButton> without an icon and automatic margins are automatically applied with no place to delete them, it seems.

It seems that these phantom style rules have been applied to all current and future instances of <telerik:RadButton>
Slav
Telerik team
 answered on 09 Oct 2012
1 answer
50 views
I am using a reg exp validator and I can not get the reg expression exactly how I want it. Below is my Reg Ex.

((#\*){1}) | (([0-9\*]{1,9})+-+([0-9\*]{1,9}))


What I want is for the reg Expression to allow either a # or a * one time OR allow a string of [Numbers or *]-[Numbers or *] 0-9 times.

Some examples would be ...

Ex. 1 = *
Ex. 2 = #
Ex. 3 = 12345678-123456789
Ex. 4 = *-1234
Ex. 5 = 1234-*

Please any help would be great!

Thanks,
Trevor

Princy
Top achievements
Rank 2
 answered on 09 Oct 2012
4 answers
155 views


How could fire GridNeedDataSourceEventArgs though the Javascript

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 09 Oct 2012
1 answer
103 views
I've been trying to get a feature similar to this implemented: http://www.telerik.com/community/forums/aspnet-ajax/listbox/onclientselectedindexchanged.aspx

This works fine for one listbox, but after transferring the contents over to the other listbox, the functions do not perform as expected. The checkboxes no longer change, but the selection does. Using the transfer all button to the original side shows that the checkstate actually is being updated.  Moving selections back and forth further screw up the code to the point where I'm not sure what it's doing anymore.

Is there any way to accomplish the feature in the above link and maintaining that functionality across the listbox that the item gets transferred to? I have added items to both the source and destination listbox and confirmed that the function is working individually for the listboxes until a transfer happens.
Bozhidar
Telerik team
 answered on 09 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Missing User
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Missing User
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?