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

[Solved] Define rows in xaml?

1 Answer 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Terry
Top achievements
Rank 1
Terry asked on 20 Dec 2009, 07:12 PM
Hi:

I use RadGridView in lots of databound pages.  Now I have a simple request to show some content that does not lend itself to databinding.  It's a grid of columns for different locations and rows such as contact name, telephone number, link to web site, addresses, etc.  The customer likes the look of the RadGridView with its shaded heading etc.  So is there a way I can just define individual rows with various types of content (TextBlocks and HyperLinkButtons) in xaml?

So let me clarify:  A column will contain a TextBlock in one row and a HyperLinkButton in another row, and maybe something else in another row.  DataBinding wouldn't be convenient.

Thanks,

Terry

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 22 Dec 2009, 08:23 AM
Hi Terry,

That is not possible. You cannot add rows manually. You will have to data bind the grid to something and rows will appear.

Kind regards,
Ross
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
Terry
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or