One simple question about HyperLink, Urgent, thanks

  • Thread starter Thread starter Edward
  • Start date Start date
E

Edward

I've one datagrid and one frame with id ="frmdetail",

in the datagrid, there is one template column which includes one HyperLink,

<asp:HyperLink id="detaillnk" runat="server" text='detail'
Target='frmdetail' NavigateUrl='someurl' ></asp:HyperLink>

but when I clicked , it was shown in one new window.

Thank you, wait for the answer online...
 
Target='frmdetail' relates to the window that you want the URL to open into,
if your exisiting window is not called this it will spawn a new window and
name it frmdetail when the link is clicked.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Thanks, John.

if I want the DataGrid to set the frame src in the same page , how to do it?

BTW, I used Microsoft TreeView, its treenode can set Target to frame in the
same page. Why datagrid cannot ?
 
Back
Top