server-controls(button, textbox, etc) on multipage

Discussion in 'ASP .Net Web Controls' started by tommy, Aug 30, 2004.

  1. tommy

    tommy Guest

    hello,

    i am searching for the right way, how to access server-controls in
    mulitpage, if i placed some controls there....

    on google-- i found on solution, how to access an images-button on
    multipage


    ----------------------------------------
    <asp:ImageButton id="Next3" runat="server"
    ImageUrl="images/flecheright.gif" onclick = Next_Click AlternateText =
    "N3"></asp:ImageButton>

    and in you code behind :

    Public Sub Next_Click(ByVal sender As Object, ByVal e As
    System.Web.UI.ImageClickEventArgs)

    Dim bt As String

    bt = CType(CType(sender,
    System.Web.UI.WebControls.ImageButton),
    System.Web.UI.WebControls.Image).AlternateText
    If (bt = "N1") Then
    TabStrip1.SelectedIndex = 1
    ElseIf (bt = "N2") Then
    TabStrip1.SelectedIndex = 2
    ElseIf (bt = "N3") Then
    TabStrip1.SelectedIndex = 3
    End If

    End Sub
    --------------------------------------

    i ┬┤ve dont tried it for asp-button - maybe it will running -- but HOW
    to access a textbox??

    (i want to create a contact-formular on one pageview...)

    suggestions?

    pls hlp me


    regards


    tommy
     
    tommy, Aug 30, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rb
    Replies:
    0
    Views:
    401
  2. Jurjen de Groot

    Use of CSS for controls (label, textbox, etc.)

    Jurjen de Groot, Jan 15, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    4,871
    Curt_C [MVP]
    Jan 15, 2004
  3. Marc Robitaille

    Access controls on a Multipage control

    Marc Robitaille, Feb 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    377
    Stefano Mostarda
    Feb 12, 2004
  4. Kevin Walzer

    Re: PIL (etc etc etc) on OS X

    Kevin Walzer, Aug 1, 2008, in forum: Python
    Replies:
    4
    Views:
    456
    Fredrik Lundh
    Aug 13, 2008
  5. Russ
    Replies:
    8
    Views:
    233
Loading...

Share This Page