ChrisCompleteCodeTrunk
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
86
87
88
89
90
91
92
93
94
95
96
97
|
<%@ Page Title="Search Prospects" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="SearchProspects.aspx.cs" Inherits="CRMPortal.SearchProspects" %>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<div class="confirmLink">This prospect does not belong to you. If you would like to submit this prospect to the administrator to consider reassigning it to you, click the 'Notify Admin' button.</div>
<script>
$('.atcNav').removeClass('active');
$('#searchProspectsNav').addClass('active');
var user;
var id;
function notifyAdmin() {
var xmlhttp = new XMLHttpRequest();
//xmlhttp = createXMLHttpRequest();
xmlhttp.open("POST", "NotifyAdmin.aspx", true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.send("id=" + window.id + "&user=" + window.user + "&type=" + window.ctype);
$(".confirmLink").dialog("close");
}
function showNotify(id, user, type) {
window.user = user;
window.id = id;
window.ctype = type;
$(".confirmLink").dialog("open");
}
$(function(){ $(".confirmLink").dialog({ autoOpen: false, modal: true, buttons: { "Notify Admin": function () { notifyAdmin(); }, "Ok": function () { $(this).dialog("close"); } } });});
</script>
<h2>
Search Prospects
</h2>
<p>
<asp:Label ID="lblError" runat="server" ForeColor="Red" Text="Error"></asp:Label>
</p>
<table style="border-collapse: collapse;" class="table table-responsive col-md-12">
<tr>
<td>Prospect Name:</td>
<td>
<asp:TextBox CssClass="textBox" ID="tbProspectName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>Contact Name:</td>
<td>
<asp:TextBox CssClass="textBox" ID="tbContactName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>Contact Number:</td>
<td>
<asp:TextBox CssClass="textBox" ID="tbContactPhone" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>Owner:</td>
<td>
<asp:TextBox CssClass="textBox" ID="tbOwner" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="cbShowAll" runat="server" Text="Show All Results" />
</td>
<td>
<asp:Button ID="btnQuery" class="aspButton" runat="server" Text="Search"
style="text-align: center" Width="132px" onclick="btnQuery_Click" CssClass="btn btn-default"/>
</td>
</tr>
</table>
<asp:Label ID="lblPPage" runat="server" Text="1" Visible="False"></asp:Label>
<table ID="tblProspects" runat="server" class="table table-responsive col-md-12">
<tr>
<td class="ListHeader" id="tdPPrev" runat="server">
<asp:Button ID="btnPrevPPage" runat="server" onclick="btnPrevPPage_Click" Text="Previous Page" CssClass="btn btn-danger btn-sm"/>
</td>
<td class="ListHeader" ID="tdPPage" colspan="3" runat="server">Page 1</td>
<td class="ListHeader" id="tdPNext" runat="server">
<asp:Button ID="btnNextPPage" runat="server" onclick="btnNextPPage_Click"
Text="Next Page" CssClass="btn btn-danger btn-sm"/>
</td>
</tr>
<tr>
<td class="ListHeader">NEW PROSPECTS</td>
<td class="ListHeader"># of CALLS</td>
<td class="ListHeader">OWNER</td>
<td class="ListHeader">CONTACT NAME</td>
<td class="ListHeader">CONTACT NUMBER</td>
</tr>
<tr><td colspan="2">
<asp:Button ID="btnCreateProspect" class="aspButton" runat="server"
Text="Add New Prospect" onclick="btnCreateProspect_Click" CssClass="btn btn-default"/> </td></tr>
</table>
</asp:Content>
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|