|
|
@ -29,7 +29,7 @@ |
|
|
|
<script type="text/javascript"> |
|
|
|
function CheckFormValidation() { |
|
|
|
debugger; |
|
|
|
|
|
|
|
|
|
|
|
var rowId = "<%=GetRowId()%>"; |
|
|
|
var customerType = $("#ddlCustomerType").val(); |
|
|
|
alert(customerType); |
|
|
@ -71,6 +71,19 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
$(document).ready(function () { |
|
|
|
$('#<%=ddlCustomerType.ClientID%>').change(function () { |
|
|
|
var customerType = $(this).val(); |
|
|
|
if (customerType === "postCode") { |
|
|
|
$('#lblPostCode').show(); |
|
|
|
$('#<%=txtPostCode.ClientID%>').show(); |
|
|
|
} else { |
|
|
|
$('#lblPostCode').hide(); |
|
|
|
$('#<%=txtPostCode.ClientID%>').hide(); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//function CustomerTypeChanged() { |
|
|
@ -127,7 +140,7 @@ |
|
|
|
<li><a href="BroadcastList.aspx">PushNotification List</a></li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="tab-content"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<div class="panel panel-default recent-activites"> |
|
|
|
<!-- Start .panel --> |
|
|
|
<div class="panel-heading"> |
|
|
@ -139,57 +152,89 @@ |
|
|
|
</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-6" id="individualCustomerGroup" runat="server"> |
|
|
|
<label> |
|
|
|
Select Customer : <span class="errormsg">*</span> |
|
|
|
</label> |
|
|
|
<%--<div class="col-md-6" id="individualCustomerGroup" runat="server"> |
|
|
|
<div class="form-group"> |
|
|
|
|
|
|
|
<div class="col-md-4"> |
|
|
|
<div class="form-group"> |
|
|
|
<asp:DropDownList ID="ddlCustomerType" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"> |
|
|
|
</asp:DropDownList> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<label class="col-md-4 control-label"> |
|
|
|
Select Customer : <span class="errormsg">*</span> |
|
|
|
</label> |
|
|
|
<div class="col-md-8"> |
|
|
|
<uc1:SwiftTextBox runat="server" ID="txtSearchData" Category="remit-searchCustomerForPushNotif" CssClass="form-control required" Param1="@GetCustomerSearchType()" Title="Blank for All" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-4"> |
|
|
|
<div class="form-group"> |
|
|
|
<asp:DropDownList ID="ddlNativeCountry" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"> |
|
|
|
</asp:DropDownList> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<asp:DropDownList ID="ddlCustomerType" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"></asp:DropDownList> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<uc1:SwiftTextBox runat="server" ID="txtSearchData" Category="remit-searchCustomerForPushNotif" CssClass="form-control required" Param1="@GetCustomerSearchType()" Title="Blank for All" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<asp:DropDownList ID="ddlNativeCountry" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"></asp:DropDownList> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div>--%> |
|
|
|
<div class="col-md-3 form-group"> |
|
|
|
<label>Select Customer : <span class="errormsg">*</span></label> |
|
|
|
</div> |
|
|
|
<div class="col-md-2 form-group"> |
|
|
|
<asp:DropDownList ID="ddlCustomerType" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"></asp:DropDownList> |
|
|
|
</div> |
|
|
|
<div class="col-md-4 form-group"> |
|
|
|
<uc1:SwiftTextBox runat="server" ID="txtSearchData" Category="remit-searchCustomerForPushNotif" CssClass="form-control required" Param1="@GetCustomerSearchType()" Title="Blank for All" /> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="col-md-4"> |
|
|
|
<label>Notification Category : <span class="errormsg">*</span></label> |
|
|
|
<select id="msgType" name="msgType" runat="server" class="form-control"> |
|
|
|
<option value="INFO" selected="selected">INFORMATION</option> |
|
|
|
<option value="SUCCESS">SUCCESS</option> |
|
|
|
<option value="ERROR">ERROR</option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<asp:DropDownList ID="ddlNativeCountry" runat="server" CssClass="form-control" Style="margin-bottom: 5px;"></asp:DropDownList> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<%--<div class="col-md-4"> |
|
|
|
<div class="form-group"> |
|
|
|
<asp:TextBox ID="txtPostCode" AutoComplete="off" runat="server" CssClass="form-control"></asp:TextBox> |
|
|
|
</div> |
|
|
|
</div>--%> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row" id="divPostCode" runat="server"> |
|
|
|
<div class="col-md-3 form-group"> |
|
|
|
<label id="lblPostCode" style="display: none;">Post Code :</label> |
|
|
|
</div> |
|
|
|
<div class="col-md-2 form-group"> |
|
|
|
<asp:TextBox ID="txtPostCode" AutoComplete="off" runat="server" CssClass="form-control" Style="display: none;"></asp:TextBox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-6" id="Div1" runat="server"> |
|
|
|
<div class="form-group" style="max-height: 400px;"> |
|
|
|
<label> |
|
|
|
Notification Message : <span class="errormsg">*</span> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="col-md-3 form-group"> |
|
|
|
<label>Notification Category : <span class="errormsg">*</span></label> |
|
|
|
</div> |
|
|
|
<div class="col-md-2 form-group"> |
|
|
|
<select id="msgType" name="msgType" runat="server" class="form-control"> |
|
|
|
<option value="INFO" selected="selected">INFORMATION</option> |
|
|
|
<option value="SUCCESS">SUCCESS</option> |
|
|
|
<option value="ERROR">ERROR</option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-3" id="Div1" runat="server"> |
|
|
|
<label> |
|
|
|
Notification Message : <span class="errormsg">*</span> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="col-md-6" id="Div2" runat="server"> |
|
|
|
<div class="form-group"> |
|
|
|
<%-- <textarea name="TXTBody" rows="2" cols="20" id="TXTBody" runat="server"></textarea>--%> |
|
|
|
<asp:TextBox runat="server" ID="TXTBody" TextMode="MultiLine" Rows="4" Columns="55"></asp:TextBox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="row"> |
|
|
|
</div> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-12"> |
|
|
|
<div class="form-group"> |
|
|
|