Hi,
On click on Gridview cell , rad scroll able panel scrolls to left .
Controls tree
(Parent) Rad scrollable panel --> panel --> rad page view --> rad grid view (child )
Please find attached image.
Thanks.
5 Answers, 1 is accepted
0
Hi Surya,
Thank you for writing.
To disable the auto scroll you should set the AllowAutomaticScrollToControl property to false (see attached image).
Please let me know if there is something else I can help you with.
Regards,
Dimitar
Telerik
Thank you for writing.
To disable the auto scroll you should set the AllowAutomaticScrollToControl property to false (see attached image).
Please let me know if there is something else I can help you with.
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Surya
Top achievements
Rank 1
answered on 04 Mar 2016, 07:12 AM
Hi ,
Thanks for your response,
I didn't see property AllowAutomaticScrollToControl .
We are using 2012.2.912.40 version.
Please find attached images.
Thanks.
0
Hello Surya,
Thank you for writing back.
This property was introduced in the Q3 2014 (2014.3.1021) version. Detailed information is available here: UI for Winforms Feedback Portal - FIX. RadScrollablePanel - scrollbar jumps when the control loses focus and then regains it - set AllowAutomaticScrollToControl property to false
To workaround this with your version you should create a custom control like this:
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
Thank you for writing back.
This property was introduced in the Q3 2014 (2014.3.1021) version. Detailed information is available here: UI for Winforms Feedback Portal - FIX. RadScrollablePanel - scrollbar jumps when the control loses focus and then regains it - set AllowAutomaticScrollToControl property to false
To workaround this with your version you should create a custom control like this:
public
class
MyPanel : RadScrollablePanel
{
protected
override
RadScrollablePanelContainer CreateScrollablePanelContainer()
{
return
new
MyContainer(
this
);
}
public
override
string
ThemeClassName
{
get
{
return
typeof
(RadScrollablePanel).FullName;
}
}
}
public
class
MyContainer : RadScrollablePanelContainer
{
public
MyContainer(RadScrollablePanel parentPanel):
base
(parentPanel)
{
}
protected
override
Point ScrollToControl(Control activeControl)
{
return
new
Point(0, 0);
}
}
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Surya
Top achievements
Rank 1
answered on 04 Mar 2016, 01:36 PM
Hi ,
Thanks for your response.
I am getting MyPanel.CreateScrollablePanelContainer()': no suitable method found to override.
Please advise.
Thanks.
0
Hello Surya,
Thank you for writing back.
It appears that this method can be overridden in the Q2 2014 (2014.2.617.40) version. Unfortunately, there is no workaround for the version that you are using. So the only possible solution for this would be to upgrade to newer version.
If you have any questions, please do not hesitate to contact us.
Regards,
Dimitar
Telerik
Thank you for writing back.
It appears that this method can be overridden in the Q2 2014 (2014.2.617.40) version. Unfortunately, there is no workaround for the version that you are using. So the only possible solution for this would be to upgrade to newer version.
If you have any questions, please do not hesitate to contact us.
Regards,
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items