J
Jay
I am trying to get pageA.aspx gridView to pass a key (say deptID) to
pageB.aspx which will use the value passed as a filter in it's own griView
query.
On pageA gridView I have a hyperlinkField with navigateURL property =
~/pageB.aspx?deptID={0} and it is bound to deptID (which is another column in
the grid). Also, the hyperlinkField it has its dataTextFormatString =
~/pageB.aspx?deptID={0}. PageB datasource has a where clause, where deptID =
{0}.
At runtime, the hyperlink appears to populate correctly with values such as
pageB.aspx?deptID=100, etc., byt when I click on it, pageB appears with the
token still set to deptID={0}.
I am new to webforms, can someone please help? Why doen't the
hyperLinkField pass the deptID value in the url token?
Thanks,
Jay
pageB.aspx which will use the value passed as a filter in it's own griView
query.
On pageA gridView I have a hyperlinkField with navigateURL property =
~/pageB.aspx?deptID={0} and it is bound to deptID (which is another column in
the grid). Also, the hyperlinkField it has its dataTextFormatString =
~/pageB.aspx?deptID={0}. PageB datasource has a where clause, where deptID =
{0}.
At runtime, the hyperlink appears to populate correctly with values such as
pageB.aspx?deptID=100, etc., byt when I click on it, pageB appears with the
token still set to deptID={0}.
I am new to webforms, can someone please help? Why doen't the
hyperLinkField pass the deptID value in the url token?
Thanks,
Jay