Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > One simple question about HyperLink, Urgent, thanks

Reply
Thread Tools

One simple question about HyperLink, Urgent, thanks

 
 
Edward
Guest
Posts: n/a
 
      06-28-2004
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...



 
Reply With Quote
 
 
 
 
John Timney \(Microsoft MVP\)
Guest
Posts: n/a
 
      06-28-2004
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


"Edward" <> wrote in message
news:...
> 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...
>
>
>



 
Reply With Quote
 
 
 
 
Edward
Guest
Posts: n/a
 
      06-28-2004
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 ?

"John Timney (Microsoft MVP)" <> 写入消息新闻
:e$...
> 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
>
>
> "Edward" <> wrote in message
> news:...
> > 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...
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cakewalk Pro Audio 9 (running problem) [THANKS] [ MORE THANKS] con't beenthere Computer Support 2 09-07-2006 08:58 AM
Array Declaration. Simple Question. Thanks. Shapper ASP .Net 4 05-25-2005 07:30 PM
Anybody meet the question about simple file read/write?thanks 老余 ASP .Net 0 05-04-2005 02:59 PM
yeah, hi, quick question. whats the best virus checker????? anyone????? i need one anything thats free thanks from janet janetjones Computer Support 12 07-11-2004 06:09 PM
Thanks, thanks a lot Rick Computer Support 0 05-05-2004 04:04 AM



Advertisments