Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Help with a little button...
Old 06-27-2007, 05:45 PM Help with a little button...
Junior Talker

Posts: 2
Name: Kay Harrison
Location: New Hampshire
Trades: 0
Hi. I have a web site to manage that's written in aspx/vb and I want this button to go to a particular page: I took out brackets, of course...

[asp:ButtonID="btnContinue"runat="server"Text="Continue"/]

I know I can add something here to direct this to my secure home page, but is it as simple as adding "URL="blahblahblah.org" ??

Sorry, I am just a beginner, so go ahead and banish me if I'm not smart enough to be here!


kay.harrison is offline
Reply With Quote
View Public Profile Visit kay.harrison's homepage!
 
 
Register now for full access!
Old 06-27-2007, 05:46 PM Help with a little button...
Junior Talker

Posts: 2
Name: Kay Harrison
Location: New Hampshire
Trades: 0
Hi. I have a web site to manage that's written in aspx/vb and I want this button to go to a particular page: I took out brackets, of course...

[asp:ButtonID="btnContinue"runat="server"Text="Continue"/]

I know I can add something here to direct this to my secure home page, but is it as simple as adding "URL="blahblahblah.org" ??

Sorry, I am just a beginner, so go ahead and banish me if I'm not smart enough to be here!
kay.harrison is offline
Reply With Quote
View Public Profile Visit kay.harrison's homepage!
 
Old 06-27-2007, 06:00 PM Re: Help with a little button...
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
You need to make a method ( a VB subroutine aka just a sub ) that sends the user to the page, either with Server.Transfer, Response.Redirect, or some other method if you'd like, and then have the code you just wrote handle the click event.

It would be a tiny little bit faster and easier to make it a regular button and not a server control, and use java to take care of the click and redirect.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 06-28-2007, 01:04 AM Re: Help with a little button...
Experienced Talker

Posts: 37
Trades: 0
Learning Newbie is right on. If you have Visual Studio it's as easy as dragging a button on to the form, double clicking on it, and adding the Response.Redirect("<URL>") in the method. There is alot the Visual Studio does for you when you double click on the button with the development tool. It is possible to do without VS but I wouldn't recommend it. Without Visual Studio I would go the Javascript route.
c0ry is offline
Reply With Quote
View Public Profile
 
Old 07-03-2007, 06:32 PM Re: Help with a little button...
boomers's Avatar
Extreme Talker

Posts: 229
Trades: 1
Im not totally sure I understand... I think you want to redirect someone to another page when they click a button.

If it is then you could just use response.redirect("www.domain.com") in the button click event.

If Ive misunderstood what you want then feel free to post here again
__________________

Please login or register to view this content. Registration is FREE
- Add your site to the directory with attitude!

Please login or register to view this content. Registration is FREE
- Football News Portal, updated hourly!
boomers is offline
Reply With Quote
View Public Profile
 
Old 07-03-2007, 10:22 PM Re: Help with a little button...
Experienced Talker

Posts: 37
Trades: 0
Same person same thread here:
http://www.webmaster-talk.com/net-pr...le-button.html
c0ry is offline
Reply With Quote
View Public Profile
 
Old 07-04-2007, 04:16 AM Re: Help with a little button...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
(duplicate threads merged)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Help with a little button...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19381 seconds with 12 queries