Wednesday, March 22, 2006 7:44 AM Jan Tielens

"WebForm_PostBackOptions is undefined" and Son of SmartPart

I haven't experienced this problem myself, but there seem to be some people get this exception when they use Son of SmartPart to load ASP.NET 2.0 user controls in combination with the Web Deployment Projects add-in. Steve Hartzog blogged about the solution for this problem: add the WebResource.axd to the excluded paths in SharePoint Central Administration. If you want to know how and why, check one of my previous posts. If you just want to get it fixed, below is the summary. I'm going to include this step in the Installation Guide of the Son of SmartPart, once again thanks Steve for bringing this to my attention!

On your SharePoint server, open up the SharePoint Central Administration site from the Administrative Tools start menu group and click the “Configure virtual server settings” link. On the next page you will see a list of all your virtual servers, click on the one that you would like to configure (you have to repeat the steps for each virtual server). Next, click the “Define managed paths” link. In the “Add a New Path” section, fill out WebResource.axd as the name of the path, for the type select “Exclude path”. Finally click the OK button. Now you can use WebResource in SharePoint sites!

Filed under:

Comments

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Wednesday, March 22, 2006 7:13 AM by Steve Hartzog

What about adding System.Web safecontrols for HtmlControls and WebControls as suggested by Hans Boot in your comments here: http://weblogs.asp.net/jan/archive/2005/11/20/431000.aspx?

I added them already... and it seems to work. Are these necessary?

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Wednesday, March 22, 2006 9:13 AM by Jan Tielens

In my experience, they are not necessary... please correct me if i'm wrong!

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Wednesday, March 22, 2006 6:37 PM by Peter Vranich

Would this by chance fix the "Add Link to Site" problem in SPS 2003 running .NET 2.0

As referenced here...

http://sharepointblogs.com/vandest/archive/2005/11/23/4257.aspx

I have tried but can't seem to get it to work still. Same with the add user. Error "Unable validate Data".

Is there a solution to this? Or Portal simply cannot be run with .NET 2.0 as stated here...

http://support.microsoft.com/default.aspx?scid=kb;en-us;907763

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Friday, June 09, 2006 12:41 PM by Gary Key

Hi, I have tried Son of SmartPart but are still getting errors. Any fixes to Peter's post?

Would this by chance fix the "Add Link to Site" problem in SPS 2003 running .NET 2.0

I have tried but can't seem to get it to work still. Same with the add user. Error "Unable validate Data".

Is there a solution to this?

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Thursday, August 17, 2006 12:42 AM by star

The excellent site!!! Want you good luck and prosperities!!

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Tuesday, August 29, 2006 10:49 PM by star

The excellent site!!! Want you good luck and prosperities!!!

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Tuesday, August 29, 2006 10:49 PM by star

The excellent site!!! Want you good luck and prosperities!!!

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Wednesday, August 30, 2006 6:19 PM by Test

[URL="http://flowerdelivery.angelcities.com/"]flower delivery[/URL]

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Tuesday, January 23, 2007 11:02 AM by hpv

I still get this message! I can't recolve this problem!

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Tuesday, March 20, 2007 2:17 AM by majoosh

I am connected to centralserver administration page but ther is no option for  “Configure virtual server settings” . I installed sharepoint v3.  Am trying to chage the alrenate access URl but due to this error I cannot add it. Is there any alternate way to add a url from backedn or something like that  ?

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Sunday, March 25, 2007 2:11 AM by ledi

Very Good Site! Thanx http://ciara.abrek.info/index6.html qutggr <a href= http://labia.abrek.info/wet-labia.html >wet labia</a>  [url=http://labia.abrek.info/wet-labia.html]wet labia[/url]  <a href= http://labia.abrek.info/huge-labia.html >huge labia</a>  [url=http://labia.abrek.info/huge-labia.html]huge labia[/url]  <a href= http://labia.abrek.info/luscious-labia.html >luscious labia</a>  [url=http://labia.abrek.info/luscious-labia.html]luscious labia[/url]  <a href= http://labia.abrek.info/young-girl-labia.html >young girl labia</a>  [url=http://labia.abrek.info/young-girl-labia.html]young girl labia[/url]  <a href= http://labia.abrek.info/labial-reduction.html >labial reduction</a>  [url=http://labia.abrek.info/labial-reduction.html]labial reduction[/url]  <a href= http://labia.abrek.info/stretched-labia.html >stretched labia</a>  [url=http://labia.abrek.info/stretched-labia.html]stretched labia[/url]  <a href= http://labia.abrek.info/latest-injectable-for-nasolabia-folds.html >latest injectable for nasolabia folds</a>  [url=http://labia.abrek.info/latest-injectable-for-nasolabia-folds.html]latest injectable for nasolabia folds[/url]  <a href= http://labia.abrek.info/labia-reduction.html >labia reduction</a>  [url=http://labia.abrek.info/labia-reduction.html]labia reduction[/url]  <a href= http://labia.abrek.info/sexy-labia.html >sexy labia</a>  [url=http://labia.abrek.info/sexy-labia.html]sexy labia[/url]  <a href= http://labia.abrek.info/pictures-of-vaginal-labiaplasty.html >pictures of vaginal labiaplasty</a>  [url=http://labia.abrek.info/pictures-of-vaginal-labiaplasty.html]pictures of vaginal labiaplasty[/url]  

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Sunday, March 25, 2007 2:11 AM by ledi

Very Good Site! Thanx http://ciara.abrek.info/index6.html qutggr <a href= http://labia.abrek.info/wet-labia.html >wet labia</a>  [url=http://labia.abrek.info/wet-labia.html]wet labia[/url]  <a href= http://labia.abrek.info/huge-labia.html >huge labia</a>  [url=http://labia.abrek.info/huge-labia.html]huge labia[/url]  <a href= http://labia.abrek.info/luscious-labia.html >luscious labia</a>  [url=http://labia.abrek.info/luscious-labia.html]luscious labia[/url]  <a href= http://labia.abrek.info/young-girl-labia.html >young girl labia</a>  [url=http://labia.abrek.info/young-girl-labia.html]young girl labia[/url]  <a href= http://labia.abrek.info/labial-reduction.html >labial reduction</a>  [url=http://labia.abrek.info/labial-reduction.html]labial reduction[/url]  <a href= http://labia.abrek.info/stretched-labia.html >stretched labia</a>  [url=http://labia.abrek.info/stretched-labia.html]stretched labia[/url]  <a href= http://labia.abrek.info/latest-injectable-for-nasolabia-folds.html >latest injectable for nasolabia folds</a>  [url=http://labia.abrek.info/latest-injectable-for-nasolabia-folds.html]latest injectable for nasolabia folds[/url]  <a href= http://labia.abrek.info/labia-reduction.html >labia reduction</a>  [url=http://labia.abrek.info/labia-reduction.html]labia reduction[/url]  <a href= http://labia.abrek.info/sexy-labia.html >sexy labia</a>  [url=http://labia.abrek.info/sexy-labia.html]sexy labia[/url]  <a href= http://labia.abrek.info/pictures-of-vaginal-labiaplasty.html >pictures of vaginal labiaplasty</a>  [url=http://labia.abrek.info/pictures-of-vaginal-labiaplasty.html]pictures of vaginal labiaplasty[/url]  

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Saturday, May 12, 2007 2:36 AM by supplysejy

<a href=  ></a>

[url=][/url]

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Thursday, May 17, 2007 9:11 AM by Bill

<a href= uiewga.t35.com/index2.html >norco wolverine</a>

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Thursday, May 17, 2007 12:04 PM by Bush

<a href= uiewga.t35.com/index3.html >uncut penis gallery</a>

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Thursday, July 26, 2007 7:47 PM by helper

This link seems to have worked for many...

inventua.com/blogs.content

# re: "WebForm_PostBackOptions is undefined" and Son of SmartPart

Friday, September 14, 2007 3:33 AM by DreamingCat.Studio

yes,I never thought of this, poor MS, it should do that int the sp2, maybe our guy upgrade the server  with sp2 installed first, then change it to .net 2.0

# Javascript Error: Webform_DoPostbackWithOptions is undefined

Thursday, December 04, 2008 1:36 PM by Microsoft Office Sharepoint Server 2007

A javascript error. Simple. Neat. Clean. But... since you noticed it, no Sharepoint controls are working.