Professional Web Applications Themes

Form submit - ASP.NET General

Mira, If you move from one page to another then the objects which were on the first page wouldn't be accessible from the second. Is this what you are doing? Justin "Mira Vizjak" <mira.vizjak1guest.arnes.si> wrote in message news:bev54v$lbh$1planja.arnes.si... > Hi > I'm totally confused. I have a simple textbox and linkbutton on my page. > When I press the link button I would like to get the text property of > textbox: > Private Sub link1_Click(ByVal sender As System.Object, ByVal e As > System.EventArgs) Handles link1.Click > If Page.IsValid Then > Dim something as string = Page.Request.Params.Item("TextBox1") > 'works fine ...

  1. #1

    Default Re: Form submit

    Mira,

    If you move from one page to another then the objects which were on the
    first page wouldn't be accessible from the second. Is this what you are
    doing?

    Justin


    "Mira Vizjak" <mira.vizjak1guest.arnes.si> wrote in message
    news:bev54v$lbh$1planja.arnes.si...
    > Hi
    > I'm totally confused. I have a simple textbox and linkbutton on my page.
    > When I press the link button I would like to get the text property of
    > textbox:
    > Private Sub link1_Click(ByVal sender As System.Object, ByVal e As
    > System.EventArgs) Handles link1.Click
    > If Page.IsValid Then
    > Dim something as string = Page.Request.Params.Item("TextBox1")
    > 'works fine
    > Dim somethingelse as string = textbox1.text 'doesn't work on
    this
    > page, but when used on another page works OK
    > End If
    > End Sub
    >
    > On both pages all properties are same (enableviewstate,...), but get
    > different results. What's happening? Is there a simple tutorial on
    submiting
    > forms and this stuff? Thanks for your help!
    >
    > Jure
    >
    >
    >

    S. Justin Gengo Guest

  2. #2

    Default Re: Form submit

    No, I don't move to another page. The linkbutton control doesn't even have
    the navigateurl property.


    Mira Vizjak Guest

  3. #3

    Default Re: Form submit

    Mira,

    I'm afraid that I'm also at a loss. It should be working. I have had some
    files messed up myself and certain objects have stopped working with no
    known cause. In these cases I've usually copied and pasted the code from the
    ..aspx file and the code behind for the page to notepad, deleted the entire
    file, and then recreated it.

    That might be your only hope, because your code should be working.

    --
    S. Justin Gengo
    Web Developer / Programmer

    Free Code Library At:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche


    "Mira Vizjak" <mira.vizjak1guest.arnes.si> wrote in message
    news:bev6o4$mn9$1planja.arnes.si...
    > No, I don't move to another page. The linkbutton control doesn't even have
    > the navigateurl property.
    >
    >

    S. Justin Gengo Guest

  4. #4

    Default Form submit

    I am new to Flash and need some help. I have two input fields and a submit button. I have the submit button using the getURL(); command and I am able to pull up my target. The problem is I can't get the information from my input fields to submit to my target. In HTML I would just create a form and submit, I would like to do the same with my SWF. Any help would be appreciated.


    Joshuamj7 webforumsuser@macromedia.com Guest

Similar Threads

  1. Submit PDF Form
    By Linda_Boothman@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 4
    Last Post: October 21st, 06:00 PM
  2. Need Help With Submit Form
    By NewtoDesign in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: November 10th, 10:42 AM
  3. Submit form
    By Chris Kennedy in forum ASP.NET Building Controls
    Replies: 3
    Last Post: May 24th, 03:04 PM
  4. Replies: 4
    Last Post: September 24th, 12:34 PM
  5. form without submit
    By doug777 in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 28th, 02:32 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139