This is a migrated thread and some comments may be shown as answers.

[Solved] Grid Focus and Blur Client Event

1 Answer 211 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pabanas
Top achievements
Rank 1
Pabanas asked on 02 Oct 2009, 01:04 AM
Dear Sir ,

               I have a Radgrid with few Template columns like Rad combo box and Numeric Rad Text boxes . I want to reset some variables and the grid when the user clicks any other control outside the Grid . In other words I want a client event like focus and blur for the RADgrid  So that I can do the clean up work if the user clicks away to another control in the form .

                I don't want focus and blur for  Radnumeric text box which is in template control of the grid . I want some event for the whole grid focus and blur . Pls help me .

 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 06 Oct 2009, 03:18 PM
Hello Pabanas ,

The focus() and blur() functionality could have only input and link HTML controls. As RadGrid is rendered in Div element is not possible to be focused. The better choice will be to save the index of the clicked row. Hence when you need to return just to select the row and focus the first input control.

Kind regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Pabanas
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or