Thursday, February 14, 2008 11:51 AM Jan Tielens

Return of SmartPart v1.3 for SharePoint 2007 Released!

Yesterday evening I've uploaded a new version of the SmartPart to the CodePlex site. For those of you who don't know the SmartPart: it's a generic web part wrapper for SharePoint 2007 which can host any ASP.NET Web User Controls. So basically you can build web parts by using the Visual Studio designers instead of having to write all the code by hand. The new version includes a setup wizard for easy installation, localization support for ASP.NET AJAX controls and some minor bug fixes. It's not a beta version anymore and there is a 64 bit version available as well. On top of that I've included a bunch of sample controls to get you started (both normal controls and ASP.NET AJAX controls). There is even a short (only 2 minutes) screencast that shows you how easy it is to install the Return of the SmartPart v1.3 by using the new wizard. Get the 1.3 release from here: http://www.codeplex.com/smartpart/Release/ProjectReleases.aspx?ReleaseId=10697

In the next days/week I'll be uploading more samples and templates to the CodePlex site.

Filed under:

Comments

# » Daily Bits - February 14, 2008 Alvin Ashcraft’s Daily Geek Bits: Daily links, development, gadgets and raising rugrats.

Pingback from  » Daily Bits - February 14, 2008 Alvin Ashcraft’s Daily Geek Bits: Daily links, development, gadgets and raising rugrats.

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Thursday, February 14, 2008 5:05 PM by Aaron Powell

Hey Jan,

Top work on the SmartPart I've found it really handy in some of our more complex MOSS builds to date.

Do you have any advice on the best way to migrate from the 1.2 beta to 1.3 if a site is already using the SmartPart?

# Links (2/14/2008) « Steve Pietrek’s SharePoint Stuff

Thursday, February 14, 2008 8:07 PM by Links (2/14/2008) « Steve Pietrek’s SharePoint Stuff

Pingback from  Links (2/14/2008) « Steve Pietrek’s SharePoint Stuff

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Friday, February 15, 2008 1:25 AM by Jan Tielens

Aaron, the new version should be compatible with the old one. You can remove the old one and install the new one. BUT you have to add all smartpart instances again to the pages (and configure them). If you don't want to do that, you can use assembly redirection in the web.config.

# Return of SmartPart 1.3 and SharePoint Installer « Patrick’s Bytes

Pingback from  Return of SmartPart 1.3 and SharePoint Installer « Patrick’s Bytes

# SmartPart V1.3 is released for SharePoint 2007

Friday, February 15, 2008 2:34 AM by Alex blog about Microsoft

Hi all, Jan Tielen has released his next release of the SmartPart. SmartPart is a generic wrapper Web

# Remondo on Microsoft .Net » Blog Archive » Return of SmartPart v1.3 for SharePoint 2007

Pingback from  Remondo on Microsoft .Net  » Blog Archive   » Return of SmartPart v1.3 for SharePoint 2007

# Leon Zandman’s Blog » Blog Archive » Return of SmartPart V1.3 released

Pingback from  Leon Zandman’s Blog  » Blog Archive   » Return of SmartPart V1.3 released

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Saturday, February 16, 2008 2:06 PM by Giuseppe Porcelli

Why when I change the default MasterPage of my website , the smartpart ajax end to work ?

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Saturday, February 16, 2008 4:03 PM by Jan Tielens

Giuseppe, can you explain your issue a little bit more?

# SharePoint Link Love: 02-17-2008, Part deux at Virtual Generations

Pingback from  SharePoint Link Love: 02-17-2008, Part deux at  Virtual Generations

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Sunday, February 17, 2008 1:29 PM by Giuseppe

Hi Jan,

very simple, when I change the masterpage in site settings > masterpage, the ajax controls end to work, this seem to don't call the server.

Giuseppe

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Monday, February 18, 2008 3:05 AM by Leon Zandman

@Guiseppe. Usually when AJAX controls don't work it is because of a missing ScriptManager control. This control manages some essential ASP.Net AJAX stuff and if it isn't present your AJAX controls won't work. Maybe your master page doesn't have a reference to the ScriptManager?

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Monday, February 18, 2008 5:55 PM by Dwight Spencer

I am running a C# user control as a Smartpart on a Sharepoint page. When I export to Excel using the conventional method of an ASP.NET response of an htmlwriter stream using content type application/ms-excel and ending with the ususal Response.End, I get out the Excel window correctly.

However, once I have closed the Excel window, the user control gui has frozen and will not respond to further button clicks. My only recourse is to refresh the page to awaken it. Of course, this problem does NOT occur when the user control is run within a conventional ASP.NET web app.

Does anyone have comments/suggestions on this problem? Solutions? Feel free to reply to my e-mail address.

Dwight Spencer, Ph.D.  dspencer@axian.com

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Tuesday, February 19, 2008 1:23 AM by Giuseppe

@Leon. Do you mean we have to add script manager to the master page ? why if in the default master page of sharepoint 2007 there is not script manager ? the instance of the scriptmanager is alrteady inside the webusercontrol.

Giuseppe

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Wednesday, February 27, 2008 11:48 AM by astatke

Does this work only in MOOS 2007 environment or also in a machine that has only WSS 3.0 intalled?

Thanks

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Thursday, February 28, 2008 2:01 AM by Jan Tielens

@astatke: yes it works with wss 3.0

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Monday, March 03, 2008 7:06 AM by San

Hi Jan,

While trying to install i am receiving the error. could you please assist.

MyServer : http://MyServer/ : My World | Developement - 3000 : Error: The web.config is invalid on this IIS Web Site: C:\Inetpub\wwwroot\wss\VirtualDirectories\3000\web.config.

I tried to locate the ..\3000\web.config, but it does not exist at all. Try to install it the manual way still get the same error.

Could you please help.

Thanks

San

# Silverlight & SharePoint = Silverlight Blueprint for SharePoint

Monday, March 03, 2008 9:12 AM by Mirrored Blogs

Corps: Vous l'avez peut-être raté, l'équipe SharePoint vient d'annoncer la sortie de "

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Wednesday, March 05, 2008 7:19 PM by Lucy HT

Great web part Jan - makes life much easier.  however I have run in to a couple of issues whcih I would appreciate some help with.

1. Validation controls in the web user control stop the page from saving when in edit mode.  I guess this is because of the javascript generated by the validation controls but how to work around it?  If it was a plain .aspx page an edit mode panel would do the trick but I can't figure out how to use this with the SmartPart.

2. I can't load the web part in SharePoint designer - error rendering control.  Absolutly fine adding to a publishing page web part zone.

Any thoughts?

Many thanks,

Lucy

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Thursday, March 06, 2008 3:28 PM by Jan Tielens

@Lucy, You must put the controls in a Validation Group so they won't be validated when other controls are triggered.

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Monday, March 10, 2008 10:30 AM by Laurent Mrejen

Hi,

Thanks for this control. I'm still using Sharepoint 2003. Is your webpart compatible with this version? Is your installer wizard too?

Thanks in advance

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Tuesday, March 11, 2008 4:09 AM by Jan Tielens

@Laurent, no this is only for SharePoint 2007. But on the CodePlex site you can download a version for SharePoint 2003 as well.

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Wednesday, March 12, 2008 12:53 PM by dennis

Hi Jan,

I'm having problems with enabling Smartpart with ajax in my sharepoint site, I've followed your instructions in configuring web.config to enable Smartpart with Ajax but when I tried to add a the  smartpart with ajax I get the following error.

Smartpart with Ajax: A Web Part or Web Form control on this page could not be displayed or imported. The type is not registered as safe.

Thanks

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Tuesday, March 25, 2008 2:50 PM by Bob Morse

When using the smartpart with a Control using ADO it states the control cannot use windows integreted authentication to the SQL Server.  Is there a way to correct this so that the users credentials are used to access the DataBase?  This is for reading data only no edits or writes are performed.  Please resond here and e-mail me at bambamyum@yahoo.com

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Tuesday, April 01, 2008 3:54 AM by PrashanthSpark

I am developing WSS 3.0 Application by using smartpart 1.3 version

How do i debug ... can u explain...

Return of SmartPart 1.3

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Monday, April 14, 2008 6:04 PM by Ramesh Krishnan

Hi

I've a requirement to develop an application (normal ASP.Net) with workflow ( I'm thinking of creating Tasks) which the user wants to access from sharepoint.

I'm wondering if I do develop using SharePoint, SmartPart, and web pages as user control what will be the pitfalls of taking this route.

Appreciate any comments

Thanks

Ramesh

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Tuesday, April 29, 2008 12:07 AM by Mike

When I add an User Control as a web part, the "Welcome <name>" from the top right corner in SharePoint page is jumping out of page and goes to the top left corner... somebody said that it's related to an AJAX control on that page and I do have some AJAX controls there.  Could anybody answer to my problem?

Thanks,

Mike

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Friday, May 02, 2008 3:58 PM by altfeder

Jan,

Really appreciate the work you're doing. I'm new to SharePoint dev, installed SmartPart 1.3, your demo controls work fine.  Built a simple ascx in vb, copied the ascx to UserControls. When I attempt to load it into SmartPart, get:

Error: unable to load ~\/UserControls\daTest1.ascx

Details: Could not load type 'WebApplication2.daTest1'.

Any suggestions?

thanks,  

da

# re: Return of SmartPart v1.3 for SharePoint 2007 Released!

Friday, May 09, 2008 9:29 AM by ryan

altfeder

Details: Could not load type 'WebApplication2.daTest1'.

you can fix this error by chenging the codebehind= in the ascx control to codefile=

this worked for me

# SmartPart Version 1.3 Released

Friday, September 25, 2009 1:04 PM by Name of the blog

SmartPart Version 1.3 Released