-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClinetIfo_ForDealer.aspx
85 lines (77 loc) · 3.74 KB
/
ClinetIfo_ForDealer.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="ClinetIfo_ForDealer.aspx.cs" Inherits="ClinetIfo_ForDealer" %>
<%@ Register Src="~/User Controls/UCDealers_ClientList.ascx" TagName="ucDealers_ClientList"
TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<script type="text/javascript">
function hidePanel() {
var mdlPopClientUpdated = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_mdlPopClientUpdated_backgroundElement');
var pnlUpdated = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_pnlpopUp');
mdlPopClientUpdated.style.display = 'none';
pnlUpdated.style.display = 'none';
}
// function pageLoad() {
// var hdnIsClientUpdated = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_hdnIsClientUpdated');
// if (hdnIsClientUpdated != null && hdnIsClientUpdated.value == "yes") {
// setTimeout("hidePanel()", 2000);
// hdnIsClientUpdated.value = "";
// }
// }
function hideDiv() {
var msgpop = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_msgpop');
msgpop.style.display = 'none';
}
function SetTimerToHideDiv() {
// var _hdnIsClientUpdated = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_hdnIsClientUpdated');
// alert(_hdnIsClientUpdated)
// if (hdnIsClientUpdated != null && hdnIsClientUpdated.value == "yes") {
// alert(hdnIsClientUpdated.value)
setTimeout("hideDiv()", 2000);
// hdnIsClientUpdated.value = "";
// }
}
function Read_Data() {
alert('Hi...')
var str = '';
var Grid_Table = document.getElementById('ctl00_ContentPlaceHolder1_UCDealersClientList_grdClientList');
alert(Grid_Table.innerHTML);
alert(Grid_Table.rows.length)
for (var row = 1; row < Grid_Table.rows.length; row++) {
for (var col = 0; col < Grid_Table.rows[row].cells.length; col++) {
if (col == 0)
if (document.all)
str = str + Grid_Table.rows[row].cells[col].innerText;
else
str = str + Grid_Table.rows[row].cells[col].textContent;
else
if (document.all)
str = str + '--' + Grid_Table.rows[row].cells[col].innerText;
else
str = str + '--' + Grid_Table.rows[row].cells[col].textContent;
}
str = str + '\n';
}
alert(str);
return false;
}
</script>
<table width="100%">
<tr>
<td>
<uc1:ucDealers_ClientList runat="server" ID="UCDealersClientList" />
</td>
</tr>
</table>
<asp:UpdateProgress ID="upProcess" runat="server" DisplayAfter="2">
<ProgressTemplate>
<div id="progressBackgroundFilter">
</div>
<div id="processMessage">
<span style="text-align: center;">
<img alt="" src="Images/loading.gif" /><br />
<asp:Label ID="lblProgress" runat="server" Text="Loading...Please wait..."></asp:Label>
</span>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</asp:Content>