Advanced Forum Search Results
-
I figured out how to raise the OnClick() event of a button control.
1) Create a new Silverlight class library with a class that inherits from Button:
[ScriptableType]
public class MyButton : Button
{
public void DoClick()
...
-
I want to raise an event, like OnClick, from the client Javascript.
I've got a silverlight control hosted on a web page that has a button on it, and the button has an onclick event handler. From the javascript, I want to fire the event:
partial xaml:
<Button Click="okButton_Click" x:Name="okButton" ...