Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing some Javascript code
Message
From
05/11/2004 12:01:58
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web forms
Title:
Executing some Javascript code
Miscellaneous
Thread ID:
00958561
Message ID:
00958561
Views:
51
In a Web forms, from an ASP.NET code, I wish the button to change text and to execute some Javascript command. So far, I have this:
    Private Sub ShowText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShowText.Click
        ShowText.Text = "Michel"
    End Sub
This works. When I click on the button, the text of the button is changing. But, additionnaly to that, I wish to show a Javascript alert box for example. What else would be required at this point to achieve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform