﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Disabling Scroll bar when dialog box opens</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Disabling-Scroll-bar-when-dialog-box-opens/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Disabling Scroll bar when dialog box opens</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Disabling-Scroll-bar-when-dialog-box-opens/</link><pubDate>Thu, 13 Jan 2011 14:14:54 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In our sample on DetailView.aspx, it will invoke AddCustomer.aspx when you click Add New Row. This sample is using WebDialogBox and WebGrid. When the dialog box appears, you won't be able to select other controls until you close the dialog box.&lt;/p&gt;
&lt;p&gt;Therefore, when you are displaying WebDialogBox, it is automatically disabling the scroll bar on WebGrid.&lt;/p&gt;
&lt;p&gt;You can use the following code to display WebDialogBox:&lt;/p&gt;&lt;pre&gt;var dlg = ISGetObject("WebDialogBox1");
SetDialogBox(dlg, "Add Customer");
dlg.SetContentURL("AddCustomers.aspx");
dlg.ShowDialog();&lt;/pre&gt;
&lt;p&gt;Where AddCustomers.aspx is your custom page.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Disabling Scroll bar when dialog box opens</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Disabling-Scroll-bar-when-dialog-box-opens/</link><pubDate>Wed, 12 Jan 2011 16:38:31 GMT</pubDate><dc:creator>spsubaseball</dc:creator><description>&lt;p&gt;Similiar to your example you have on your website with the AddCustomer.aspx, I'm creating a message grid and when a user clicks add it pops up with entries to fill out kind of like a forum post or email. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is there anyway to disable scroll bar on the grid when your focus is on the dialog box. If so, how would you go about doing this. Also, same issue with the vertical scroll bar, I tried to play with the dimensions and disable vertical scrolling on the dialog box but its still appearing. Any ideas?&lt;/p&gt;</description></item><item><title>Disabling Scroll bar when dialog box opens</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Disabling-Scroll-bar-when-dialog-box-opens/</link><pubDate>Wed, 12 Jan 2011 16:25:36 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello Tommy,&lt;/p&gt;
&lt;p&gt;Could you explain your scenario in more detail? How and when do you trigger the dialog box in WebGrid?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Disabling Scroll bar when dialog box opens</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Disabling-Scroll-bar-when-dialog-box-opens/</link><pubDate>Wed, 12 Jan 2011 09:15:08 GMT</pubDate><dc:creator>spsubaseball</dc:creator><description>&lt;p&gt;Is it possible to make an if statement to turn off the scrolling when the dialog appears? If so, how do I go about doing this??&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Tommy&lt;/p&gt;</description></item></channel></rss>