"How to do this" question/discussion

2 posts, 1 answers
  1. Mike
    Mike avatar
    15 posts
    Member since:
    Jul 2010

    Posted 28 Jul 2010 Link to this post

    I'm fairly new to .Net development, although I've been a developer for 22 years.

    I have a project where the user wants a web-based app.  They basically will be filling in a form with dollar amounts for each category.

    There are sections of the form, each section is divided into sub-sections (for lack of a better term), and each sub-section has 1 or more categories of information that the user will need to enter a dollar amount for.

    The categories can change from time-to-time so I need the form to be dynamic.  I don't want to have to modify the form every time they need to add or take away a category.
    I've got my database designed and built so that Sections, Sub-Sections and Categories are all table-dirven and all tied to their parent using a foreign-key field.

    Basically what I need is a form that can load the categories from a table, whether there are 1 or 10 categories, and present them to the user in an easy-to-use manner so that the user can enter the dollar amounts, save their work, and move on.

    A grid seemed like a logical way to do this, but what I don't like about what I've learned so far about the RadGrid is that they user would have to click "Edit" to be able to enter their work, then click "Update" to save it before moving on to the next category.  That's too much clicking and too clunky compared to what they have been doing:  Basically a form where they key in the numbers to each box and hit "Save" when they're done.

    Is there a way to use the grid to accomplish what I'm wanting to do?  Can you edit cells in a grid without having to click "Edit" for each cell and "Update" for each cell when you're done?  I'm new to the Telerik controls so this may be able to be done and I just haven't figured out how to do it yet.

    Or, is there a way to dynamically build a form with the necessary descriptions (I have the description in my table) and textboxes to enter the values for each Category?

    Thanks in advance for any input/feedback that you have,
    Mike T.
  2. Answer
    Sebastian avatar
    9934 posts

    Posted 28 Jul 2010 Link to this post

    Hello Mike,

    You can switch all grid items in edit mode initially, perform some editing and then update them all on a single click as illustrated on this online demo of the product. You can use it as a starting point for your implementation along with the information provided in this documentation topic. I hope that you will find these directions helpful.

    Best regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top