G
Guest
I have created a datagrid with ID dgEncounter in form design, and add a
HyperLink Column, Link, which is bounded to a field URLs that providing the
URL of the page to go for each record. That is not enough, since I need to
add a KEY with ?= notation to follow the URL, for example, abc.aspx?key=xyz
where abc.aspx is a item value of URLs and xyz is a value of another column.
I Do not know how to do it. In the URL field in the property of
dgEncounter, URLs is filled in. So when I click a Link, it goes to the page
abc.apsx without key key=xyz.
The following is from the HTML source of Web browser for my code, Hope it is
useful. By the way, what does it mean by 'dgEncounter$_ctl3$_ctl0',
especially, $_ctl3$_ctl0:
<td><a href="javascript:__doPostBack('dgEncounter$_ctl3$_ctl0','')"
style="color:Black;">Select</a></td><td><a href="PatientCheckOut.aspx"
target="_blank">Link</a></td><td>1</td><td>08 Jul 2005
11:32:35</td><td>Surgery
TBD</td><td>CheckOut</td><td>Administration</td><td>clinic</td><td>PatientCheckOut.aspx</td><td>3</td>
Thanks
David
HyperLink Column, Link, which is bounded to a field URLs that providing the
URL of the page to go for each record. That is not enough, since I need to
add a KEY with ?= notation to follow the URL, for example, abc.aspx?key=xyz
where abc.aspx is a item value of URLs and xyz is a value of another column.
I Do not know how to do it. In the URL field in the property of
dgEncounter, URLs is filled in. So when I click a Link, it goes to the page
abc.apsx without key key=xyz.
The following is from the HTML source of Web browser for my code, Hope it is
useful. By the way, what does it mean by 'dgEncounter$_ctl3$_ctl0',
especially, $_ctl3$_ctl0:
<td><a href="javascript:__doPostBack('dgEncounter$_ctl3$_ctl0','')"
style="color:Black;">Select</a></td><td><a href="PatientCheckOut.aspx"
target="_blank">Link</a></td><td>1</td><td>08 Jul 2005
11:32:35</td><td>Surgery
TBD</td><td>CheckOut</td><td>Administration</td><td>clinic</td><td>PatientCheckOut.aspx</td><td>3</td>
Thanks
David