Subscribing to RadPageViewPage Events
Subscribing to RadPageViewPage's event is no different then subscribing to any other event. Following is an example code snippet:
radPageViewPage1.MouseClick += new MouseEventHandler(radPageViewPage1_MouseClick);
radPageViewPage1.MouseDoubleClick += new MouseEventHandler(radPageViewPage1_MouseDoubleClick);
AddHandler radPageViewPage1.MouseClick, AddressOf radPageViewPage1_MouseClick
AddHandler radPageViewPage1.MouseDoubleClick, AddressOf radPageViewPage1_MouseDoubleClick
void radPageViewPage1_MouseDoubleClick(object sender, MouseEventArgs e)
{
//do something
}
void radPageViewPage1_MouseClick(object sender, MouseEventArgs e)
{
//do something
}
Private Sub radPageViewPage1_MouseDoubleClick(ByVal sender As Object, ByVal e As MouseEventArgs)
'do something
End Sub
Private Sub radPageViewPage1_MouseClick(ByVal sender As Object, ByVal e As MouseEventArgs)
'do something
End Sub