G
Guest
hi all,
is there any way i can programatically determine the following fields in a
datagrid column built using the property builder? i want to display in the
grid a different table depending on the type passed in the querystring, but
the <DataNavigateUrlField> and <childtype> will change depending on the
table selected (as would the header name etc, but im assuming these will be
able to set in the same way):
<asp:HyperLinkColumn DataNavigateUrlField="generic_column_name"
DataNavigateUrlFormatString="Generic.aspx?type=childtype&parentid={0}"
DataTextField="name" HeaderText="Generic Hyperlink">
</asp:HyperLinkColumn>
thanks!
Spammy
is there any way i can programatically determine the following fields in a
datagrid column built using the property builder? i want to display in the
grid a different table depending on the type passed in the querystring, but
the <DataNavigateUrlField> and <childtype> will change depending on the
table selected (as would the header name etc, but im assuming these will be
able to set in the same way):
<asp:HyperLinkColumn DataNavigateUrlField="generic_column_name"
DataNavigateUrlFormatString="Generic.aspx?type=childtype&parentid={0}"
DataTextField="name" HeaderText="Generic Hyperlink">
</asp:HyperLinkColumn>
thanks!
Spammy