Most SharePoint developers know about the SmartPart. And most SharePoint developers know that it has a few limitations. So, this blog, written by Eli Robillard, is great to list out the few limitations in the SmartPart. This blog also does a good job of showing you how you can build up your own wepart, point it to a UserControl to load, and have the user control show in the webpart. Very nice thing to know! http://weblogs.asp.net/erobillard/archive/2008/03/04/what-to-know-about-smartpart-and-loadcontrol.aspx
September 28, 2009 at 1:03 pm
How to add custom control into dataformview Webpart of dispform.aspx using Sharepoint Designer?
I have created custom web control and tried to include that control into dataformview web part.
I have installed successfully and working fine If I will kept in outside of dataformview webpart.
I register with @Register directive at the top of the page. When I try to keep in the body of the DataformView Webpart xslt gives me error like “Error: Reference to undeclared namespace prefix: ‘UCD’” otherwise it is working fine.
Can you give me your comments on this problem?
Thanks,
Pritesh