quick search: dd acceleration
This commit is contained in:
parent
c442403882
commit
ee3edfae7b
9 changed files with 55 additions and 16 deletions
|
@ -5874,4 +5874,7 @@
|
|||
<data name="Error.SEND_USER_PASSWORD_RESET_SMS" xml:space="preserve">
|
||||
<value>Sms was not sent.</value>
|
||||
</data>
|
||||
<data name="SearchObject.NOT_FOUND" xml:space="preserve">
|
||||
<value>Not found</value>
|
||||
</data>
|
||||
</root>
|
|
@ -54,9 +54,8 @@ namespace WebsitePanel.WebPortal
|
|||
}
|
||||
else
|
||||
{
|
||||
DataSet dsObjectItems = ES.Services.Packages.GetSearchObject(PanelSecurity.EffectiveUserId, null,
|
||||
String.Format("%{0}%", filterValue),
|
||||
0, 0, "", 0, iNumResults, columnType, fullType);
|
||||
DataSet dsObjectItems = ES.Services.Packages.GetSearchObjectQuickFind(PanelSecurity.EffectiveUserId, null,
|
||||
String.Format("%{0}%", filterValue), 0, 0, "", iNumResults, columnType, fullType);
|
||||
DataTable dt = dsObjectItems.Tables[2];
|
||||
List<Dictionary<string, string>> dataList = new List<Dictionary<string, string>>();
|
||||
for (int i = 0; i < dt.Rows.Count; ++i)
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
AllowPaging="True" AllowSorting="True"
|
||||
CssSelectorClass="NormalGridView"
|
||||
DataSourceID="odsObjectsPaged" EnableViewState="False"
|
||||
EmptyDataText="gvObjects">
|
||||
EmptyDataText=<%# GetSharedLocalizedString("SearchObject.NOT_FOUND") %>>
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="gvType" SortExpression="ColumnType">
|
||||
<HeaderTemplate>
|
||||
|
|
|
@ -45,8 +45,9 @@
|
|||
$("#<%= tbObjectId.ClientID %>").val(item.code.ItemID);
|
||||
$("#<%= tbPackageId.ClientID %>").val(item.code.PackageID);
|
||||
$("#<%= tbAccountId.ClientID %>").val(item.code.AccountID);
|
||||
$("#<%= ImageButton1.ClientID %>").trigger("click");
|
||||
$("#<%= ImageButton1.ClientID %>").attr('disabled','disabled');
|
||||
var $ImgBtn = $("#<%= ImageButton1.ClientID %>");
|
||||
$ImgBtn.trigger("click");
|
||||
$ImgBtn.attr('disabled', 'disabled');
|
||||
}
|
||||
});
|
||||
});//]]>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue