Looking for a Solution

2 posts, 0 answers
  1. Kerry
    Kerry avatar
    61 posts
    Member since:
    Nov 2008

    Posted 28 Jan 2014 Link to this post

    Hello, 

    I am looking for a product that can allow me to integrate the following functionality into my ASP.NET web application

    1. On the click of a button on an HTML form, present a user with a predefined PDF form (Possibly MSWord or any proprietary format with the ability to save as PDF), the form will have fields automatically filled server-side (Customer Info).
    2. Allow the user to enter information on the form and submit this data back to the server for possibly later retrieval and further annotations.
    3. The form must support "datagrid" style entry in order to add line items to the form...e.g. Order line items with Description, Qty and Price fields.
    4. Form must be able to support combobox control in the datagrid for predefined selections to make for a better user experience of filling in the form.
    5. Have the ability to support signature capture, the user can have the document signed on tablet via Stylus or laptop using a USB signature pad.
    6. Once signed the  form is not editable, the form is submitted back to the server for storage and later printing...with all entered data parsable so it can be stored in a database.

    Do you have a control or SDK to provide this.

    Regards,
    Kerry
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4614 posts

    Posted 30 Jan 2014 Link to this post

    Hello Kerry,

    Straight to each point:

    1. Showing a form with predefined values - you can create the desired aspx page, create the logic that will populate it with data (e.g., according to the user, or to some querystring parameters, etc.) and then you can open this form in a RadWindow: http://demos.telerik.com/aspnet-ajax/window/examples/overview/defaultcs.aspx. Note that browsers do not, generally, have their own facilities for editing MS Word or PDF documents. You can point a RadWindow to the URL of such a document, but it is up to the browser to handle it, and in most cases it will download it, instead of let the user enter data and submit it to the server.

    2. Letting the user input data and storing it - this is how webforms work. You can use asp:Textbox controls or any of the Telerik RadInput controls, RadDateTimePickers and RadEditor, depending on the input you have:
    http://demos.telerik.com/aspnet-ajax/input/examples/overview/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
    You can then store the input in a database, files, or whatever your preferred approach is.

    3. Having a grid that allows the user to add new rows - this is standard feature of the RadGrid conrtol and you can customize the edit/insert form in many ways. To see the basics, you can start from this demo: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/automatic-crud-operations/defaultcs.aspx and work your way through the others in its section.

    4. Having a combobox in the editable items in a grid - you can find examples of different edit forms and how to access controls in them (in order to populate, or preselect items) here: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx. More details are also available in the documentation: http://www.telerik.com/help/aspnet-ajax/grid-updating-values-usercontrol-formtemplate.html.

    5. Signature capture - I am afraid we do not have such a control, yet if you find an ASP control that you can use for this task you should be able to put it on the data entry/editing form alongside our controls without issues.

    6. Submitting user input to the server - this is what ASP forms do, you can access the individual control values when the form is POSTed, e.g., in the Click event of a "send" button. You can go though all important controls and store their input. The examples I linked above showed how to do this for a grid's edit form. Once you have the information you can store it in the database as needed. Each control's Value property (depending on the control its name may be different, e.g. Content for the HTML string from a RadEditor), will have a .NET type that will show you how to parse it.


    Generally speaking, we have a lot of examples that show how each of these smaller pieces can be achieved. A complete solution for your exact case may not be available because each case has its own requirements, limitations and goals, so we cannot have an example ready for every situation, yet we offer smaller building blocks that you can put together to create your application.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top