search grid view

7 posts, 0 answers
  1. guy
    guy avatar
    46 posts
    Member since:
    Sep 2010

    Posted 01 Dec 2010 Link to this post

    hi,
    is there a built in way to searce a grid view and when selected move it to the first position?
  2. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 10 Dec 2010 Link to this post

    Same question.  Not the filter but as all the grid I saw, when you select a column, you can type in the first cell of that column and it searchs your text among the values and position itself to the right row

    Is there anything like this ? Else I will add a TextBox at the top of the grid and search the grid myself
  3. DevCraft banner
  4. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 11 Dec 2010 Link to this post

    Hello Marc Roussel,

    This functionality is not built-in into the grid but you can easily traverse all data items and find all items that match your criteria and then scroll the the first matching item. 

    private void Button1_Click(object sender, RoutedEventArgs e)
    {
        // searches for a player whose name contains "ap"
      
        var players = this.playersGrid.Items.OfType<Player>().Where((p) => p.Name.Contains("ap"));
        var firstMatch = players.FirstOrDefault();
      
        if (firstMatch != null)
        {
            this.playersGrid.ScrollIntoView(firstMatch);
        }
      
    }


    Greetings,
    Milan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 11 Dec 2010 Link to this post

    Ok,

    By the way your Login system do not remember me when I check REMEMBER ME
    I'ts not my browser as I have this CheckBox on almost 150 other sites.
  6. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 11 Dec 2010 Link to this post

    Ok,

    By the way your Login system do not remember me when I check REMEMBER ME
    I'ts not my browser as I have this CheckBox on almost 150 other sites.
  7. Atanas
    Admin
    Atanas avatar
    22 posts

    Posted 16 Dec 2010 Link to this post

    Hi Marc Roussel,

     Thank you for contacting us!


    I just checked remember me functionality and seems to work just fine!

    Basically it works like this: if you are logged in and checked Remember me, you will be logged in the same browser for 7 days.

    Nevertheless if you logout from our site you won't be remembered anymore!

    Can you tell us what is your scenario in order to verify is it expected or there is an issue?
    Greetings,
    Atanas
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  8. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 16 Dec 2010 Link to this post

    I don't know about the 7 days as it seems not to be 7 days and I always use the same browser IE 9 beta and I never clean my cache and I never logout of Telerik site.  Let me check if 7 days is real maybe it's me that don't see it clearly.
Back to Top
DevCraft banner