This is a migrated thread and some comments may be shown as answers.

RAd Grid Filter Problem

18 Answers 478 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 18 Jun 2008, 07:42 AM
Hi,
In my application , i have rad grid. I have set 

AllowFilteringByColumn

="True" . Problem is that the filters lists is going out of page , i have to scroll and see whole lists. is there any property to set height of the panel coming.

I tried  using 

FilterItemStyle-Height

="5"

but of no use.

Please help.
Thanx.

18 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Jun 2008, 07:56 AM
Hi Rahul,

Try reducing the FilterMenuOptions to reduce the height of the FilterMenu.
Reducing the filter menu options


Thanks
Shinu.
0
Rahul Khinvasara
Top achievements
Rank 1
answered on 19 Jun 2008, 06:53 AM
Hi Shinu,
I dont want t oreduce list of filters. I want that I should fix the height of its panel and if lists exceeds that height , scroll should come..
Is this possible.

Thanks
 
0
Robert
Top achievements
Rank 1
answered on 29 Mar 2010, 07:10 PM
I would like to know the answer to this question. I have the same problem with a splitter.  Top pane is navigation, bottom is a grid.  My filter list expands up into the top pane but it hidden.
0
Ram
Top achievements
Rank 1
answered on 30 Jun 2011, 01:27 PM
Hi
Shinu
In my application I have some small problem in radgrid Filter.
I have decreased the filter options to two called Contains,statrsWith.
If first time I'm entering text and filtering with contains then its getting highlighted.
if I clear text and type again and going to filter still the Contains option become selected.
So how to remove the selection after the filter finished.
0
Princy
Top achievements
Rank 2
answered on 30 Jun 2011, 02:05 PM
Hello Ram,

Try the following code snippet in PreRender event to clear the selected filter option.

C#:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
   GridColumn column = RadGrid1.MasterTableView.GetColumn("ColumnUniqueName");
   column.CurrentFilterFunction = GridKnownFunction.NoFilter;
}

Thanks,
Princy.
0
Ram
Top achievements
Rank 1
answered on 07 Jul 2011, 06:11 AM
Hi  Shinu
I'm using Raddatetimepicker.
1)I have set image for Both Timepopup button and Datepopup button.
But
I'm seeing blue border for both images in IE8.
In firefox is ok.
Clould you pls answer me How to solve the issue.
2)Can I place calender image inside the caleder text box istead of next to the textbox.
Thanks in advance
0
Veli
Telerik team
answered on 12 Jul 2011, 12:40 PM
To enable scrolling for the filter menu in RadGrid, you can use the following settings:

<telerik:RadGrid AllowFilteringByColumn="true">
    <FilterMenu EnableAutoScroll="true" EnableRootItemScroll="true">
        <DefaultGroupSettings Height="200px" />
    </FilterMenu>
</telerik:RadGrid>

Veli
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ram
Top achievements
Rank 1
answered on 18 Jul 2011, 08:36 AM
Hi Veli
How to fix the size of radgrid irrespective if reocords.
I set the paging with pagesize 5.
When radgrid has 5 rows its height will be ok.
If the grid has 2 rows its fits to the 2 rows height.
How to fix the radgrid height.
I think u got my problem.
I'm doing like this in page_load
radgrid.Height=Unit.Pixel(200);
0
Mira
Telerik team
answered on 21 Jul 2011, 08:28 AM
Hello Ram,

Please enable the scrolling of the grid in order to achieve the desired look:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true"  PageSize="5"  Height="200px" ....>
    ....
    <ClientSettings>
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
    </ClientSettings>
</telerik:RadGrid>

I hope this helps.

Best wishes,
Mira
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ram
Top achievements
Rank 1
answered on 02 Aug 2011, 03:04 PM

I have radgrid with filter option. I'm able to do filtering on radgrid. I have one problem with filter.

1)First user will enter some text and he will choose some filter option like contails,startswith,..... this time if recodrs exits grid will populate otherwise gives 'norecords to disply' But the user just clear the filter text box then I need to show the initial data. How cloud I do without any button clicks.

Please help me its Urgent

0
Mira
Telerik team
answered on 08 Aug 2011, 10:54 AM
Hello Ram,

Please try setting the AllowFilterOnBlur property of the RadFilter to true and let me know whether it helps.

Regards,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Akshay
Top achievements
Rank 1
answered on 06 Apr 2012, 02:25 PM
Hi,

After applying the following settings to enable scroll bar on filter Menu

 

 

<FilterMenu EnableAutoScroll="true">

 

 

 

<DefaultGroupSettings Height="200px"/>

 

 

 

</FilterMenu>

 


I have noticed that css that was applied earlier is not getting used and filter conext menu style are getting referenced from static resource "WebResource.axd" so skin is getting changed after applying these settings.

0
Andrey
Telerik team
answered on 09 Apr 2012, 01:52 PM
Hello,

I tried to replicate the issue you are observing but to no avail. I am attaching the project for your reference.

Could you give the project a try and check whether you could replicate the issue.

Kind regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Akshay
Top achievements
Rank 1
answered on 09 Apr 2012, 02:48 PM
Hi,

RadContextMenu does not load properly for the first time while right clicking any record from Radgrid (it becomes distorted). However for the second time it's coming concrete.

Please give a solution for it.

Thanks in anticipation.
Akshay
0
Andrey
Telerik team
answered on 09 Apr 2012, 04:23 PM
Hi,

Please, share your full page code along with the code-behind file content or strip down a runnable version of your code and upload it on online sharing service. Thus we will be able to replicate the issue locally and provide quicker response.


Kind regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Rajendra
Top achievements
Rank 1
answered on 07 Nov 2017, 07:35 PM

Hi

I have a aspx user control where I have a RadGrid with AllowFilteringByColumn="true"

Recently I added a master page which has RadMenu.

The Menu gets distorted as I have the above property set to true.

If I set AllowFilteringByColumn="false", Menu displays fine.

Please let me know if you have any solution to this or if you need more information.

Thanks in advance.

Rajendra

 

 

 

 

 

 

0
Rajendra
Top achievements
Rank 1
answered on 09 Nov 2017, 08:54 PM

Shinu/Andre any solution for my issue mentioned above

Thanks 

Rajendra

0
Eyup
Telerik team
answered on 10 Nov 2017, 03:18 PM
Hi Rajendra,

This is probably caused by the different RenderModes of the controls. Please ensure that you are using the same RenderMode for every control on the page:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/mobile-support/render-modes#setting-render-mode

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Rahul Khinvasara
Top achievements
Rank 1
Robert
Top achievements
Rank 1
Ram
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Veli
Telerik team
Mira
Telerik team
Akshay
Top achievements
Rank 1
Andrey
Telerik team
Rajendra
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or