Click here to Skip to main content
15,071,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
On a grid I need to allow users to enter multiple numeric values for a column. Currently I have provided the text box in Edit Template and applied regular expression for verifying comma separated list of numbers entered by the user.

What would be a more elegant of doing this in which user can enter each number independently and user would be allowed to delete any of the number easily before committing during insert/update.

Working on VS2008.

[Edit from CHill60] Given the information above I suggested ...
Quote:
Have a look at this telerik demo[^]

Entering the data on an NestedViewTemplate as separate items would be more elegant - perhaps with a simple grid on the pop-up form
OP replied
Quote:
My requirement is different. In the example(telerik demo) that you have referred to, consider that I am the administrator of this site and I am the one who enters the data into the grid. What I would need is the capability to enter the price in different currencies say Dollar, Yen, Euro in multiple textboxes when I edit that row.

This is just an example of what I need. The data user would enter would be any random numbers.
Updating the question with this as I am deleting my solution and don't want this information to be lost.
Posted
Updated 5-Feb-15 0:27am
v2
Comments
CHill60 4-Feb-15 11:19am
   
Is this winform or web?
What sort of grid are you using?
Is the grid databound?
Rahool S 5-Feb-15 2:17am
   
I am using RadGrid (Telerik Ajax controls 2011 Q2 version) on web. Won't be able to get a later version of these controls. Yes the grid is databound.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900