Results 1 to 9 of 9

Thread: Button

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Question Button

    How can i get my Button to click on a radio button and press Submit in another webpage?

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Re: Button

    Im useing Visual Basic 2005, and im makeing a shourtcut to a web page.
    Like my buttons in the program correspond to a radio button and sublit button in another web page.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Button

    Moved to VB.NET

  5. #5
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Button

    I'm having a hard time trying to visualize what exactly that you want to do... Can you give a detailed example?

  6. #6

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Re: Button

    nobody know?

    say if you dont know what im meaning..

  7. #7
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: Button

    Quote Originally Posted by kimrogkr
    nobody know?

    say if you dont know what im meaning..
    stanav did say that. We aren't sure what you mean.

  8. #8

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Re: Button

    im programming a script for a webpage, and one of my button shall mark a radio button and pres on submit on another webpage..

    understand now?

  9. #9
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    Re: Button

    I think I know what you're trying to do.. does this work for you? Also, are you programming in ASP.net? If so...

    vb Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         'Checks a radio button
    3.         RadioButton1.Checked = True
    4.        
    5.         'Redirects person to another page
    6.         Response.Redirect("page2.aspx")
    7.     End Sub

    As far as the pressing the submit button on another webpage, do you mean sending the person to another page? If so, the code above will do that. If you mean checking a radio button and then firing an event for pressing a button on a completely separate page... I'm not sure how you would do that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width