?
Solved

Scroll bar problem with Modal Dialog web form

Posted on 2011-02-15
5
Medium Priority
?
943 Views
Last Modified: 2012-05-11
Experts,

I am having an issue with scroll bars on a modal web form. The modal form contains a GridView of customer data based on the customer id being passed.  The modal form opens fine, the data in the GridView is correct. But even though the data in the Gridview requires scrolling, there are no scroll bars. In the function below, if I add        scroll:yes       you will see the scoll bar but it is disabled.


<script type="text/javascript">
    function openWindow()
    {
        var strEmpiNo = document.getElementById("<%= txtEmpiNo.ClientID %>").value;
        window.showModalDialog("CommentHistory.aspx?empi=" + strEmpiNo, "","resizable:yes");
    }
    </script>

Any assistance is appreciated.
Thank you.
0
Comment
Question by:jvoconnell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34905399
window.showModalDialog("modal.htm", "docForm","center:yes;resizable:no;scroll:yes;status:no;" );
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34905404
0
 
LVL 1

Author Comment

by:jvoconnell
ID: 34906520
Hello, thank you for the response. Unfortunately that didn't work. I did see use the information on the URL provided yesterday. I just can't seem to get it to work. I attached a screen shot in case it would be of any help to people. Thank you for the quick response. It is appreciated.
Modal-Example.doc
0
 
LVL 1

Accepted Solution

by:
jvoconnell earned 0 total points
ID: 34918666
I removed the following settings from my <style> tag. (margin:0;width:100%;height:100%) Now the scroll bar is functioning properly. Thank you for your time.
0
 
LVL 1

Author Closing Comment

by:jvoconnell
ID: 34949745
Removing the following settings from my <style> tag (margin:0;width:100%;height:100%) solved the issue with the scroll bar.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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