RAd Grid Filter Problem

16 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 18 Jun 2008 Link to this post

    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.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Jun 2008 Link to this post

    Hi Rahul,

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


    Thanks
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 19 Jun 2008 Link to this post

    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
     
  5. Robert
    Robert avatar
    198 posts
    Member since:
    Aug 2009

    Posted 29 Mar 2010 Link to this post

    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.
  6. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 30 Jun 2011 Link to this post

    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.
  7. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Jun 2011 Link to this post

    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.
  8. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 07 Jul 2011 Link to this post

    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
  9. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 12 Jul 2011 Link to this post

    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!

  10. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 18 Jul 2011 Link to this post

    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);
  11. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 21 Jul 2011 Link to this post

    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!

  12. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 02 Aug 2011 Link to this post

    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

  13. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 08 Aug 2011 Link to this post

    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.

  14. Akshay
    Akshay avatar
    2 posts
    Member since:
    Apr 2012

    Posted 06 Apr 2012 Link to this post

    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.

  15. Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 09 Apr 2012 Link to this post

    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.
  16. Akshay
    Akshay avatar
    2 posts
    Member since:
    Apr 2012

    Posted 09 Apr 2012 Link to this post

    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
  17. Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 09 Apr 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017