<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/3274842.aspx</link><pubDate>Sat, 04 Jul 2009 16:56:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274842</guid><dc:creator>mga911</dc:creator><author>mga911</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274842.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3274842</wfw:commentRss><description>&lt;p&gt;What part isn&amp;#39;t working?&amp;nbsp; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Did you make the changes?&amp;nbsp; Did it compile?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/3274286.aspx</link><pubDate>Sat, 04 Jul 2009 05:29:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274286</guid><dc:creator>flohaas</dc:creator><author>flohaas</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274286.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=3274286</wfw:commentRss><description>&lt;p&gt;HI &lt;b&gt;mga911&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;it is not working...&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wht to do...&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2969809.aspx</link><pubDate>Fri, 27 Feb 2009 00:02:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2969809</guid><dc:creator>mga911</dc:creator><author>mga911</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2969809.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2969809</wfw:commentRss><description>&lt;p&gt;I may have a cleaner solution than executing javascript when the Modal pops. I was able to remove the horizontal bar completely but the vertical toolbar still pops up while the modal.&amp;nbsp; Removing the horizontal bar makes it look much better....&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I downloaded the source code for the Ajax Toolkit v1.0.20229 (since I&amp;#39;m on .Net v2.0 still) and simply changed the two lines that set the x and y coordinates of the background.&amp;nbsp; As stated earlier on IE6 those two lines would set the x and y coordinates of the modal background at 2,2 so I simply changed it to 0,0.&amp;nbsp; It is pretty easy once you know where it is. &lt;/p&gt;&lt;p&gt;&amp;nbsp;The lines are located in ModalPopupBehavior.js at 575 and at 583:&lt;/p&gt;&lt;p&gt;I changed 575 from: &lt;/p&gt;&lt;p&gt;this._backgroundElement.style.left = (-backgroundXCoord) + &amp;#39;px&amp;#39;;&lt;/p&gt;&lt;p&gt; to:&lt;/p&gt;&lt;p&gt;this._backgroundElement.style.left = 0 + &amp;#39;px&amp;#39;;&lt;/p&gt;&lt;p&gt;and 583 from:&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;this._backgroundElement.style.top = (-backgroundYCoord) + &amp;#39;px&amp;#39;;&lt;/p&gt;&lt;p&gt;to:&lt;/p&gt;&lt;p&gt;&amp;nbsp;this._backgroundElement.style.top = 0 + &amp;#39;px&amp;#39;;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then I recompiled a release version and copied the Ajax Control Toolkit DLL to my project. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2372695.aspx</link><pubDate>Thu, 22 May 2008 02:01:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2372695</guid><dc:creator>quitchat</dc:creator><author>quitchat</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2372695.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2372695</wfw:commentRss><description>&lt;p&gt;This work around woks like a champ!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks Andy!&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2354978.aspx</link><pubDate>Tue, 13 May 2008 16:20:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2354978</guid><dc:creator>richardneverett</dc:creator><author>richardneverett</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2354978.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2354978</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;I have run into this same problem on IE6. Unfortunately I have about ten ModalPopups...am wondering if a more generic approach is possible that will fix the issue for all of my ModalPopups.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2330459.aspx</link><pubDate>Wed, 30 Apr 2008 16:43:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2330459</guid><dc:creator>pranilrao</dc:creator><author>pranilrao</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2330459.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2330459</wfw:commentRss><description>&lt;p&gt;For all those, who are still not able to figure out, this is a ajaxcontroltoolkit version related issue (atleast from my research I conclude). I was using 1.0.11119.0 till now and facing the same problem. &lt;/p&gt;
&lt;p&gt;Now I changed to 1.0.10301.0 and it works fine.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Pranil&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2327756.aspx</link><pubDate>Tue, 29 Apr 2008 14:23:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2327756</guid><dc:creator>pranilrao</dc:creator><author>pranilrao</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2327756.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2327756</wfw:commentRss><description>&lt;p&gt;On further investigation I have come to the conclusion, that this is a machine related issue or probably IDE related.&lt;/p&gt;
&lt;p&gt;We tried the exact same thing from my colleagues machine and it worked fine there, also we deployed the version on her machine to the test server, and it works fine there too!&lt;/p&gt;
&lt;p&gt;however, when I deploy from my machine, it starts behaving in the same weird way!!!&lt;/p&gt;
&lt;p&gt;this really is a crazy issue..!!&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2326206.aspx</link><pubDate>Mon, 28 Apr 2008 22:39:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2326206</guid><dc:creator>pranilrao</dc:creator><author>pranilrao</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2326206.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2326206</wfw:commentRss><description>&lt;p&gt;I am facing similar problem with modalpopupextender. I tried to access the popup_backgroundElement in javascript both before and after calling the popup.show() method, however I am not able to access this element.&lt;/p&gt;
&lt;p&gt;The difference in the issue is that I am doing show() from server side code, since I have to get some data from the database and load an usercontrol.&lt;/p&gt;
&lt;p&gt;Any comments to resolve this will be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pranil&lt;/p&gt;
&lt;p&gt;Please Mark as &amp;quot;Answer&amp;quot; if this helps you.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2292888.aspx</link><pubDate>Fri, 11 Apr 2008 19:27:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2292888</guid><dc:creator>Piper Douglas</dc:creator><author>Piper Douglas</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2292888.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2292888</wfw:commentRss><description>&lt;p&gt;I may have a workaround solution.&amp;nbsp; After searching through the 11 (!) JavaScript files that ASP.Net includes with the ASP.Net AJAX Control Toolkit, I found out what was going on.&amp;nbsp; There is a div that&amp;#39;s dynamically created on the page called &amp;quot;AJAXPopup_backgroundElement&amp;quot; (where AJAXPopup is the name of the behavior that you&amp;#39;ve assigned in your ModalPopupExtender tag).&amp;nbsp; That div is what offers the modal behavior - it sits at a zIndex of 10000 and has a height and width that fills the entire screen.&amp;nbsp; In IE 6, this div was being positioned at left:2px and top:2px, but its height and width were the FULL size of the screen, hence the need for the scrollbars.&lt;/p&gt;&lt;p&gt;So, in my JavaScript code, just before $find(&amp;quot;AJAXPopup&amp;quot;).show(), I added the following code, and it seems to take care of the problem:&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;    var background = document.getElementById(&lt;span class="st"&gt;&amp;quot;AJAXPopup_backgroundElement&amp;quot;&lt;/span&gt;);&lt;br /&gt;    &lt;span class="kwd"&gt;if&lt;/span&gt; (background != &lt;span class="kwd"&gt;null&lt;/span&gt;) {&lt;br /&gt;        background.style.left = &lt;span class="st"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;;&lt;br /&gt;        background.style.top = &lt;span class="st"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;;&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;I hope this helps!&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Andy Douglas&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/2259032.aspx</link><pubDate>Thu, 27 Mar 2008 11:43:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2259032</guid><dc:creator>waheed</dc:creator><author>waheed</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2259032.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2259032</wfw:commentRss><description>&lt;p&gt;has any one got the answer to this question?&lt;/p&gt;
&lt;p&gt;is it really a bug in the modal popup code?&lt;/p&gt;
&lt;p&gt;any plans to fix???&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/1718816.aspx</link><pubDate>Tue, 22 May 2007 07:24:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1718816</guid><dc:creator>party42</dc:creator><author>party42</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1718816.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1718816</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have the same issues as described above. It tends to happen when I load the modal extender from a master page and try to size it using css:&lt;/p&gt;&lt;p&gt;.modalbackground&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #000;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; filter: alpha(opacity=40);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; opacity: 0.4;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.modalpopup&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: #fff;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 1px solid #1E2C58;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 5px;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 275px;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 500px;&lt;br /&gt;} &lt;br /&gt;&lt;/p&gt;&lt;p&gt;When I remove the height &amp;amp; width attributes the popup doesn&amp;#39;t create scrollbars (but its really tiny so thats not really an option...).&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/1696554.aspx</link><pubDate>Sat, 05 May 2007 20:03:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1696554</guid><dc:creator>alik</dc:creator><author>alik</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1696554.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1696554</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have (maybe) the same issue as described above. I use ModulPopupExtender to show a div which should fits inside the browser Windows (which is actually less than 1024x768). When the popup dialog is shown, the vertical scrollbar appears. I have investigated the issue using the IE Developer Toolbar in MSIE 7 RTM and have seen the following:&lt;br /&gt; * The original popup dialog div is enclosed in a new div, which is probably dynamicaly created by the Toolkit.&lt;br /&gt; * After the new div from the previous point there is one more new div, which does the issue. If the dialog has not been shown yet, the height and width is zero. However, after showing the dialog, it's width is set to slightly more than the browser window width. Also, the height is more then necessary.&lt;br /&gt;* After scrolling the browser window, the height and/or width parameter of the div is incremented. This mean that after scrolling to the right and left enough (or up and down) I can get really high height and/or width value set to that div.&lt;br /&gt;&lt;br /&gt;PS: The background page is shorter than the popup dialog, if this information is useful.&lt;br /&gt;&lt;br /&gt;Thanks for investigating this issue.&lt;br /&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/1622737.aspx</link><pubDate>Thu, 15 Mar 2007 22:13:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1622737</guid><dc:creator>leodippolito</dc:creator><author>leodippolito</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1622737.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1622737</wfw:commentRss><description>&lt;p&gt;Now I cannot reproduce the modal popup working fine (when the browser starts with a little scrollbar).&lt;/p&gt;
&lt;p&gt;Well, that's definitely confusing...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/1622736.aspx</link><pubDate>Thu, 15 Mar 2007 22:13:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1622736</guid><dc:creator>Jason Hill</dc:creator><author>Jason Hill</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1622736.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1622736</wfw:commentRss><description>Weird.&amp;nbsp; I moved the panel pnl into the &amp;lt;td&amp;gt; within the &amp;lt;tr id="header"&amp;gt;&amp;nbsp;and I don't get a scroll bar at any resolution now in IE7.</description></item><item><title>Re: Bug in ModalPopup? (vertical scrollbar)</title><link>http://forums.asp.net/thread/1622724.aspx</link><pubDate>Thu, 15 Mar 2007 22:03:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1622724</guid><dc:creator>leodippolito</dc:creator><author>leodippolito</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1622724.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1622724</wfw:commentRss><description>&lt;p&gt;LSU, I understand what you mean.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;the browser&amp;nbsp;starts&amp;nbsp;with a&amp;nbsp;tiny scrollbar (in other words, starts with the browser contents 1% higher than the browser available size), than the ModalPopup displays fine.&lt;/p&gt;
&lt;p&gt;But if the browser starts without a vertical scrollbar, than we have the problem (when the modal popup is displayed, it adds the extra vertical space&amp;nbsp;and scrollbar, as described).&lt;/p&gt;
&lt;p&gt;I wouldn't say it's a browser bug... I don't know, it looks like a Toolkit bug.&lt;/p&gt;
&lt;p&gt;This is not a new page. I was using an older version (that was released together with the RC version of AJAX), and the modal popup was working perfectly.&lt;/p&gt;
&lt;p&gt;Then I upgraded to Ajax RTM and latest Toolkit... and the problem started to happen.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>