[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Contact Us Slide Out UI using AJAX for ASP.Net page

Posted on 2009-04-15
Medium Priority
Last Modified: 2012-05-06
I have a webpage that has a button for Contact Us on it.  I need to create some sort of slide out panel that slides out when the Contact Us button is pressed that will present a form with a submit button.  I have the option of using AJAX, but am very unfamiliar with the technology so I need some general direction and ideas on how to pull this off.  I do not wish to use for sale 3rd party software.  
Question by:pprater1
1 Comment

Accepted Solution

OneMHz earned 2000 total points
ID: 24151452
I may get flack for this, but I like using jquery for this kind of thing.  You just need to create a hidden div around the contact form, like:

<div id="contactForm" style="visibility: hidden;">
    ... contact input controls here

Then your contact button can just call:


Clicking on the button will cause it to appear or disappear.  You can also pass "normal" or "slow" to have it animate the transition.

You can also write some custom javascript to simply manipulate the style that controls the visibility, but doing the animation will be more complex.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
This article discusses how to implement server side field validation and display customized error messages to the client.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question