Marketplace > Web parts > Custom Table Form

Kentico Marketplace

Categories
Custom Table Form
by Ra'ad Momani
Custom Table Form preview
Rating: (0 reviews)
License: Free
Works with: 5.5 R2
Current version: 1.0
Price: $0
The Custom Table Form web part allows you to easily insert records to the custom table from your web site.

Description

Just place the web part on a page and you can fill in the from like a classic BizForm.

Total views: 1283 

You need to sign in if you wish to write a review.
luyolo.mhlauli-nmmu.ac
If you want to use a shared editor toolbar in your custom table form you will need to modify the code of web part a little.

1. To the markup insert this div tag:

<div id="FCKToolbar" ></div>
above this line
<cms:CustomTableForm ID="customTableForm" runat="server" />

2. In the code behind insert the line below the SetupControl method to the Page_Load method so it can look like this:

protected void Page_Load(object sender, EventArgs e) { SetupControl(); customTableForm.BasicForm.HtmlAreaToolbarLocation = "Out:FCKToolbar"; }
4/16/2012 4:11:57 AM

kentico_mirekr
Hi,

Finally there is web part allowing site visitors to add new records to selected custom table thanks to you :) However, I have checked your web part code and settings and I can say (as far as I’m concerned) that SiteName property does not take any effect in your web part. This property is propagated through CustomTableForm control to BasicForm and used only is special cases (for example when uploading files with file uploader form control [custom tables do not allow you to upload files by default] etc.) so it might be confusing for customers why they should set this property. Also, I would definitely check for emptiness (null) of DataClassInfo object on line 111 before accessing any of its properties.

Anyway, good luck with your implementations and thank you for participating here.

Thanks,
Miro
6/19/2011 10:29:37 AM


Best Rated Items
Most Viewed Items
Latest Updated Items
Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2012 Kentico Software | Powered by Kentico CMS