Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
127 views
Hi,
   I have a rad grid, after binding data i used separate button to export data into excel file, i used below code, after export to excel i get test filter icon, i want to remove that filter option.Pls guid me how to remove that filter option. Here i attach screenshot http://prntscr.com/yx3h0d

Below the code i used

         radgridSJP.ExportSettings.IgnorePaging = True
        radgridSJP.ExportSettings.ExportOnlyData = True
        radgridSJP.ExportSettings.OpenInNewWindow = True
        radgridSJP.MasterTableView.ExportToExcel()


Thanks
M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 10 Feb 2021
7 answers
411 views
Hi,

I am using a radgrid to display user roles. I have set the pagesize to 10 and I have more than 10 user roles. When I am setting pagesize = 10 and AllowPaging = True, I can see 2 pages to display more than 10 users. But the paging numbers are not aligned between next and prev arrows. See attachment 1 (Image1_issue.jpg). The code for radgrid is:

<telerik:RadGrid ID="radGridUserGroups" runat="server" AllowSorting=true GridLines="None" EnableViewState=true AllowPaging="true" PageSize=10>

 

 

And the below code is defined in grid default skin to use the same style for all the grids within an application
 <telerik:RadGrid runat="server" EnableEmbeddedSkins=false AutoGenerateColumns="False">
 
<PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign=Center></PagerStyle> 
 <FooterStyle Font-Bold=true ForeColor=Black ></FooterStyle>  

 </telerik:RadGrid>

 

 

But if the code for grid is modified as below

<telerik:RadGrid ID="radGridUserGroups" runat="server" AllowSorting=true GridLines="None" EnableViewState=true AllowPaging="true" PageSize=10 EnableEmbeddedBaseStylesheet="false">

 

then the paging numbers are appearing properly (See attachment 2 - image2.jpg) but all the other styles defined in css file is not working. All the headers are not left aligned any more.

I am using Telerik Q1 2010.1.519 version. Please let me know what am I missing?

Thanks,
Raj

Guss
Top achievements
Rank 2
Veteran
 answered on 10 Feb 2021
5 answers
736 views
Hello,

I am trying to use a numeric pager on both the top and bottom of a Radgrid and align the pager all the way to the right side of the grid.  I am able to get the pager to be numeric and be placed on the top and the bottom of the grid, but am unable to move the pager from the left side to the right side.

I have tried using:

PagerStyle-HorizontalAlign="Right" PagerStyle-Mode="NumericPages"  PagerStyle-Position="TopAndBottom"

in the <telerik:RadGrid tag,
 
as well as

 

<PagerStyle Mode="NumericPages" Position="TopAndBottom" HorizontalAlign="Right" />

 


and in the codebehind as

RadGrid.PagerStyle.Position =

GridPagerPosition.TopAndBottom;

 

RadGrid.PagerStyle.Mode =

GridPagerMode.NumericPages;

 

RadGrid.PagerStyle.HorizontalAlign =

HorizontalAlign.Right;


in each instance the numeric pager appears at the top and bottom of the grid, but is left aligned.  I also do not receive any errors at all.  What do I need to do differently in order to move the numeric pager from the left side of the grid to the right?

Thank you for any help that I may receive.

Aaron

 




Guss
Top achievements
Rank 2
Veteran
 answered on 10 Feb 2021
7 answers
388 views
Hi,
I am using the latest version of dll. I need to overwite my css in such a way my pager numbers should be appeared in rifht side. how to do it. Tried the following but nothing happend

.RadGridRTL_Web20 .rgNumPart a
{
    float: right !important;
    text-align: right !important;
}
.RadGrid_Web20 .rgPager .rgStatus
{
 text-align : right !important;
}

Thanks,
Jeevihta
Guss
Top achievements
Rank 2
Veteran
 answered on 10 Feb 2021
0 answers
174 views

There is any tutorial (with sample code) teaching how to use Telerik skins for whose has no idea from where to start?

I don't even know how to set a skin to a control.

Thanks.

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 asked on 09 Feb 2021
1 answer
151 views

Hi Team,

How to get the selected node id using radgantt. Is there any method which can be used to get ?

Regards

 

Vessy
Telerik team
 answered on 09 Feb 2021
3 answers
165 views

When I use numerictextbox demos and I try to enter letters, the objects rejects input, but when I use them in my project, the textbox allows user to enter letter and once it loses the focus it gets empty.

My Code

 

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage.Master" CodeBehind="Default.aspx.vb" Inherits="GadsWebApp._Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        body {
            background-image: url('images/BackGrounds/default5.jpg');
            background-repeat: no-repeat; background-size: 100%; background-color: transparent;width: 100%;
            height: 100%; margin: 0px; position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
     <telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="RadNumericTextBox1" Width="190px" Value="15"
            EmptyMessage="Enter amount" Type="Currency" MinValue="0" MaxValue="100"></telerik:RadNumericTextBox>
 
</asp:Content>

 

Vessy
Telerik team
 answered on 09 Feb 2021
1 answer
214 views

Hi there,

 

I set two seperate ViewPaths for the RadEditor.ImageManager, but somehow there's only the latter path "~/Image2" displayed in the ImageManger, I couldn't find the first view path. Could you please let me know how to solve it?

 

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        Dim viewPaths As String() = New String() {"~/Image", "~/Image2"}
        Dim uploadPaths As String() = New String() {"~/Image/New", "~/Image2/New"}
        Dim deletePaths As String() = New String() {"~/Image/Del", "~/Image2/Del"}
 
        If Not IsPostBack Then
            radEditor.ImageManager.ViewPaths = viewPaths
            radEditor.ImageManager.UploadPaths = uploadPaths
            radEditor.ImageManager.DeletePaths = deletePaths
        End If
    End Sub
Vessy
Telerik team
 answered on 09 Feb 2021
1 answer
120 views

Dear Telerik Team,

 

Is there a way to set the maximum size allowed for the image storing directory? And if possible, how can I set the image storing directory max size for different customers?

Looking forward to your reply!

 

Thanks,

Matty

Vessy
Telerik team
 answered on 09 Feb 2021
1 answer
312 views

I've added the following styling but it doesn't remove the white border or change the color as shown in the image. Also how can I remove the white vertical line on the end of the menu?

 

      .RadMenu_MetroTouch .rmRootGroup
       {          
            border-style: none  !important;
            border-color:gray  !important;

       }

Vessy
Telerik team
 answered on 09 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?