Objective :
Have all RadGrids in a project default to UseStaticHeaders='True' while allowing certain RadGrids to individually override that ClientSettings Scrolling property to false ( UseStaticHeaders='False')
What's Actually Happening (the problem) :
Setting UseStaticHeaders='False' at the RadGrid level is not overriding the default 'True' setting. When we set up an individual RadGrid with UseStaticHeaders='False' the setting doesn't stick & the page containing the control still renders with UseStaticHeaders='True'
The Setup:
The Default.skin file looks like this :
<
telerik:RadGrid
runat
=
"server"
>
<
HeaderStyle
HorizontalAlign
=
"Center"
VerticalAlign
=
"Bottom"
></
HeaderStyle
>
<
ItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Top"
></
ItemStyle
>
<
AlternatingItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Top"
></
AlternatingItemStyle
>
<
ClientSettings
EnableRowHoverStyle
=
"True"
>
<
Scrolling
AllowScroll
=
"True"
SaveScrollPosition
=
"true"
UseStaticHeaders
=
"true"
/>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
The individual RadGrid configuration looks like this :
<
ClientSettings
AllowKeyboardNavigation
=
"True"
EnablePostBackOnRowClick
=
"True"
ActiveRowIndex
=
"0"
>
<
Scrolling
ScrollHeight
=
"500px"
AllowScroll
=
"True"
SaveScrollPosition
=
"True"
UseStaticHeaders
=
"False"
/>
<
KeyboardNavigationSettings
EnableKeyboardShortcuts
=
"True"
AllowSubmitOnEnter
=
"True"
AllowActiveRowCycle
=
"True"
CollapseDetailTableKey
=
"LeftArrow"
ExpandDetailTableKey
=
"RightArrow"
/>
</
ClientSettings
>
Are we misunderstanding how this should work? Is UseStaticHeaders configurable on a grid-by-grid basis? If so, how?