35 строки
1.2 KiB
Plaintext
35 строки
1.2 KiB
Plaintext
|
<%@ Page Title="daterangepicker-Ranges-ASP.NET-SYNCFUSION" Language="C#" MasterPageFile="~/Samplebrowser.Master" AutoEventWireup="true"
|
||
|
CodeBehind="Ranges.aspx.cs" MetaDescription="This example demonstrates how to specify the predefined custom date ranges (presets range) like last month, last year and current week in the dropdown popup in a ASP.NET Web Forms" Inherits="WebSampleBrowser.DateRangePicker.Ranges" %>
|
||
|
|
||
|
<asp:Content ID="Content2" ContentPlaceHolderID="ControlsSection" runat="server">
|
||
|
<div class="frame">
|
||
|
<div class="control">
|
||
|
<ej:DateRangePicker ID="dateRange" Width="100%" runat="server"></ej:DateRangePicker>
|
||
|
</div>
|
||
|
</div>
|
||
|
</asp:Content>
|
||
|
<asp:Content ID="Content6" ContentPlaceHolderID="StyleSection" runat="server">
|
||
|
<style type="text/css">
|
||
|
.control {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.frame{
|
||
|
width: 75%;
|
||
|
}
|
||
|
|
||
|
.control .e-daterangewidget {
|
||
|
width: 225px;
|
||
|
margin: auto;
|
||
|
}
|
||
|
@media (max-width: 979px) and (min-width: 439px) {
|
||
|
.e-daterangewidget .e-padding {
|
||
|
padding: 0 24px 0 0;
|
||
|
margin-right: 30px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
</asp:Content>
|
||
|
|