I dropped an asp button within a RAD PageView control, on button click in code behind I call javascript to open the RAD Window...like this:
I use this method in other scenerios and it works perfect, as soon as I drop the button within the RAD PageView control nothing happens upon button click.
Please advise.
Thanks,
Protected
Sub
Button1_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Button1.Click
Dim
strScript
As
String
=
"<script language='javascript' type='text/javascript'>Sys.Application.add_load(ShowWindow);</script>"
Page.ClientScript.RegisterStartupScript(
Me
.
GetType
,
"ShowWindow"
, strScript)
End
Sub
function
ShowWindow() {
var
manager = GetRadWindowManager();
var
window1 = manager.GetWindowByName(
"SaveSiteNoteWindow"
);
window1.show(
null
,
"SaveSiteNoteWindow"
);
}
I use this method in other scenerios and it works perfect, as soon as I drop the button within the RAD PageView control nothing happens upon button click.
Please advise.
Thanks,