I'm using Visual Studio 2010, VB.Net. I have a Dynamic data site and I have created a custom page for a parent table. I created a templated field and placed a DynamicHyperLink control in the template. I wolud like the DynamicHyperLink to point to a child
table. However, DynamicData infers and points to the ParentTable. How do I get the DynamicHyperlink in my databound grid to point to the childtable.
To create dynamichyperlink in gridview, a lot of tutorial you can found and get the tips about that. For the simple method, you can try this one tutorial as your reference :
None
0 Points
2 Posts
DynamicHyperLink control in Gridview
Jul 30, 2012 08:19 AM|wsmithcode2008|LINK
I'm using Visual Studio 2010, VB.Net. I have a Dynamic data site and I have created a custom page for a parent table. I created a templated field and placed a DynamicHyperLink control in the template. I wolud like the DynamicHyperLink to point to a child table. However, DynamicData infers and points to the ParentTable. How do I get the DynamicHyperlink in my databound grid to point to the childtable.
All-Star
94130 Points
18109 Posts
Re: DynamicHyperLink control in Gridview
Jul 31, 2012 09:17 PM|Decker Dong - MSFT|LINK
Hi,
here's the sample if you don't know how to do it(DynamicRouteExpression class will do that).
http://msdn.microsoft.com/en-cn/library/system.web.dynamicdata.dynamicrouteexpression.aspx
Member
650 Points
357 Posts
Re: DynamicHyperLink control in Gridview
Aug 13, 2012 10:46 PM|teguhyuliantos|LINK
To create dynamichyperlink in gridview, a lot of tutorial you can found and get the tips about that. For the simple method, you can try this one tutorial as your reference :
http://msdn.microsoft.com/en-us/library/dd465348.aspx