Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
79 views
I have a perplexing issue. My user control has a RadAjaxManager, RadGrid and RadAjaxLoadingPanel. The loading panel overlays the RadGrid as expected during updates to the grid. The grid is configured to display a hierarchy of a straight forward master detail pattern.

However, if I set the HorizontalAlign property to any value other than NotSet for the MasterTableView of the RadGrid, the loading panel displays as a very narrow control at the top of the RadGrid. Is this a known issue and is there a work around?

    <telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="Fieldset" EnableRoundedCorners="true" />
        <telerik:radajaxmanager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
    DefaultLoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True" ClientEvents-OnRequestStart="RequestStart" 
    ClientEvents-OnResponseEnd="ResponseEnd"
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1" >
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1" >
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        <ClientEvents OnResponseEnd="ResponseEnd" OnRequestStart="RequestStart" />
    </telerik:radajaxmanager>
    <telerik:radajaxloadingpanel ID="RadAjaxLoadingPanel1" runat="server" 
        Skin="Windows7" EnableAjaxSkinRendering="true"   >
    </telerik:radajaxloadingpanel>
  
      
    <telerik:RadGrid  ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource"
        OnDetailTableDataBind="RadGrid1_DetailTableDataBind" AllowFilteringByColumn="true"
    AllowSorting="True" AutoGenerateHierarchy="True" CellSpacing="0"  PageSize="25" 
    Skin="Windows7" ClientSettings-AllowExpandCollapse="true"
    GridLines="None" oncolumncreated="RadGrid1_ColumnCreated" 
    onitemdatabound="RadGrid1_ItemDataBound"  OnItemCommand="RadGrid1_ItemCommand"
    onitemcreated="RadGrid1_ItemCreated" ondatabound="RadGrid1_DataBound" HorizontalAlign="Right" >
        <MasterTableView HorizontalAlign="Right" AllowPaging="true" AllowFilteringByColumn="true" CommandItemDisplay="Top" Caption="Performance Data" >
        <DetailTables>
        <telerik:GridTableView AllowFilteringByColumn="false" HorizontalAlign="Right"
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
  
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
  
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
  
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
            </telerik:GridTableView>
        </DetailTables
        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" />
  
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
  
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
  
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
        </MasterTableView>
  
<FilterMenu EnableImageSprites="False"></FilterMenu>
  
        <ExportSettings>
            <Excel Format="Biff"></Excel>
        </ExportSettings>
  
        <ClientSettings ReorderColumnsOnClient="true">
            <Selecting AllowRowSelect="True" />
        </ClientSettings>  
    </telerik:RadGrid>
Matt
Top achievements
Rank 1
 answered on 02 Jan 2014
1 answer
107 views

Hi,
        We are using radeditor in asp.net application.Can you provide code for changing the cursor style[i.e hand,] from hand to default  on Design,Html and Preview buttons when the editor is disabled.

I need this functionality using javascript and c#.

Please revert back with comments ASAP.

thanks
srikanth

Bozhidar
Telerik team
 answered on 02 Jan 2014
1 answer
186 views
Hi,

I am facing issue while exporting radgrid into excel format. when i click on export. It will export in excel format but my excel file get crashed after exporting.

Export works fine for 500 record. but if record 1500+ then excel crashed.

Please help
Thanks
Kostadin
Telerik team
 answered on 02 Jan 2014
1 answer
166 views
Hi,
Is it possible to disable the color when sorting in radrid?
Princy
Top achievements
Rank 2
 answered on 02 Jan 2014
10 answers
221 views

Hello,


I have a little problem hope that you can help me with this:



I have Rad Grid and I'm trying to export the Grid to PDF by clicking on the button:



Here is my Code:





<telerik:RadGrid

  ID="rgActivities"

        runat="server"

        AutoGenerateColumns="False"

        AllowPaging="True"

        AllowSorting="True"       

        PageSize="16" 

        CellSpacing="0" GridLines="None"         

        OnItemCommand="rgActivities_ItemCommand"

        OnSortCommand="rgActivities_OnSortCommand"

        OnPageIndexChanged="rgActivities_OnPageIndexChanged"       

        EnableHeaderContextFilterMenu="True"

        Width="933px"

        Height="528px">



******* I have 6 Columns in the Grid *****



 <asp:Button ID="mngBtnPDF" runat="server" ToolTip="Export To PDF" Text=""  Visible ="false"  OnClick="btnpdf_Click" CommandName="btnPDF_Click" />



******Code Behind*****

    Protected Sub btnPDF_Click(ByVal sender As Object, ByVal e As System.EventArgs)

        isExport = True

        rgActivities.ExportSettings.ExportOnlyData = True

        rgActivities.ExportSettings.IgnorePaging = True

        rgActivities.ExportSettings.OpenInNewWindow = True

        rgActivities.ExportSettings.ExportOnlyData = True

        rgActivities.ExportSettings.Pdf.PageWidth = Unit.Parse("297mm")

        rgActivities.ExportSettings.Pdf.PageHeight = Unit.Parse("210mm")

   rgActivities.MasterTableView.ExportToPdf()

    End Sub







Nothing happens Please help me.

















Kostadin
Telerik team
 answered on 02 Jan 2014
1 answer
54 views
Hi.
i want to hide filtering row when grid is in edit mode?
Shinu
Top achievements
Rank 2
 answered on 02 Jan 2014
1 answer
112 views
Hi Team,

We have used RadMenu in our application. we have override some CSS classes to provide our own images as menu items. It was working good so far. But, from the moment we added below tag in user control (which has Menu placed), menu has stopped drilling down and CSS are not working properly.

<%@ OutputCache Duration="43434" VaryByParam="None" VaryByCustom="abc" Shared="true" %>

We referred to your tutorial from here and set the CSS and Script reference accordingly, but even-though, the problem hasn't resolved.

I have observed below errors in the error console of the browser.
  1. TypeError: Telerik.Web.UI.Overlay is undefined NavigationScript.js
  2. ReferenceError: Sys is not defined.  - This error has been resolved by placing "<location path="Telerik.Web.UI.WebResource.axd"></location>" tag in web.config. I have refereed this post  for the same.

But some how, still my Menu is not behaving as expected.

Please assist ASAP. Let me know if you need more details.

Boyan Dimitrov
Telerik team
 answered on 02 Jan 2014
1 answer
137 views
Hi,
How to set color to filter textbox?
Princy
Top achievements
Rank 2
 answered on 02 Jan 2014
1 answer
73 views
Hi,
 I want to set a color for the pagesize combobox. How to get it done?
Shinu
Top achievements
Rank 2
 answered on 02 Jan 2014
5 answers
75 views
Hi,

In the demo for load on demand, it doesn't look like a true Load on Demand because all the teams and employees are already populated.
But the Demo for treeview @ "http://www.telerik.com/help/aspnet-ajax/treeview-load-on-demand-server.html" is a true Load on demand, where the child nodes are retrieved from the database only when the parent node is clicked.

How do i achieve similar functionality with orgchart?

Thank you
-Sekhar
Plamen
Telerik team
 answered on 02 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?