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

Condtional formatting Issue

1 Answer 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nicky
Top achievements
Rank 1
Nicky asked on 16 Oct 2007, 10:19 PM
Hi Team,

I working with GridView Q2 2007 When I use propery builder for condtional formatting to provide condition if valu is less than 0 then color shld be red.
It is giving me error.
Please provide solution how to set it through property builder step by step.

Thanks
Nicky

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 17 Oct 2007, 01:46 PM
Hi Nicky,

We could not reproduce this issue. Can you provide more details about the condition you want to set and the message you received. We will investigate the issue further.

To set a condition using the property builder follow these steps:

  1. Open a Form in Visual Studio Designer and drop the RadGridView on it
  2. Set RadGridView's DataSource property to a valid DataSource
  3. Select RadGridView's smart tag and choose "Open Property Builder"
  4. Click on "Build data schema" button to generate new schema for the selected data source
  5. Select some column
  6. From the "Properties" pane select ConditionalFormattingObjectList and open its collection editor
  7. Add some condition and set its properties. For example: set CellForeColor to red, set ConditionType to Less and finally set the TValue property to 0
  8. Click the OK button and close the property builder. Build and run your solution
We hope you find this information helpful. Don't hesitate to contact us in case you have additional questions.

Greetings,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Nicky
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or