This is a migrated thread and some comments may be shown as answers.

Edit PopUp Scrolling issue

8 Answers 264 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John John
Top achievements
Rank 1
John John asked on 16 Mar 2010, 04:30 PM
Dear Telerik,
       I am having radgrid, which has the feature of StaticHeader and scrolling. When i click the edit button the Edit PopUp window shows.
My issue is when i try to scroll up and down the controls inside the EditPop window the grid contents also scrolls as the default static header scrolling scrolls.
Is there any way to control the scrolling of background grid when i scroll the EditPopup window

-Thanks

8 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 19 Mar 2010, 12:08 PM
Hi John,

When you have a RadGrid with PopUp Edit Form, the popup window is a part of the RadGrid DOM tree. However, when two elements are placed in each other and they have scrollbars, the default behavior of the Internet Explorer is to scroll the inner element and then scroll outer element so you cannot prevent it.

Greetings,
Radoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vinod
Top achievements
Rank 1
answered on 30 Jul 2013, 07:51 AM
Hi John,
Can u please tell me How to implement Scroll bar in EditPop Window?

Thanks,
Vinod
0
Maria Ilieva
Telerik team
answered on 02 Aug 2013, 08:26 AM
Hi Vinod,

The Popup EditForm settings are controlled through the PopUpSettings property of the GridEditFormSettingsobject. It exposes a "ScrollBars" property which defines whether and which scrollbars should appear in the edit form. This setting is with higher priority, so if Height is set but the vertical scrollbar is not shown and the content requires more room, the popup will be resized to accommodate the entire content. The default value is None.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Vinod
Top achievements
Rank 1
answered on 02 Aug 2013, 08:31 AM
Thanks Maria.

0
Neo
Top achievements
Rank 1
answered on 20 Jun 2016, 05:21 AM

Hi Maria,

I want to display scrollbars for Edit Forms. Can you please let me know the values for "ScrollBars" property other than None.

Please note I want to display both (Vertical and Horizontal) scrollbars.

Regards,

Neo Dev

0
Maria Ilieva
Telerik team
answered on 22 Jun 2016, 03:05 PM
Hi Neo,

To show both horizontal and vertical scroll bars use the "both" enumeration like that:
<telerik:RadGrid runat="server" MasterTableView-EditFormSettings-PopUpSettings-ScrollBars="Both">
         
    </telerik:RadGrid>


Regards,
Maria Ilieva
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Neo
Top achievements
Rank 1
answered on 23 Jun 2016, 08:29 AM

Thanks Maria for the response.

This is working fine on desktop. But, when I try to open this on mobile scrollbar for Edit Form doesn't appear.

Do I need to set any other properties for that?

Can you please let me know the solution for the same.

 

Thanks and Regards,

Neo Dev

0
Eyup
Telerik team
answered on 28 Jun 2016, 06:16 AM
Hello Neo,

You can try to use CSS to achieve this requirement:

<style>
    div.RadGrid div.rgEditForm.rgEditPopup > div:nth-child(2) {
        overflow: scroll;
    }
</style>

I hope this will prove helpful.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
John John
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Vinod
Top achievements
Rank 1
Maria Ilieva
Telerik team
Neo
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or