Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 How do display dynamic gridview templates

Author  Topic 

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2010-03-01 : 14:36:36
Hello,

I am working with telerik controls, to display gridview data. However, I would like to know how to checkthe following values before displaying


1. If the date is after 1 month (since entry ) and if referal is true. Then display the template column below

2. If referal has been done, then dont display value


Here is my item template ( An extract from the entire gridview )


<telerik:GridTemplateColumn HeaderStyle-Width="50px" HeaderText="Confirm Diagnosis" Visible ="true">
<ItemStyle HorizontalAlign="Center" />
<ItemTemplate>
<a runat="server" id="lnk2" href="#">View</a>
</ItemTemplate>
</telerik:GridTemplateColumn>
   

- Advertisement -