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

htmlViewDefinition

7 Answers 188 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David Simmonds
Top achievements
Rank 1
David Simmonds asked on 09 May 2011, 04:24 PM
Is there a sample thta shows how to build a ViewDefinition so that the rows look like the example (DiggDemo) screenshot in the help for WinForms Q1 2011?

7 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 09 May 2011, 05:05 PM
Hello David,

The best place to start is this help topic which explains the HTML View Definition in detail. You can even specify the column/row definition in HTML.

Or, you can load the samples from the demo which you will find under the examples folder in the Telerik installation on your machine to go through the code there.

Hope that helps
Richard
0
David Simmonds
Top achievements
Rank 1
answered on 09 May 2011, 05:12 PM
I already looked at those and they were not helpful. The screenshot in the help is pretty much what I would like but there are no good samples for such.
0
Richard Slade
Top achievements
Rank 2
answered on 09 May 2011, 05:13 PM
Hi David,

I'm not sure why the help topic isn't helpful. Can you post the link of what you are wanting to do?
Thanks
Richard
0
David Simmonds
Top achievements
Rank 1
answered on 09 May 2011, 05:17 PM
0
David Simmonds
Top achievements
Rank 1
answered on 09 May 2011, 05:22 PM
Or even simpler using the ListControl.

http://www.telerik.com/products/winforms/dropdown-and-list.aspx

I am not sure how to format the text to display like that example.
0
David Simmonds
Top achievements
Rank 1
answered on 09 May 2011, 05:32 PM
That is, the example with an image, a two line display with one of the lines bolded. I assume it is using html markup but I cannot get it to work properly with an image.
0
Richard Slade
Top achievements
Rank 2
answered on 10 May 2011, 09:34 AM
Hi David,

Have a look at this forum post
it describes how to span multiple columns with the header which is what I think you would like to do here.
Hope that helps
Richard
Tags
GridView
Asked by
David Simmonds
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
David Simmonds
Top achievements
Rank 1
Share this question
or