Creating custom form


https://forum.kartris.com/Topic415.aspx
Print Topic | Close Window

By saturation - Tue 22 Feb 2011
I need to create a custom form that inserts data into a custom table, and I need advice on the best approach.   Should I just use the master template and add my custom fields, create my own DSN SQLDataAdapter and use an insert that way?   What other options do I have to do this?  
By Paul - Sun 27 Feb 2011
You could do this... it should be a lot easier in Kartris 1.3 (which we're working on now and hope to release in a few weeks) as this will have much more open code. You'd have full access to the code behind for aspx and ascx files, as well as most of the DAL and BLL.

Another way if you want to link to a completely external form (or create an external one outside of kartris to connect to the db) is to use an iframe embedded within a custom page. This way, the form and form handler could be asp.net, or even asp or php.

If your site runs with SSL, make sure you link to the remote document src of the iframe using HTTPS to avoid security errors when pages are viewed with HTTPS.