Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Query DataGrid Link View modes: 
User avatar
Member
Member
MWB - 12/21/2009 1:34:20 PM
   
Query DataGrid Link
I would like a way to specify the link in a datagrid using the querydatagrid control. When setting up columns there is the toggle to indicate whether the item should be displayed as a link, but I'm not sure how to specify what the row should link to?

Any help would be appreciated.
Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 12/29/2009 3:59:34 AM
   
RE:Query DataGrid Link
Hello,

this functionality is intended to be used when displaying documents from content tree by default. I.e. when table returned by specified query contains 'NodeAliasPath' and 'DocumentUrlPath' columns it generates URL in according to value in these columns automatically.

You can optionally create 'copy' of this web part and modify gridItems_ItemDataBound method in its code-behind to ensure links that you need.

Best Regards,

Martin Dobsicek