Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6902119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:45:31+00:00 2026-05-27T07:45:31+00:00

I am working on a SharePoint app where there are tons of Javascripts on

  • 0

I am working on a SharePoint app where there are tons of Javascripts on the page some by me, by other developers and some are third party scripts.

The problem is some of the third party scripts are not properly catching their exceptions and that breaks all the rest of the scripts on the page.

Is there really a way to observe and catch unhandled exceptions thrown by other scripts so that I can take appropriate action?

For example, we are using a grid provided by TreeGrid and in certain situations, it is not able to set the rel value of the stylesheet. Would it be possible for me to catch this exception and set the rel value of that particular stylesheet?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 7 Dec 2011 19:07:14 UTC


Message: Could not set the rel property. Invalid property value.
Line: 1
Char: 1
Code: 0
URI: http://localdev/sites/westd/default.aspx

Thanks a lot in looking into this 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:45:31+00:00Added an answer on May 27, 2026 at 7:45 am

    from this page

    Defining the onerror event with a function that returns a value of true at the very top of your page suppresses all scripting errors on the page .

    I woudn’t recommend using onerror it for anything important – but to solve a problem with 3rd parties, I guess it’s ok.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I'm working with Sharepoint (this applies to other object models as well) and
I'm working on some SharePoint web parts and I'm trying to make them as
I am working with SharePoint resource file for SharePoint 2010 page. Example: <Field ID={A1D46FA9-0AE7-421A-A714-9561631632E6}
In my SharePoint app, I deploy some aspx pages to the [12 Hive]\TEMPLATE\LAYOUTS folder.
I am working on making a Sharepoint 2007 app look more modern. I am
Basically Im working with Sharepoint, help me god! Sharepoint does some crazy the things
I have started working on sharepoint . Other than playing around with the development
I am working on a sharepoint 2010 project The problem I am current have
I need your suggestions for my problem area. I am working with SharePoint 2010.
I'm working with Sharepoint 2.0 (WSS2) and need to create a lookup field that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.