473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

navigate url

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
Nov 15 '05 #1
2 7621
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.com

"djozy" <an*******@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.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

Nov 15 '05 #2
Hi,

I don;t fully understand your question, if the dropdown has the target URL
all you need to do in the SelectedIndexChanged 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*******@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.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

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
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...
3
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...
5
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...
0
by: Husam | last post by:
Hi EveryBody: I got this decleration from msdn documntation which is: object.Navigate( _ url As String, _ _ _ _ )
7
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...
2
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...
2
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...
5
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(...
103
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)? ...
1
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.