2 diff. aspx's

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ruud

    2 diff. aspx's

    Hello.

    I'v created an one.aspx and a two.aspx.
    On the 'one' there is a button and on the 'two' there's a txtbox.
    How can i connect these, so that a button click on one.aspx will fill the
    txtbox on two.aspx

    tnx


  • Cor

    #2
    Re: 2 diff. aspx's

    Hi Ruud,

    The most simple
    \\\form one
    Private Sub Button1_Click(B yVal sender _
    As System.Object, ByVal e As System.EventArg s) Handles Button1.Click
    Response.Redire ct("two.aspx")
    End Sub
    ///
    \\\form tow
    Private Sub Page_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArg s) Handles MyBase.Load
    Me.TextBox1.Tex t = "MyText"
    End Sub
    ///
    I would say, try it,

    Cor[color=blue]
    >
    > I'v created an one.aspx and a two.aspx.
    > On the 'one' there is a button and on the 'two' there's a txtbox.
    > How can i connect these, so that a button click on one.aspx will fill the
    > txtbox on two.aspx
    >[/color]


    Comment

    • Armin Zingler

      #3
      Re: 2 diff. aspx's

      "Ruud" <rudineNOSPAM@t iscali.nl> schrieb[color=blue]
      >
      > I'v created an one.aspx and a two.aspx.
      > On the 'one' there is a button and on the 'two' there's a txtbox.
      > How can i connect these, so that a button click on one.aspx will
      > fill the txtbox on two.aspx[/color]

      I think the question is not language dependent. You'd better ask at
      microsoft.publi c.dotnet.framew ork.aspnet[.*]


      --
      Armin




      Comment

      • Cor

        #4
        OT: Re: 2 diff. aspx's

        Hi Armin,
        [color=blue]
        > I think the question is not language dependent. You'd better ask at
        > microsoft.publi c.dotnet.framew ork.aspnet[.*][/color]

        I knew that it can be done not using the VB.net language, but with vb. net
        language, please see my message.

        Dont see this as a flame, it is not.

        My only concern is that this message came to fast and is not true in this
        case.
        I was waiting if somebody maybe had another answer. (This is the most easy
        one)

        I don't like that redirect way and I have seen others, but cannot remember
        it me now.

        Cor

        PS
        I was waiting on that key tone suppress from you in the German newsgroup and
        it came fast, now I have archived it.


        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: 2 diff. aspx's

          * "Ruud" <rudineNOSPAM@t iscali.nl> scripsit:[color=blue]
          > I'v created an one.aspx and a two.aspx.
          > On the 'one' there is a button and on the 'two' there's a txtbox.
          > How can i connect these, so that a button click on one.aspx will fill the
          > txtbox on two.aspx[/color]

          MSDN:

          \\\
          Response.Redire ct("http://www.microsoft.c om/gohere/look.htm")
          ///

          --
          Herfried K. Wagner [MVP]
          <http://www.mvps.org/dotnet>

          Comment

          • Armin Zingler

            #6
            Re: Re: 2 diff. aspx's

            "Cor" <non@non.com> schrieb[color=blue][color=green]
            > > I think the question is not language dependent. You'd better ask
            > > at microsoft.publi c.dotnet.framew ork.aspnet[.*][/color]
            >
            > I knew that it can be done not using the VB.net language, but with
            > vb. net language, please see my message.
            >
            > Dont see this as a flame, it is not.[/color]

            :-)
            [color=blue]
            > My only concern is that this message came to fast and is not true in
            > this case.[/color]


            I didn't know it can not be done using C# and other managed languages.
            [color=blue]
            > I was waiting if somebody maybe had another answer. (This is the most
            > easy one)
            >
            > I don't like that redirect way and I have seen others, but cannot
            > remember it me now.[/color]

            I think it is ok to say what group is the right group for the question.
            I also think that Ruud's question was not how to handle events or how
            to call methods in VB.NET. I think the question is related to the
            asp.net technology itself. You can be right, maybe it is both, but
            as he/she didn't ask for the former reason I have to assume that
            he asked for the second reason. If it will turn out that it is
            a language specific problem, he can still say this and I won't have
            a problem to explain how it is done in VB.NET.

            Only to clarify what and how I think. :)


            [color=blue]
            > PS
            > I was waiting on that key tone suppress from you in the German
            > newsgroup and it came fast, now I have archived it.[/color]

            ??


            --
            Armin

            Comment

            • Cor

              #7
              Re: Re: 2 diff. aspx's

              Hi Armin,

              I was in doubt if I would answer this, but I think it is essential and I
              have seen this sentence more as a reason why things are redirected to
              another newsgroup.
              [color=blue]
              >
              > I didn't know it can not be done using C# and other managed languages.
              >[/color]

              If only things will be spoken in this newsgroup that cannot be done with
              another languages or with controls for which exist not another newsgroups
              (but the CSharp group exist so all controls can be spoken there), than this
              newsgroup is only for all methods from Microsoft.Visua lbasic.

              In my opinion this newsgroup is for all things you need with the Vbnet
              language from System.Net to make a project. For some more difficult things
              are also specialized newsgroups.

              Cor





              Comment

              • Cor

                #8
                Re: Re: 2 diff. aspx's

                Typo

                System.Net to make a project.
                Dotnet.Net to ma............. ............... ....

                Cor


                Comment

                • Armin Zingler

                  #9
                  (OT) Re: Re: 2 diff. aspx's

                  "Cor" <non@non.com> schrieb[color=blue]
                  >
                  > I was in doubt if I would answer this, but I think it is essential
                  > and I have seen this sentence more as a reason why things are
                  > redirected to another newsgroup.[/color]

                  I wanted to answer here, but it got longer than the group name can cope
                  with. ;-) Can I reply by email? Which address?


                  --
                  Armin

                  Comment

                  • Cor

                    #10
                    Re: (OT) Re: Re: 2 diff. aspx's

                    Hi Armin,

                    Of course you can, my name you have seen is ligthert and my email provider
                    is @planet.nl

                    That is my email adres.

                    If you like it you can do it in German, reading that it is not that
                    difficult for me.

                    Cor


                    Comment

                    Working...