T
tommy
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
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