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

Show the conditional formatting dialog programmatically

1 Answer 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lamees Afify
Top achievements
Rank 1
Lamees Afify asked on 24 Aug 2008, 09:59 PM
Hey,
     Is there anyway that I can show the Conditional formatting dialog programmatically by a button click?
I mean to use something just like the function that shows the column chooser
RadGridView.ShowColumnChooser() function
Thanks

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 26 Aug 2008, 03:07 PM
Hi Lamees Afify,

You can find an example of programmatically showing the Conditional Formatting Form in our Quick-Start Framework application, section RadGridView -> Conditional Formatting. Generally, you should follow the approach demonstrated in the code snippet below:
ConditionalFormattingForm cf = new ConditionalFormattingForm(this.radGridView1.MasterGridViewTemplate, null);  
cf.Show(); 

If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Lamees Afify
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or