fix bugs - add processings.
This commit is contained in:
parent
399b24c7ce
commit
d5bf70596d
6 changed files with 30 additions and 7 deletions
|
@ -24,7 +24,7 @@
|
|||
<td class="FormLabel150" style="width: 100px;"><asp:Localize ID="locCollectionName" runat="server" meta:resourcekey="locCollectionName" Text="Collection Name"></asp:Localize></td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtCollectionName" runat="server" CssClass="NormalTextBox" />
|
||||
<asp:RequiredFieldValidator ID="valCollectionName" runat="server" ErrorMessage="*" ControlToValidate="txtCollectionName"></asp:RequiredFieldValidator>
|
||||
<asp:RequiredFieldValidator ID="valCollectionName" runat="server" ErrorMessage="*" ControlToValidate="txtCollectionName" ValidationGroup="SaveRDSCollection"></asp:RequiredFieldValidator>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -37,7 +37,7 @@
|
|||
</fieldset>
|
||||
|
||||
<div class="FormFooter">
|
||||
<asp:Button id="btnSave" runat="server" Text="Save" CssClass="Button1" meta:resourcekey="btnSave" OnClick="btnSave_Click"></asp:Button>
|
||||
<asp:Button id="btnSave" runat="server" Text="Save" CssClass="Button1" meta:resourcekey="btnSave" OnClick="btnSave_Click" ValidationGroup="SaveRDSCollection"></asp:Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -117,12 +117,21 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="btnAdd.OnClientClick" xml:space="preserve">
|
||||
<value>ShowProgressDialog('Getting Remote Apps ...');</value>
|
||||
</data>
|
||||
<data name="btnAdd.Text" xml:space="preserve">
|
||||
<value>Add...</value>
|
||||
</data>
|
||||
<data name="btnAddSelected.OnClientClick" xml:space="preserve">
|
||||
<value>CloseProgressDialog();</value>
|
||||
</data>
|
||||
<data name="btnAddSelected.Text" xml:space="preserve">
|
||||
<value>Add Apps</value>
|
||||
</data>
|
||||
<data name="btnCancel.OnClientClick" xml:space="preserve">
|
||||
<value>CloseProgressDialog();</value>
|
||||
</data>
|
||||
<data name="btnCancel.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
|
|
|
@ -117,12 +117,21 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="btnAdd.OnClientClick" xml:space="preserve">
|
||||
<value>ShowProgressDialog('Getting RDS Servers ...');</value>
|
||||
</data>
|
||||
<data name="btnAdd.Text" xml:space="preserve">
|
||||
<value>Add...</value>
|
||||
</data>
|
||||
<data name="btnAddSelected.OnClientClick" xml:space="preserve">
|
||||
<value>CloseProgressDialog();</value>
|
||||
</data>
|
||||
<data name="btnAddSelected.Text" xml:space="preserve">
|
||||
<value>Add Servers</value>
|
||||
</data>
|
||||
<data name="btnCancel.OnClientClick" xml:space="preserve">
|
||||
<value>CloseProgressDialog();</value>
|
||||
</data>
|
||||
<data name="btnCancel.Text" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
|
|
|
@ -103,7 +103,6 @@ namespace WebsitePanel.Portal.RDS.UserControls
|
|||
List<RdsServer> selectedServers = GetPopUpGridViewServers();
|
||||
|
||||
BindServers(selectedServers.ToArray(), true);
|
||||
|
||||
}
|
||||
|
||||
protected void BindPopupServers()
|
||||
|
|
|
@ -43,7 +43,7 @@ function PadNumber(num)
|
|||
|
||||
function EnableProgressDialog() {
|
||||
_showProgressDialog = true;
|
||||
window.setInterval(DisableProgressDialog, 10); // disable dialog with some delay
|
||||
//window.setInterval(DisableProgressDialog, 10); // disable dialog with some delay
|
||||
}
|
||||
|
||||
function DisableProgressDialog() {
|
||||
|
@ -57,6 +57,12 @@ function ShowProgressDialog(title, popupBehavior)
|
|||
EnableProgressDialog();
|
||||
}
|
||||
|
||||
function CloseProgressDialog()
|
||||
{
|
||||
DisableProgressDialog();
|
||||
$find('ModalPopupProperties').hide();
|
||||
}
|
||||
|
||||
function ShowProgressDialogWithCallback(title)
|
||||
{
|
||||
_dialogTitle = title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue