How can I start an ASP page in an iframe by clicking a toolbar button (WebControl Toolbar).
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


xiaoningyu@netscape.net
Hi, friends,
Hi, friends,

I tried to start an ASP page in an iframe by clicking a toolbar button (WebControl Toolbar). But I couldn't find any information from MSDN regarding to this issue.

If you use tree view webcontrol, you can use NAVIGATEURL and TARGET to start the new page in the target frame. But toolbar button only give you a method OnButtonClick that allows you call the event handler.

My query is that in the handler, how can I start an ASP page in a Target frame.

I am deadly waiting for you help.

Kind regards.

Xiaoning

__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

Reply to this message...
 
    
James Avery
Do you want to do this on client or server side??

By using the onbuttonclick it will go server-side and you can simple
output(set to a literal or response.write) some javascript to make the
change. (framename.location.href = "pageurl.htm";) If you want it
client side you could try adding a client side onclick event to the
button and then doing something with javascript similar to above.

Also check out this link for some more info:(watch for wrap)
http://msdn.microsoft.com/workshop/webcontrols/webforms/library/Toolbar/
ButtonClick.asp

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Tuesday, April 30, 2002 4:38 AM
To: aspngwebcontrols
Subject: [aspngwebcontrols] How can I start an ASP page in an iframe by
clicking a toolbar button (WebControl Toolbar).

Hi, friends,
Hi, friends,

I tried to start an ASP page in an iframe by clicking a toolbar button
(WebControl Toolbar). But I couldn't find any information from MSDN
regarding to this issue.

If you use tree view webcontrol, you can use NAVIGATEURL and TARGET to
start the new page in the target frame. But toolbar button only give you
a method OnButtonClick that allows you call the event handler.

My query is that in the handler, how can I start an ASP page in a Target
frame.

I am deadly waiting for you help.

Kind regards.

Xiaoning

__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@Netscape!
http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/

| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT

Reply to this message...
 
 
System.Web.UI.WebControls.WebControl




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com