Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
463 views

Hello,

This new FileExplorer control is very, very, very slow to open folders with a lot of files in Internet Explorer 7. Testing with a folder with 1000 jpg files, 4Kb each file, take more than 5 minutes to open in a machine with Dual Xeon processor and SAS 15K speed disk and causes iexplorer process to consume much cpu.

With Firefox works very fast.

Regards,
Newton

Vessy
Telerik team
 answered on 30 Aug 2016
5 answers
194 views

trying to close the radwindow from javascript causes scroll position error:

var radWindow = $find("<%= RadWindow3.ClientID %>");
    radWindow.close();

 

please help.

 

Marin Bratanov
Telerik team
 answered on 30 Aug 2016
1 answer
181 views

Hi,

My problem goes on like this:I have a radwindow which showsup on button click on the window shows that contains two radgrids in two rows,I am binding data to it.It works fine till here,but when i have applied ajax loading panel for the grid,in page size changed and pahe index changed events the grid was not displaying once  which is in first row,but if i remive loading panel it works fine.

Can any one please help me?

Thanks in advance

Eyup
Telerik team
 answered on 30 Aug 2016
4 answers
252 views

I am facing alignment issue while exporting hierarchical radgrid data to excel. Please find below by code

ASPX

<telerik:RadGrid ID="RadGridCurrencyDetail" runat="server" AutoGenerateColumns="False"
                                    CellSpacing="0" GridLines="None" Width="100%" OnNeedDataSource="RadGridCurrencyDetail_NeedDataSource" OnGridExporting="RadGridCurrencyDetail_GridExporting">
                                    <AlternatingItemStyle Wrap="True" />
                                    <GroupHeaderItemStyle Wrap="True" />
                                    <ClientSettings AllowExpandCollapse="true">
                                    </ClientSettings>
                                     <ExportSettings ExportOnlyData="true" OpenInNewWindow="true" />
                                    <MasterTableView AllowMultiColumnSorting="false" AutoGenerateColumns="false" TableLayout="Fixed"
                                        AllowFilteringByColumn="false" AllowSorting="false" IsFilterItemExpanded="false"
                                        NoMasterRecordsText="No currency records in this Queue" DataKeyNames="BucketID,BucketID"
                                        HierarchyLoadMode="Client" HierarchyDefaultExpanded="true">
                                        <%--<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                                            <HeaderStyle Width="3%"></HeaderStyle>
                                        </ExpandCollapseColumn>--%>
                                        <Columns>
                                            <telerik:GridTemplateColumn DataField="BucketName" FilterControlAltText="BucketName"
                                                HeaderText="Bucket" UniqueName="BucketName">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblBucketName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "BucketName")%>'></asp:Label>
                                                </ItemTemplate>
                                               

                                                 <ItemStyle HorizontalAlign="Left" CssClass="SlimCell" Wrap="false" />
                                                 <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                  HorizontalAlign="Left" Width="25%" />
                                            </telerik:GridTemplateColumn>

                                            <telerik:GridTemplateColumn DataField="Broker" DataType="System.Decimal" FilterControlAltText="Filter Broker column"
                                                UniqueName="BrokerValue" HeaderText="Broker">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblBroker" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "BrokerValue")%>'></asp:Label><%--C1---%>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Right" CssClass="SlimCell" Wrap="false" />
                                                <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                    HorizontalAlign="Left" Width="25%" />
                                            </telerik:GridTemplateColumn>

                                            <telerik:GridTemplateColumn DataField="System" DataType="System.Decimal" FilterControlAltText="Filter System column"
                                                HeaderText="System" UniqueName="SystemValue">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblSystem" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "SystemValue")%>'></asp:Label>
                                                    <%--C1---%>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Right" CssClass="SlimCell" Wrap="false" />
                                                <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                    HorizontalAlign="Left" Width="25%" />
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="TotalDiff" FilterControlAltText="TotalDiff"
                                                HeaderText="Difference" UniqueName="TotalDiff">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblTotalDiff" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TotalDiff")%>'></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle CssClass="cItem" HorizontalAlign="right" VerticalAlign="Top" />
                                                <HeaderStyle Width="25%" VerticalAlign="Top" CssClass="OTCs_gridHeader_left" HorizontalAlign="Left"
                                                    Font-Bold="true" ForeColor="Black" />
                                            </telerik:GridTemplateColumn>
                                        </Columns>
                                        <NestedViewSettings>
                                            <ParentTableRelation>
                                                <telerik:GridRelationFields DetailKeyField="BucketID" MasterKeyField="BucketID" />
                                            </ParentTableRelation>
                                        </NestedViewSettings>
                                        <NestedViewTemplate>
                                            <table cellpadding="0" cellspacing="0" style="width: 100%; text-align: center; background-color: #CEE3F6;">
                                                <tr valign="top">
                                                    <td valign="top">
                                                        <telerik:RadGrid ID="RadGridCurrencyDetailInner" OnNeedDataSource="RadGridCurrencyDetailInner_NeedDataSource"
                                                            runat="server" AllowSorting="false" AllowPaging="false" ShowStatusBar="true"
                                                            Width="100%">
                                                             <ExportSettings ExportOnlyData="true" OpenInNewWindow="true" />
                                                            <MasterTableView AllowMultiColumnSorting="false" AutoGenerateColumns="false" TableLayout="Fixed"
                                                                AllowFilteringByColumn="false" AllowSorting="false" IsFilterItemExpanded="false"
                                                                DataKeyNames="BucketId">
                                                                <Columns>
                                                                    <telerik:GridBoundColumn AllowFiltering="false" DataField="KeyValue" FilterControlAltText="Filter KeyValue column"
                                                                        HeaderText="KeyValue" UniqueName="KeyValue" Display="false">
                                                                        <ItemStyle />
                                                                        <HeaderStyle  />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridTemplateColumn AllowFiltering="false" DataField="Activities" FilterControlAltText="Filter Activities column"
                                                                        HeaderText="Activities" UniqueName="Activities">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblActivities" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Activities")%>'></asp:Label>
                                                                            &nbsp;
                                                                <asp:HyperLink ID="hypVarianceManagement" CssClass="SlimItem" runat="server" Target="_self"
                                                                    ForeColor="blue" Visible="false">[ Variance Management ]</asp:HyperLink>
                                                                            &nbsp;
                                                                <asp:HyperLink ID="HypHoldingsNPV" CssClass="SlimItem" runat="server" Target="_self"
                                                                    ForeColor="blue" Visible="false">[ Holdings / NPV ]</asp:HyperLink>
                                                                            &nbsp;
                                                                <asp:Image ID="AttentionImage" runat="server" Visible="False" />
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Left" CssClass="SlimCell" Wrap="false" />
                                                                        <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                                            HorizontalAlign="Left" Width="25%" />
                                                                    </telerik:GridTemplateColumn>
                                                                    <telerik:GridTemplateColumn DataField="Broker" DataType="System.Decimal" FilterControlAltText="Filter Broker column"
                                                                        UniqueName="BrokerValue" HeaderText="Broker">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblBroker" runat="server" Text='<%# SetText(Eval("KeyValue"), Eval("BrokerValue")) %>'></asp:Label><%--C1---%>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Right" CssClass="SlimCell" Wrap="false" />
                                                                        <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                                            HorizontalAlign="Left" Width="25%" />
                                                                    </telerik:GridTemplateColumn>
                                                                    <telerik:GridTemplateColumn DataField="System" DataType="System.Decimal" FilterControlAltText="Filter System column"
                                                                        HeaderText="System" UniqueName="SystemValue">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblSystem" runat="server" Text='<%# SetText(Eval("KeyValue"), Eval("SystemValue")) %>'
                                                                                Visible='<%# SetVisibility(Eval("KeyValue")) %>'></asp:Label>
                                                                            <%--C1---%>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Right" CssClass="SlimCell" Wrap="false" />
                                                                        <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                                            HorizontalAlign="Left" Width="25%" />
                                                                    </telerik:GridTemplateColumn>
                                                                    <telerik:GridTemplateColumn DataType="System.Decimal" HeaderText="Difference" UniqueName="VarDifference">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDifference" runat="server" Text='<%# SetText(Eval("KeyValue"), Eval("VarDifference")) %>'
                                                                                Visible='<%# SetVisibility(Eval("KeyValue")) %>'></asp:Label>
                                                                            <%--C1---%>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Right" CssClass="SlimCell" Wrap="false" />
                                                                        <HeaderStyle CssClass="OTCs_gridHeader_left" ForeColor="Black" Font-Bold="true"
                                                                            HorizontalAlign="Left" Width="25%" />
                                                                    </telerik:GridTemplateColumn>
                                                                </Columns>
                                                            </MasterTableView>
                                                        </telerik:RadGrid>
                                                    </td>
                                                </tr>
                                            </table>
                                        </NestedViewTemplate>
                                    </MasterTableView>
                                    <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
                                </telerik:RadGrid>
VB
Protected Sub rtbOTCCurrencyDetails_ButtonClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadToolBarEventArgs)
        Dim ExStruct As Telerik.Web.UI.ExportInfrastructure.ExportStructure = Nothing
        Dim renderer As Telerik.Web.UI.ExportInfrastructure.XlsBiffRenderer = Nothing
        Dim renderedBytes As Byte() = Nothing

        Try
            
            'RadGridCurrencyDetail.ExportSettings.ExportOnlyData = True
            RadGridCurrencyDetail.ExportSettings.IgnorePaging = True
            RadGridCurrencyDetail.ExportSettings.OpenInNewWindow = True
            RadGridCurrencyDetail.ExportSettings.FileName = "fileName"
            RadGridCurrencyDetail.ExportSettings.Excel.Format = GridExcelExportFormat.Html
            RadGridCurrencyDetail.ExportSettings.HideStructureColumns = True
            RadGridCurrencyDetail.MasterTableView.ExportToExcel()
        Catch
            Throw
        End Try

    End Sub


Please do the neddful for same.

Pavlina
Telerik team
 answered on 29 Aug 2016
1 answer
384 views

Requirements

Telerik Product and Version


Supported Browsers and Platforms


Components/Widgets used (JS frameworks, etc.)



PROJECT DESCRIPTION 
[enter description here, together with step-by-step instructions on how to use the project]
Hi, How do I pass the checked values of the radcombobox (with checkbox option) to an object datasource? I know I can get all the checked values then put to a session variable then use session parameter. But is there any easier way?
Gidon
Top achievements
Rank 1
 answered on 29 Aug 2016
5 answers
167 views

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value .

After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call w

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
    <telerik:RadInputManager ID="RadInputManager1" runat="server">
        <telerik:RegExpTextBoxSetting BehaviorID="ProvinceCode" ValidationExpression="^\d{1-10}$" FocusedCssClass="center" HoveredCssClass="center" InvalidCssClass="center" ReadOnlyCssClass="center" EnabledCssClass="center" EmptyMessageCssClass="center" DisabledCssClass="center">
            <TargetControls>
                <telerik:TargetInput ControlID="txtProvinceCode" />
            </TargetControls>
            <Validation ValidateOnEvent="Blur" Method="Find" Location="../../Services/ProvinceService.asmx" ValidationGroup="vgProvince" />
            <ClientEvents OnValidating="RequireProvinceCode"></ClientEvents>
        </telerik:RegExpTextBoxSetting>
    </telerik:RadInputManager>
    <div>
        <label>ProvinceCode</label>
        <asp:TextBox ID="txtProvinceCode" runat="server"></asp:TextBox>
 
    </div>
 
    <div>
        <telerik:RadButton ID="btnSave" runat="server" Text="Save" AutoPostBack="False" ></telerik:RadButton>
    </div>
</form>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script>
 
        function RequireProvinceCode(sender, args) {
            var inputManager = $find("<%= RadInputManager1.ClientID %>");
            var input = inputManager.get_targetInput("<%= txtProvinceCode.ClientID %>");
            var val = Number(input.get_value());
            console.log(val);
 
            //args.IsValid = false;
            //return false;
        }
 
    </script>
</telerik:RadCodeBlock>
eb service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:

I have RadInoutManager for validation in my page . one of them validate from web service and works good but i want to cancel remote validation in TextBox is empty ! I have no problme with validation RadInputManager , just if TextBox is empty so validation for call web service will be canceled until TextBox has a value . After search i find OnValidating event . that resaid before client and server side validation in RadInputManger so i can write code here but not working and i can't cancel call web service . I can check value od TextBox in OnValidating event but i can't cancel remote validation . please help me .

<body>
<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <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:
Viktor Tachev
Telerik team
 answered on 29 Aug 2016
1 answer
153 views

I'm currently attempting to use the RadEditor in a mixed project that contains routing for MVC, WebAPI, and Friendly URLs.  I'm getting errors when I attempt to open the ImageManager dialog box from within the Editor.  I suspect this has something to do with the routing rules, but all my attempts to exclude the dialogs has failed so far.  

The dialogs are registered in web.config (both, system.webserver and system.web).

Does anyone have the specifics on what to add to the routing config?  Or if you've encountered this, and it isn't the routing, please shed some light!

Thank you in advance,

Alex

Ianko
Telerik team
 answered on 29 Aug 2016
1 answer
256 views

I would like to split a page into two columns with RadPageLayout. Left side will display all the navigation menus (links) and the right side should display the content when one of the links is clicked. I don't want to do any postback rather do some ajax may be Radajaxmanager. What specific controls should i use. Is it possible to reference the contents being displayed to some page (eg: contacts.aspx)

 

Ivan Danchev
Telerik team
 answered on 29 Aug 2016
1 answer
136 views

Guys, 

I am facing a performance issue when closing a radwindow Lightweight rendering in only IE browser (IE v11).

I tried hiding the radwindow by using onClientBeforeClose client event to improve user experience BUT I got no lucky. The problem is still the same.

Is there any way which can solve it or improve UX when closing the radwindow?

function OnClientBeforeCloseHandler(sender, args) {
    if (sender && sender.get_popupElement() && sender.get_popupElement().style && $telerik.isIE) {
        sender.get_popupElement().style.display = "none";
    }
}

Marin Bratanov
Telerik team
 answered on 29 Aug 2016
3 answers
238 views

RadAutoCompleteBox comes back with the wrong filtered result set when typing into the textbox. It seems to be doing the filtering on the first letter I'm typing, but then ignoring the second letter I've typed. For example, if I start to type the word "test" it will start filtering the auto complete box for "t" or "te", but ignore the rest of the word. It seems to be doing the filtering if i very briefly pause (split second) and that's why it's not picking up the whole word. If I hit backspace, then it does a callback and the filtered result set is accurate. Is there a built in way to delay the filtering so it only does the callback after I've stopped typing for one second? Thanks in advance for the help.

 

Here's the code:

<telerik:radautocompletebox id="txtSearch" runat="server" oncliententryadding="OnClientEntryAddingHandler" emptymessage="FIND AN ACCOUNT or TPID"
                                    autopostback="true" onentryadded="autocomplete_EntryAdded" filter="Contains" datavaluefield="TPID" datatextfield="AccountName" 
                                    cssclass="searchtext" width="275px" DropDownAutoWidth="Enabled" maxresultcount="10">
                            </telerik:radautocompletebox>

Ivan Danchev
Telerik team
 answered on 29 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?