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 7842177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:15:34+00:00 2026-06-02T16:15:34+00:00

I am using the FancyBox jQuery plugin (http://fancybox.net/) in my ASP.NET website and have

  • 0

I am using the FancyBox jQuery plugin (http://fancybox.net/) in my ASP.NET website and have hit a small but annoying issue.

The site uses the default ASP.NET login controls and then displays some links which pop open a form in a FancyBox – all this works great. If I do not click any of the FancyBox links and then hit the logout link (provided by the LoginStatus control) again everything works as it should.

However if I click on one of the FancyBox links and then close it the logout link no longer works, nothing happens at all – it would appear as if the postback is not firing for some reason.

I have done some searching but not come across anyone with a similar issue – has anyone seen this issue before?

Thanks in advance

UPDATE: With a little help from IE debugger I have tracked the problem down to a JavaScript error here –

function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
    theForm.__EVENTTARGET.value = eventTarget;
    theForm.__EVENTARGUMENT.value = eventArgument;
    theForm.submit();
}

More specifically on the line that sets the eventtarget and the error I recieve is –

SCRIPT5007: Unable to set value of the property ‘value’: object is null or undefined

UPDATE 2: I have put a temporary fix in place – basically I just hook into the onClosed event and reload the page at that point –

$("#form_popup").fancybox({ 
'scrolling': 'no', 
'titleShow': true, 
'onClosed' : function() { 
    location.reload(); 
} });

Of course the problem is the page will be fully reloaded from scratch missing the point of using jQuery but at least it works!

  • 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-06-02T16:15:35+00:00Added an answer on June 2, 2026 at 4:15 pm

    For anyone who has the same problem I fixed this with this hack

    $("#form_popup").fancybox({ 
     'scrolling': 'no', 
     'titleShow': true, 
     'onClosed' : function() { 
     location.reload(); 
    } });
    

    So the page gets reloaded whenever the close button is pushed which fixes the problem.

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

Sidebar

Related Questions

I'm using FancyBox jquery plugin to display modal popup boxes. The site is: http://www.chatisfying.com
I'm using Fancybox 1.3.4 with ASP.NET MVC 3. I have following link : <a
I'm using the http://fancyapps.com jQuery plugin Fancybox v2. It took me a while to
I am using this layover plugin to display content: http://jquery.com/demo/grey/ I know there must
I'm experiencing a little bugger using the fancybox jquery plugin. I want to use
We are using FancyBox 2.0/JQuery 1.7 in Internet Explorer 7 on http://www.tuxx.nl/spelling/werkwoorden/#print . When
i'm using 3 different JQuery plugins to build a website. http://web-kreation.com/demos/Sliding_login_panel_jquery/ http://www.thewebsqueeze.com/web-design-tutorials/create-a-horizontal-scrolling-website.html LINK3:http://fancyapps.com/fancybox/ But,
I'm using the fancybox jQuery plugin and right now, it's being called with a
I'd like to use the jQuery plugin Fancybox on my site - for the
I using the fancybox plugin for jquery and I want to put a link

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.