Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Customize GridView Through a Control Template

$
0
0

Hi,

I was trying to customize the RadGridView by using a control template. Basically, I wanted to always include an additional control together with the grid.

The first thing I noticed was, the ContentPresenter control doesn't do what it should, that is, the RadGridView does not get rendered. Then I tried to add another RadGridView to the control template, and have its properties bound to the container RadGridView through TemplateBindings or Bindings, but, for example, I cannot do this for the columns.

Has anyone succeeded in doing this? If so, what is the best approach? Could visual states be the answer?

Thanks,

RP


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>