473,396 Members | 2,158 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,396 software developers and data experts.

Click button and redirect to new page - VB

Hello,

i have a runat = "server" form and an ASP.net button inside it.
I want to redirect to newpage.aspx when the button is clicked.

Anyway, i found some code in C# but i am having problems in making it work
in VB.
I also used a C# to VB online translator but with no success.

Please, can you help me out? I think this is quite simple...for who knows
how to do it. :-)

Thank You Very Much,
Miguel

Nov 18 '05 #1
1 1126
Hi Miguel, see my reply to your message from yesterday.
-John

"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:ut**************@TK2MSFTNGP12.phx.gbl...
Hello,

i have a runat = "server" form and an ASP.net button inside it.
I want to redirect to newpage.aspx when the button is clicked.

Anyway, i found some code in C# but i am having problems in making it work
in VB.
I also used a C# to VB online translator but with no success.

Please, can you help me out? I think this is quite simple...for who knows
how to do it. :-)

Thank You Very Much,
Miguel

Nov 18 '05 #2

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

Similar topics

4
by: yfng | last post by:
In a web form, I want the user clicks on one button and this button will trigger another button/link which will open a new browser window? How to do that? Is there any method like...
1
by: Hrvoje Vrbanc | last post by:
Hello all, here is what I'd like to do: I have an ASPX page with certain buttons that opens in its window, naturally. When any of those buttons is clicked, I'd like the action to happen in...
2
by: Yama | last post by:
Hi, I have a button which is a server-side control. If a client-side error on a form is produced and a javascript (client-side) is fired how do I avoid the server-side button_client event to...
1
by: Jerry | last post by:
Hi, If I have a button control on a webform and double click to show the click event code, what code would go inside to open or redirect to an htm page? example Private sub mybutt_click(...
3
by: Miguel Dias Moura | last post by:
Hello, in an ASP.net / VB page i created a form with a button. When the button is clicked i want to redirect to a new page. I have the following: .... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
4
by: Mark Lingen | last post by:
I've found a problem with postback event handling and webcontrol buttons. Try out the following code in an ASP.Net project and you will see. Create a web project in VB.Net and drop this code...
2
by: ACaunter | last post by:
Hi there, I started a new website in asp.net.. made a page with some buttons and that on it.. copied it several times on different pages, so i get the save buttons in the same position on each...
3
by: Sameer | last post by:
I have a webpage that has a link button. This link button on click opens up a new page. This is what is happening: 1. Load the web page. 2. Click on the link. 3. Refresh the web-page. Result:...
1
by: shapper | last post by:
Hello, I am creating a custom control where I have a button. Somehow my button click event is not being raised. I tried to place different codes inside MyButton_Click and nothing runs. Then I...
6
by: Mel | last post by:
I have a website that allows the user to generate a new quote. When they are finished creating the quote, it brings them to the final page (called the Goodbye.aspx page) which just states the...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
agi2029
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,...

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.