I've search thru all the thread regarding RadAlert not working and I still can't figure out why I get nothing at all, no errors in code, no exceptions triggered, nothing.
Here is my code:
<
telerik:RadScriptManager
ID
=
"rsmLogin"
runat
=
"server"
EnableHandlerDetection
=
"false"
EnableScriptCombine
=
"false"
></
telerik:RadScriptManager
>
<
telerik:RadSkinManager
ID
=
"rskmLogin"
runat
=
"server"
Skin
=
"Default"
></
telerik:RadSkinManager
>
<
telerik:RadInputManager
ID
=
"rimLogin"
runat
=
"server"
></
telerik:RadInputManager
>
<
telerik:RadWindowManager
ID
=
"rwmLogin"
runat
=
"server"
EnableShadow
=
"true"
></
telerik:RadWindowManager
>
<
script
type
=
"text/javascript"
>
function callBackFn(arg)
{
alert("this is the client-side callback function. The RadAlert returned: " + arg);
}
</
script
>
<
telerik:RadPageLayout
ID
=
"rpl_Login"
runat
=
"server"
GridType
=
"Fluid"
Width
=
"248px"
Style
=
"margin:2px; align-content:center;"
>
<
Rows
>
<
telerik:LayoutRow
style
=
"height:42px; margin-top:8px"
>
<
Columns
>
<
telerik:LayoutColumn
style
=
"text-align:center; align-content:center"
>
<
telerik:RadButton
ID
=
"rbn_SignIn"
runat
=
"server"
Text
=
"SIGN IN"
Font-Size
=
"Large"
Width
=
"100"
></
telerik:RadButton
>
</
telerik:LayoutColumn
>
</
Columns
>
</
telerik:LayoutRow
>
</
Rows
>
</
telerik:RadPageLayout
>
and code behind
Private Sub rbn_SignIn_Click(sender As Object, e As EventArgs) Handles rbn_SignIn.Click
Try
Me.rwmLogin.RadAlert("We're sorry, but we could not locate your account based on the credentials provided.", 500, 200, "Login Error", "callBackFn")
Catch ex As Exception
Dim ErrorLog As New DC.Errors.Log(ex)
End Try
End Sub
I also tried without the callBackFn which was pulled direction from your documentation sample.
Any suggestions?
Cheers, Rob.