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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:12:23+00:00 2026-05-26T22:12:23+00:00

I’m creating a project in asp.net and I looking for Modal Window (like ajax

  • 0

I’m creating a project in asp.net and I looking for Modal Window (like ajax modal popup) in order to use in all dialogs from my application, the problem is that this ajax component is only compatible with ie but not in safari, firefox, etc…

Anyone knows any modal window that I can use with asp:panels (to include asp controls like textbox, listbox, etc…)?…

Thank you in advance

Javier

  • 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-26T22:12:24+00:00Added an answer on May 26, 2026 at 10:12 pm

    What I do is use FancyBox which loads the content in a iFrame, so for example I have the option in a simple page, and then open fancybox to load that page.

    SetupDialogBox: function (openerClientID, width, height, effect, showCloseButton, buttonsOn, offsetHeight, onStartHandler, onCompleteHandler, onClosedHandler, refreshParentOnClose) {
        if (effect == null) effect = 'none';
        if (width == null) width = 620;
        if (height == null) height = 680;
        if (buttonsOn == null) buttonsOn = false;
        if (showCloseButton == null) showCloseButton = true;
        if (refreshParentOnClose == null) refreshParentOnClose = false;
    
        if (offsetHeight == null) {
            // adjust for hight for offset based on apperence of buttons
            if (buttonsOn) {                
                offsetHeight = 180;
            }
            else {
                offsetHeight = 140;
            }
        }
    
        var adjustedHeight = height - offsetHeight;
        var onStartLocal = function () {
            // If you want to show a loading panel, heres a good place to do it
        };
        var onCompleteLocal = function () {
            $('#fancybox-frame').hide();
            // If you want to hide load panel heres a good place to do it
            a$('#fancybox-frame').contents().find('.modalContent').css('height', height - offsetHeight + 'px'); $('#fancybox-frame').fadeIn(2000); };
            $('#fancybox-frame').bind('load', function () {  $('#fancybox-frame').contents().find('.modalContent').css('height', adjustedHeight + 'px'); $('#fancybox-frame').fadeIn(2000); });
        };
    
        var onClosedLocal = function () { if(refreshParentOnClose) { parent.location.reload(true); } };
    
        $('#' + openerClientID).fancybox({
            'width': width,
            'height': height,
            'autoScale': false,
            'transitionIn': effect,
            'transitionOut': effect,
            'padding': 0,
            'scrolling': 'no',
            'centerOnScroll': false,
            'hideOnOverlayClick': false,
            'showCloseButton': showCloseButton,
            'type': 'iframe',
            'onStart': function () { onStartLocal(); if (onStartHandler != null && typeof (onStartHandler) != 'undefined') onStartHandler(); },
            'onComplete': function () { onCompleteLocal(); if (onCompleteHandler != null && typeof (onCompleteHandler) != 'undefined') onCompleteHandler(); },
            'onClosed': function () { onClosedLocal(); if (onClosedHandler != null && typeof (onClosedHandler) != 'undefined') onClosedHandler(); }
        });
    },
    

    We then insert a link on each page which is the handler for the fancybox frame

    <a class="menu" href="http://www.whateverurl.com/myBox.aspx" id="menuLauncher" style="display:none;">&nbsp;</a>
    

    Fire a Javascript call to setup the box

    SetupDialogBox('menuLauncher', 820, 360, 'fade', false, null, null, null, null);
    

    Then finally a call which opens the box when clicked (if its elsehwere on the page)

    $("#menuLauncher").trigger('click');
    

    alternativly you could just make the menuLauncher visible and use that as a opening link.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from

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.