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

[Solved] Native scrolling in safari for iPad

1 Answer 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jocelyn
Top achievements
Rank 1
Jocelyn asked on 23 May 2013, 03:09 PM
Hi,

I have a RadGrid that use:

tmpGrid.ClientSettings.Scrolling.AllowScroll = True
tmpGrid.ClientSettings.Scrolling.UseStaticHeaders = True

and I have this css rule:

.rgDataDiv {
    -webkit-overflow-scrolling: touch;
}

but for some reason, the rgDataDiv doesn't use the iOS native scrolling. I tried this rule on any other div I have in my app and it works perfectly, but not on the rgDataDiv.

Is that a known issue? Or is there a work around?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 28 May 2013, 07:11 AM
Hi,

 RadGrid uses a built-in custom scrolling on mobile devices, so you do not need to set any additional css rules in this case. The scrolling should work out of the box once you have enabled it in the ClientSettings. You can check it out in this online demo.

Regards,
Marin
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 their blog feed now.
Tags
Grid
Asked by
Jocelyn
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or