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

  • Home
  • SEARCH
  • 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 3983224
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:37:19+00:00 2026-05-20T05:37:19+00:00

So I have this idea of creating a asp.net user control, to handle all

  • 0

So I have this idea of creating a asp.net user control, to handle all forms of modal popups (whether it be error handling, forms, dialogs, etc).

I already created this before, placing the user control in the top master page, exposing it to all content pages, so I could do something like:

Master.Popup.ShowException(Exception);

And the usercontrol itself would have the necessary markup to look like a modal dialog, and in the show method just do a .Visible = true.

This is all fine, but I’ve started thinking of implementing a bit of style with jquery. I’d like for the usercontrol to have some sort of jquery animation on show. But I don’t know how to go about achieving this, as I don’t know how I would call that jquery function from the codebehind instead of the popup.visible = true.

Can anyone provide me with a possible solution?

  • 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-20T05:37:20+00:00Added an answer on May 20, 2026 at 5:37 am

    Inside your Master.Popup.ShowException(….) use something like this:

    ScriptManager.RegisterStartupScript(Page, Page.GetType(), "animateJS", "animateMyBox('popupid');", true);
    

    Where animateMyBox(…) is whichever animation you want to do. In the end do the popup.display=”block”; etc

    Also, lookup if you can pass along a function to call back in you animate code that will execute after animating. like:

    animateMyBox('popupid', function() { document.getElementById('popupid').display='block'; } )
    

    Another possibility is to use an animation that will end up in the box being visible at the end like animating opacity from 0 to 100%.

    I know this is vague but you have to share more code before you can get a better answer.

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

Sidebar

Related Questions

I have a simple ASP.NET Web User Control. It looks like this: <%@ Control
Enviroment: Asp.Net 3.5, VS 2008, Windows XP Hello, i have a user control (uc:StackUC)
Creating an ASP.NET AJAX Server Control. Overriding the RenderContents method, I placed in this
I have no idea why this is happening. The error I get is the
I'm learning about creating custom routes in ASP.NET MVC and have hit a brick
I have one asp.net page. I want to add this page to asp.net mvc
I am creating a dynamic table control with ASP.NET/C# and the table is being
i'm ASP.NET programmer and have no experience in creating windows services. Service i need
I am creating a website using JavaScript/ASP.NET/C#/CSS/HTML/Compact SQL server. I have the majority of
So I have this idea for a RubyGem that I think would be an

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.