<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.
var selectedItems = Grid.MasterTableView.GetSelectedItems()
.Select(item =>
int
.Parse(item[
"idCol"
].Text))
.ToList();
Grid.Rebind();
foreach
(GridDataItem item
in
Grid.MasterTableView.Items)
{
item.Selected = selectedItems.Contains(
int
.Parse(item[
"idCol"
].Text));
}