Everything SharePoint/Silverlight/WP7

My continuous learning of SharePoint, Silverlight, WP7 Development, Office, VSTO, C#…

Custom Application.Master: Script error when creating new list column

Posted by Steve Pietrek on January 30, 2008

OK, learn something new everyday. After the success of creating a custom application.master and applying it correctly (I am currently using Method #1 until I can find the time to do an application development method), I ran into an issue creating a new list column. Within IE7, I received an “undefined or null” script error. Firefox wouldn’t do anything.

Fired up Firebug and reviewed the SubmitPage() method. Set a few breakpoints and realized the FrmSubmit object is undefined. Doh!

Realizing the FrmSubmit information is set by the PlaceHolderUtilityContent placeholder, I quickly saw my error. The problem was I had embedded the PlaceHolderUtilityContent placeholder within the main <Form>. Moved the following line outside of </form> but above </body> and I am good to go.

<asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"></asp:ContentPlaceHolder>

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.