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
6 Answers, 1 is accepted
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
Thanks for writing Quick reply Admin...
Can u Post Sample Project vb.net
Thanks
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
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
Admin
This Thread PLease moves to Gridview Section...
I Posted Gridview..but ur Moved to GrantView Section..
PLease move to gridview section
I have changed the forum section. Do not hesitate to contact us if you have other questions.
Dimitar
Telerik