This question is locked. New answers and comments are not allowed.
I'm having trouble coding a script registrar for opening the window. How do i convert this to VB? Or, could i just put that other stuff in a javascript block and call the function in the onDocumentReady parameters?
<% Html.Telerik().ScriptRegistrar().OnDocumentReady _ (function() New with {%> var windowElement = $('#Window') var undoButton = $('#undo') undoButton .bind('click', function(e) { windowElement.data('tWindow').open(); undoButton.hide(); }) .toggle(!windowElement.is(':visible')); windowElement.bind('close', function() { undoButton.show(); }); <%}); %>