iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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??
Thanks,
Tommy
Hello,
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.
Therefore, when you are displaying WebDialogBox, it is automatically disabling the scroll bar on WebGrid.
You can use the following code to display WebDialogBox:
var dlg = ISGetObject("WebDialogBox1"); SetDialogBox(dlg, "Add Customer"); dlg.SetContentURL("AddCustomers.aspx"); dlg.ShowDialog();
Where AddCustomers.aspx is your custom page.
Hope this helps.
Thank you.
Hello Tommy,
Could you explain your scenario in more detail? How and when do you trigger the dialog box in WebGrid?
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.
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?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname