Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 15, 2008 03:13 PM by James25
Feb 14, 2008 05:53 PM|LINK
Hi! I have a user control that's basically a contact form, and I would to know of a way to upload/ insert this control into the html editor. Thanks!
Feb 14, 2008 06:12 PM|LINK
Great article on what you are looking for.
Feb 15, 2008 01:41 AM|LINK
Hi! Thanks for the link. I could not find any tips on how to insert a custom control into the html editor. Basically I created a contact form control (.ascx) and I am building a Content Management System that has an Html Editor and would like the user to
be able to select a custom control, in this case the contactForm.ascx and insert into the content area of the page which I am saving to the database. Need some help!!:)
Feb 15, 2008 02:52 PM|LINK
OK let me see if I understand your scenario? You created a custom control (full of labels, textboxes)? You want the user (meaning client not developer) to be able to select this control with pre-populated information control that they enter in the beginning,
so I am guessing that they can enter this information into multiple areas of the database? Interesting idea if I have it correct. Normally I would store this in session state have a button that says add my information and populate the text boxes from the
session, but maybe that isn't an option for you? Let me know if my assumptions are correct and maybe we can brainstorm a way to do this.
Feb 15, 2008 03:13 PM|LINK
Hi! That isn't quite what I am doing..ok, in the CMS admin site, I have a page where the client can add a page, in this page I have an HTML editor for the content area of the page, and I have an option for them to choose the master page for that page, so
they have to do is enter their content into the editor and click save, this will save the data into database. Now, I buils an ascx file that has the contact form with labels and texboxes, so, I need to add an option say select a section or insert a section
into the content area(html editor), it wouldn't show the whole form, maybe just a little box or something that shows that it's a control, that way they can't change it's html. the final stage would be publishing the pages and after the page has been published
they can view the contact form and enter information in the provided textboxes. Thanks!