All I want is to open a very simple radalert from vb.net with a statement and an ok button on it.
I tried this:
Dim scriptstring As String = "radalert('The login information is incorrect. Please try again.', 330, 210);"
Me, Me.[GetType](), "radalert", scriptstring, True)
I have a radwindowmanager and a radscriptmanager on my page. The code is hit, but then I get:
Microsoft JScript runtime error: 'undefined' is null or not an object
Nad the error is thrown in the following section of code with the bold line highlighted:
/* START Telerik.Web.UI.Window.RadWindowManager.js */
I don't understand why opening up a simple alert window is so difficult. It's easy to do client-side, but serverside seems overly complex and prone to issues in my opinion. Would it be possible for Telerik to rethink this model and add a simple method fr very basic scenarios where the developer can simply type:
radalert.open('This is a simple rad alert', 200, 100)
What am I doing wrong here???