I was able to successfully implement with a radprompt, however, when password input really needs to be masked as the user types it. So I think I need to create a separate form where I can control masking on the input textbox. I have tried what fills like a gazillion variations of javascript but can't get this to work.
In my latest attempt, I followed the code described here: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx. This got me as far as the dialog form actually opening but I can't get a parameter in and I can't get the password back out.
Here is my window definition, inside a radwindow manager:
<telerik:RadWindow ID="rwPassword" runat="server" Modal="True" NavigateUrl="~/UserPages/dlgPassword.aspx" Height = "500px" Width = "400px" Title="Out of Spec" Behaviors="Close, Move" Behavior="Close, Move">
</telerik:RadWindow
>
Here is the current codebehind which opens it:
Dim script As String = "function f(){$find(""" + rwPassword.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, True)
The current markup of my password window looks like this. The javascript there was from an earlier attempt but I don't see why it wouldn't work with this version. After the form opens, I have to close with the X. The OK and Cancel buttons do absolutely nothing.
I have been stuck on this for days. If anyone could help, I would be so grateful.
Thank you.