The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I want to add event handler to the cell control(textbox), when user key press or mouse down. how can i get the cell control object handle.
Thanks
LuQingGuang
ADAdministrator Syncfusion Team June 14, 2005 08:05 AM UTC
There may be a grid event like CurrentCellKeyDown that you could use.
If you want to get at the TextBox associated with the "TextBox" CellType, then you can use code like:
GridTextBoxCellRenderer cr = this.grid.CellRenderers["TextBox"] as GridTextBoxCellRenderer;
GridTextBoxControl tb = cr.TextBox as GridTextBoxControl;
QLQingGuang LuJune 14, 2005 10:22 AM UTC
Hi, Thanks for your answer, It''s Right.
LuQingGuang
>There may be a grid event like CurrentCellKeyDown that you could use.
>
>If you want to get at the TextBox associated with the "TextBox" CellType, then you can use code like:
>
>
>GridTextBoxCellRenderer cr = this.grid.CellRenderers["TextBox"] as GridTextBoxCellRenderer;
>GridTextBoxControl tb = cr.TextBox as GridTextBoxControl;
>