Asp. NET using My97datepicker Date Control instance _ Practical Tips

Source: Internet
Author: User

. NET, the calendar date control is provided by default, but it has a flaw in that every time the calendar is displayed, the hidden and the user's selection date can cause a postback.
Find My97datepicker on the Internet this JS date control, yes, and you share.

My97datepicker Date Controls can be downloaded free of charge on the web, and there are websites for that control
The download good My97datepicker.jar decompression, sticky paste to the project root directory, of course, this location you can set their own
I created a new test.aspx page under the root directory.

Source:

<%@ Page language= "C #" autoeventwireup= "true" codefile= "Test.aspx.cs" inherits= "test"%> DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">  

In the code above you should note:

Copy Code code as follows:
<script language= "javascript" type= "Text/javascript" src= "My97datepicker/wdatepicker.js" charset= "gb2312" > </script>

src= "My97datepicker/wdatepicker.js" specifies wdatepicker.js your corresponding path.

Instance effect:

3 wonderful topics to be attached:

Asp. NET Control Usage Manual

Asp. NET data-bound controls using totals

Asp. NET controls use totals

The above is the entire content of this article, I hope to help you learn.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.