Geeks With Blogs

Scott Kuhl Warning: I may have no idea what I am talking about!

The scaffold control is used to quickly create developer level admin pages.  By dropping a single control on the page, you get a GridView and update controls.  This control should appear in your Toolbox under SubSonic Components.  Just set the TableName property and you're ready to go.

<cc1:Scaffold ID="Scaffold1" runat="server" TableName="Products"></cc1:Scaffold>

It is also possible to apply some visual formatting through the EditTableCSSClass, EditTableItemCSSClass, EditTableLabelCSSClass and GridViewSkinID properties.

And you can set the delete confirm message with the DeleteConfirm property.

Find the entire series of posts here.

Posted on Friday, December 8, 2006 2:04 PM SubSonic | Back to top


Comments on this post: Getting Started with SubSonic - Part 21, Scaffolding

# re: Getting Started with SubSonic - Part 21, Scaffolding
Requesting Gravatar...
i want use it, but after 6 days learning , i find it is so hard to control.
why not give a step by step demo web application?
the start site show little feathers.
but i cannot find where find "cc1" tag?
please give one feather a strong demo. it will save more time for us.
Left by why not give a step by step demo on Nov 14, 2007 10:03 PM

# re: Getting Started with SubSonic - Part 21, Scaffolding
Requesting Gravatar...
the DeleteConfirm property never works ??? are u sure u tried it ur self ??
Left by Ahmad Salah on Jan 17, 2008 2:44 AM

Your comment:
 (will show your gravatar)


Copyright © Scott Kuhl | Powered by: GeeksWithBlogs.net