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

UseStaticHeaders in client-side API for RadGrid for ASP.NET AJAX?

2 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wendy Hayden
Top achievements
Rank 1
Wendy Hayden asked on 26 Sep 2008, 06:33 PM
I would like to be able to turn UseStaticHeaders on/off client-side in RadGrid for ASP.NET AJAX.  It doesn't seem like that property is available client-side.  It seems to be available in RadGrid for ASP.NET, but not the AJAX version.  Is that property available and I'm just missing it?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Sep 2008, 05:36 AM
Hi Wendy,

Yes you can set the static header in RadGrid for asp.net AJAX also.

ASPX:
 <ClientSettings> 
      <Scrolling   AllowScroll="true" UseStaticHeaders="true" /> 
  </ClientSettings> 

Regards
Shinu.
0
Wendy Hayden
Top achievements
Rank 1
answered on 29 Sep 2008, 03:06 PM
Thank you for the reply, but I actually was inquiring about setting the property via javascript so that I could toggle the setting on/off.  RadGrid for ASP.NET allows you to execute this javascript client-side:

grid.ClientSettings.Scrolling.UseStaticHeaders = true;

The Scrolling object for ASP.NET AJAX doesn't seem to have the UseStaticHeaders property available that I could find.
Tags
Grid
Asked by
Wendy Hayden
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Wendy Hayden
Top achievements
Rank 1
Share this question
or