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

RadGridView Load Time, and Filtering with DateTime

1 Answer 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fakhru
Top achievements
Rank 2
Fakhru asked on 24 Sep 2009, 12:20 PM
Hi,
After migrating all DataGridView to RadGridView, I have other question:
  1. When the form using RadGridView first viewed, the UI freeze quite long (I'm tested in my P4 machine about 3-5 sec) before showed. Is there any method/trick to pre-load RadGridView say when I showing splash screen, so the delay wont happen.
  2. I have field DateTime type, when I enable filtering and enter filter value it's was ok, but how to clear the filter value ?
  3. How to alter Group Text, as far I known it was value of ColumnHeader Caption or Column FieldName.



Best Regards,
Fakhru Rahman

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 26 Sep 2009, 06:04 AM
Hi Fakhru,

Regarding your questions:

1. Yes, you can use our SplashForm component. Just set its BackgroundImage property and show the form before showing the main form of your application. When the form is loaded you can hide the splash component. Please consider the sample code snippet below:

SplashForm splashForm = new SplashForm(); 
splashForm.BackgroundImage = Resources.SplashImage; 
splashForm.Show(); 
//... 
splashForm.Hide(); 

2. To clear the filter programmatically, just remove it from the FilterExpressions collection:

this.radGridView1.MasterGridViewTemplate.FilterExpressions.Clear(); 

If you want to do this with the UI, just select the No filter option from filtering menu.

3. Please take a look at the following blog post. It describes how to customize group header text in RadGridView.

If you have any other questions, feel free to write back.

Kind regards,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Fakhru
Top achievements
Rank 2
Answers by
Jack
Telerik team
Share this question
or