Gridview filter row focus not showing cursor and textbox programmatically

7 posts, 1 answers
  1. sajeev ks
    sajeev ks avatar
    8 posts
    Member since:
    May 2010

    Posted 19 May 2015 Link to this post

    I can't find an soloution for my problem. I already searched and tried many hours, but without success.

    Well, I hope somebody can help me with my problem. 

    I am  Using Telerik winforms 2015 Q1....

    How it is possible via code to set a focus on RadGridViews Filter TextBox Column like textbox blink ?

    MY application Loading page has 1 Gridview

    after populate grid i want to cursor focus(cursor blink)  to fliter row first column...

    now only work after any key press  or mouse click on fliter row- showing fliter text box...

     i need to show after page load cursor blinking gridview filter row first column like textbox blink

    Thank you

    sajeev

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 20 May 2015 Link to this post

    Hello Sajeev,

    Thank you for writing.

    You should select the current cell with code and call the BeginUpdate method (this should happen when the form is already visible):
    void RadForm1_Shown(object sender, EventArgs e)
    {         
        radGridView1.CurrentRow = radGridView1.MasterView.TableFilteringRow;
        radGridView1.CurrentColumn = radGridView1.Columns[0];
       
        radGridView1.BeginEdit();
    }

    I have noticed that you have posted similar thread. I have deleted it in order to avoid duplicate threads in our forum.

    I hope this will be useful.

    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. sajeev ks
    sajeev ks avatar
    8 posts
    Member since:
    May 2010

    Posted 20 May 2015 Link to this post

    Thanks for writing Quick reply Admin...

     

    Can u Post Sample Project vb.net

     

    Thanks

  5. sajeev ks
    sajeev ks avatar
    8 posts
    Member since:
    May 2010

    Posted 20 May 2015 Link to this post

        Private Sub frmSearch_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
            grd.CurrentRow = grd.MasterView.TableFilteringRow
            grd.CurrentColumn = grd.Columns(0)
            grd.BeginEdit()

        End Sub

     

    This code working...But BeginUpdate() not called..I dont know what use beginupdate() function...

    Admin can u explain...

    Thanks

  6. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 21 May 2015 Link to this post

    Hi Sajeev,

    Thank you for writing back.

    The BeginEdit method is used for putting a cell in edit mode programmatically. The BeginUpdate/EndUpdate methods are used for suspending the grid notifications when a time consuming operation is performed (like adding several rows). This way the grid will be updated when the EndUpdate method is called not after each row is added.

    To convert from C# to Visual Basic you can use our online converter: Code Converter.

    I hope this information helps. 

    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. sajeev ks
    sajeev ks avatar
    8 posts
    Member since:
    May 2010

    Posted 21 May 2015 Link to this post

    Admin

    This Thread PLease moves to Gridview Section...

    I Posted Gridview..but ur Moved to GrantView Section..

     PLease move to gridview section

  8. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 21 May 2015 Link to this post

    Hello Sajeev,

    I have changed the forum section. Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WinForms is Visual Studio 2017 Ready