Search:
Namespaces
Discussions
.NET v1.1
Feedback
Frames and Web controls
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngclient' list
.
Kelly McCouch
Hi
Does anyone know how to work with frames in VB.net
I have a web control in my top frame and when I click on it, I want to
fill the bottom frame with data depending on what the user selected in
the top frame.
This was ok with HTML and vbscript, I just used ....
parent.frames("Framename").location.href =3D "Page1.asp?"
is there a similar thing for VB.net?
Reply to this message...
Bob Filipiak
I try to avoid using the "F'" word but AFAIK requires client side scripting
to update elements in the various frames that are displyed on the client
unless you redirect to another page that has the frame that you want to
display the info as its target=
What specifically is the user selecting in your control and what is the data
you want to disply and where is it coming from?
"Kelly McCouch" <
Click here to reveal e-mail address
> wrote in message
news:682188@aspngclient...
Hi
Does anyone know how to work with frames in VB.net
I have a web control in my top frame and when I click on it, I want to
fill the bottom frame with data depending on what the user selected in
the top frame.
This was ok with HTML and vbscript, I just used ....
parent.frames("Framename").location.href = "Page1.asp?"
is there a similar thing for VB.net?
Reply to this message...
James Avery
You will have to stick with using javascript for client side actions, as
vb.net is all server-side. You could use target in your link to target
the frame and it should work.
-----Original Message-----
From: Kelly McCouch [mailto:
Click here to reveal e-mail address
]
Sent: Thursday, July 11, 2002 9:10 AM
To: aspngclient
Subject: [aspngclient] Frames and Web controls
Hi
Does anyone know how to work with frames in VB.net
I have a web control in my top frame and when I click on it, I want to
fill the bottom frame with data depending on what the user selected in
the top frame. This was ok with HTML and vbscript, I just used ....
parent.frames("Framename").location.href = "Page1.asp?"
is there a similar thing for VB.net?
| [aspngclient] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngclient.asp
= JOIN/QUIT
Reply to this message...
syed Qazafi Anjum
dear
Try this this will work
Add this javascript to u'r page
<script language="javascript">
function showSupplierDetails()
{
var lngSupplierId
lngSupplierId=document.frmSupplierListings.lstSuppliers.value;
window.parent.frames(2).location="../Supplier/wfSupplier.aspx?SupplierId="+lngSupplierId;
}
</script>
Then add this line on your page load event
cmdDisplayDetails.Attributes.Add("onClick", "showSupplierDetails()") where
cmdDisplayDetails is the button which is click to show the detail of selected Supplier ID in other frame
then u can get this SupplierId at the page load event of the wfSupplier page by adding this line
Me.txtSupplierID.Text =
Page
.Request("SupplierId")
Thanx & Regards
Syed Qazafi Anjum
Kelly McCouch <
Click here to reveal e-mail address
> wrote: Hi
Does anyone know how to work with frames in VB.net
I have a web control in my top frame and when I click on it, I want to
fill the bottom frame with data depending on what the user selected in
the top frame.
This was ok with HTML and vbscript, I just used ....
parent.frames("Framename").location.href = "Page1.asp?"
is there a similar thing for VB.net?
| [aspngclient] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngclient.asp
= JOIN/QUIT
---------------------------------
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
Reply to this message...
System.Web.UI.Page
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