Please
I have dropdownlist on my web form. I would like to get web page from url adress automaticly, when I select one of the items in dropdownlist. I have put autopostback property of dropdownlist to true. Is there any way to get url adress using normal buttons, or like in this case, list controls instead using only hyperlink
Thank you 2 7645
djozy,
I am not quite sure what you mean. You can have items in the dropdown
list that are urls, or rather, some value, which is keyed on a url. Once
you have that, you just have to set the location property of the document to
the url, and the page will navigate to that. You might want to consider
frames though, so that you don't lose the dropdown list when you navigate to
the new page.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"djozy" <an*******@disc ussions.microso ft.com> wrote in message
news:BE******** *************** ***********@mic rosoft.com... Please, I have dropdownlist on my web form. I would like to get web page from url
adress automaticly, when I select one of the items in dropdownlist. I have
put autopostback property of dropdownlist to true. Is there any way to get
url adress using normal buttons, or like in this case, list controls instead
using only hyperlink? Thank you
Hi,
I don;t fully understand your question, if the dropdown has the target URL
all you need to do in the SelectedIndexCh anged event is use
Server.Redirect ( URL , true );
you don't have to use any other control.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"djozy" <an*******@disc ussions.microso ft.com> wrote in message
news:BE******** *************** ***********@mic rosoft.com... Please, I have dropdownlist on my web form. I would like to get web page from url
adress automaticly, when I select one of the items in dropdownlist. I have
put autopostback property of dropdownlist to true. Is there any way to get
url adress using normal buttons, or like in this case, list controls instead
using only hyperlink? Thank you This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Richard Bell |
last post by:
Newbie question ... please respond to group
I'm trying to open/navigate to a url. How can I tell when the page is
fully loaded? Testing suggest that window.open returns before the
page is completely loaded and displayed. Likewise, window.navigate.
The code looks something like this:
wHandle = window.open( url, name, flags );
....
// how to tell when url is fully loaded and displayed
|
by: guy |
last post by:
Hi all -
And apologies if I'm in the wrong newsgroup. I'm a newbie here and I'd
certainly appreciate any pointers to the right forum. To the point...
We're running a WebBrowser object (through an AxWebBrowser activex control),
and have found that it navigates to a "cannot load" error page when the
network cable's unplugged. I should add at this point that we're trying to
navigate to a page on localhost ;-)
|
by: skipc |
last post by:
Hi,
I am stuck... I've got a popup window that displays a list in table
format with links on the bottom to navigate the list <prev> 1 2 3 ...
<next>
When I demo'd to the users... they immediately asked if they could use
the arrow keys and enter key to navigate the list. I think there must
be a way to do this, but I can't figure it out.
|
by: Husam |
last post by:
Hi EveryBody:
I got this decleration from msdn documntation which is:
object.Navigate( _
url As String, _
_
_
_
)
|
by: husamal_ahmadi |
last post by:
Hi everyBody:
I have this question which really drive me cruzy,
By using VB.Net:
How can I let the internet explorer navigate in the same window either
by using win32 API or by using Microsoft Internet Control refreance to
my project ?
some body toled me to use ShellExcute Function in API but I tried it
| |
by: Ryan Ramsey |
last post by:
I have been chasing this one down for a week and have narrowed it down to a
machine issue.
I have the following code:
webBrowser.Navigate(http://finao.net/post_dkp.php?database=40);
Basically all this script does is create an xml output file.
After the navigate, the function stops and is triggered again when
webbrowser_DocumentCompleted fires and then the XML file is read by the
|
by: samueltilden |
last post by:
I started a new job and the version of Visual Studio 2005 that I am
now using does not have the Navigate Backward Button nor the Navigate
Forward Button in the Standard Toolbar, and they are not available
when I Add or Remove buttons from the Standard Toolbar.
(I had these two buttons in the VS 2005 of my previous job).
How can I add them?
How can I add them easily. I googled this subject and found only that
|
by: timnels |
last post by:
I have a web browser control that I'd like to point at a HTML file in
my installation directory. I am doing something like:
string path = Path.GetDirectoryName(
Assembly.GetExecutingAssembly().GetModules()
.FullyQualifiedName) +
"\\howdoi.htm";
webBrowser1.Navigate(path);
What do I need to do to form the correct URI string for a local file?
|
by: Tom |
last post by:
How do we get out of the browser infinite loop quicksand when we navigate
to web pages designed to lock us in and force us to hit the "pay me" button
(whatever they want to force you to do)?
These are just a sample of nasty quicksand web pages I've run into which
lock your browser into a loop and won't let you get out until you hit the
"install" or "run" or "OK" button... (whatever it is they want you to do).
http://www.spywareiso.com...
|
by: Dudely |
last post by:
Not sure if this is the right place to post, but here goes anyway. I
pull out "javascript:__doPostBack('ctl01$ContentPlaceHolderMain
$Page_SearchResults$Results','LID_2076923')" from an href in an object
I'm parsing and set URLaddress to be that string
On a whim, I then plug it into obIe.navigate (URLaddress) and miracle
of miracles, it actually brought me to the right web page, which I
didn't think it would do and have no idea why it...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |