M
Michael Engel
Hi there,
I have an aspx page with 15 Buttons. The text of the buttons should be
filled during the runtime.
The names are in an access database. I created a global class with the
methode "fillButtonNames.
I'm calling the class from this button page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim cls As New ClsGlobalFunctions
cls.PageActivate(sender)
End Sub
But i can't rename the text of the Button on the aspx page.
My idea is something like
Calling the global class ClsGlobalFunctions
Public Sub fillButtonNames(ByVal MyPage As Object)
myPage.Button1.text = "'Number one"
End Sub
Maybe someone can tell me how to rename the buttons' text.
Thank you
I have an aspx page with 15 Buttons. The text of the buttons should be
filled during the runtime.
The names are in an access database. I created a global class with the
methode "fillButtonNames.
I'm calling the class from this button page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim cls As New ClsGlobalFunctions
cls.PageActivate(sender)
End Sub
But i can't rename the text of the Button on the aspx page.
My idea is something like
Calling the global class ClsGlobalFunctions
Public Sub fillButtonNames(ByVal MyPage As Object)
myPage.Button1.text = "'Number one"
End Sub
Maybe someone can tell me how to rename the buttons' text.
Thank you