. 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.