|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Filling the text of Buttons over a public classI 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
LoadControl by type
Upload Excel Spreadsheet GridView Edit Template Control Style Page Panels Drag 'n Drop support for custom asp.net catalogpart/catalogzone. How to prevent JavaScript conflict in custom server control (when added more than once to a page) Control disappears Get argument with imageclickeventhandler. SqlDataSource is doing an Update after handeling an Insert excepti The tabstrip in Microsoft.Web.UI.WebControls won't display in Fire |
|||||||||||||||||||||||