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

Manipulating Input in RadGridView

1 Answer 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ric
Top achievements
Rank 1
Ric asked on 16 Aug 2011, 08:55 AM
Hi Telerik Support,

Good Day ;)

I am working on the following requirements:

  1. Requirement #1: Implement a RadGridView which allows Cell Editing
  2. Requirement #2: All Inputs are numeric. We currently have implemented a CellValidating event to check for numeric input.
  3. Requirement #3: There are some special key that can allow some numeric value to be inserted. For example if we input "L" into the editing cell, we expect the value will be replaced with a number 1234567.

We tried to implement the Requirement #3 by adding some logic in CellValidating Event to intercept for "L" and change the e.Cell.Value accordingly. But it seems to be not working.

What would you recommend to implement the Requirement #3?

Thanks
Ric Yik

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Ivanov
Telerik team
answered on 19 Aug 2011, 11:21 AM
Hello Ric,

I have prepared a sample project that demonstrates a possible approach to this task. Please, refer to it.

Kind regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
GridView
Asked by
Ric
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or