I'm working on a new control to add to the library called K2Panel. This control will work with K2Submit. Add a K2Panel to the page, then you can add standard ASP.NET controls to the panel. If the ID of the control matches a K2 activity or process level variable, the panel will take care of moving data back & forth between the workflow and controls.
Design question:
The developer could attach a numeric K2 field, like decimal to a textbox control. Who should be responsible for validating the user entry? Should the K2Panel validate the data entered is valid for the datatype? Or should that be left to the developer? Remember, the K2Submit control already fires a validate event that allows the developer to do any edit validation.
Please let me know what you think.
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.