MSPlus DatePicker WebControl FreeVersion 1.1.0906 released!

Source: Internet
Author: User
: In some versions of VS. NET2003, the control cannot be dragged directly to the design view.
: When multiple date controls are modified to coexist, JS reports an error.

: Added the function of clearing the currently selected date value based on the suggestions provided by netizens.

: Solved the JS script in UTF-8 mode Error Problem.
Warning: a problematic demo package was uploaded last night! Sorry, everyone. I also want to thank ideal for reminding me.

The error is as follows (the first line of the three ASPX files ):

<% @ Register TagPrefix = "msp" Namespace = "MSPlus. Web. UI. WebControls" Assembly = "DatePicker" %>

Change the Assembly registered by the control to the following

<% @ Register TagPrefix = "msp" Namespace = "MSPlus. Web. UI. WebControls" Assembly = "MSPlus. DatePicker" %>

The DEMO package downloaded between-has this problem. Currently, I have uploaded the modified installation package.
Sorry again to all users who have downloaded the package. I will check the uploaded DEMO package carefully!

Supports custom styles (border backgrounds, etc.) during VS. NET design)

You can set the date display and value Format (for example, the following) DatePicker. Format = "yyyy-mm-dd"; DatePicker. Format = "mm/dd/yyyy";

The AutoPostBack mode is supported. After the date is selected, the system automatically returns the server DatePicker. AutoPostBack = true;

In the Date input box, you can set whether to allow users to directly enter the date value DatePicker. InputDisable = false;

When the returned date value is different from the previous one, the DateChange event private void InitializeComponent () will be triggered ()
{
This. DatePicker1.DateChanged + = new System. EventHandler (this. DatePicker1_DateChanged );
This. Load + = new System. EventHandler (this. Page_Load );

}
# Endregion

Private void datepickerpolicdatechanged (object sender, System. EventArgs e)
{
Label1.Text = "DatePicker. DateChanged event triggered! ";
}

Click here to download MSPlus DatePicker WebControl & Demo FreeVision 1.1.0906

Microsoft WebControl has a very powerful date control, but the control is too server-side and always keeps DoPostBack every time you select a date. in this way, the performance of the operating server is reduced, and frequent DoPostBack operations are not convenient. this widget makes up for the shortcomings of Microsoft date controls.
------------------------------------------------------
A strange problem occurs during development. config. If globalization is set to UTF-8, The Js file will report an error. I think it may be because the Js file is in Gb2312 character format. <! -- Globalization This section sets the application globalization settings. -->
<Globalization
RequestEncoding = "UTF-8"
ResponseEncoding = "UTF-8"/>

However, if you set globalization to the gb2312 mode, there is no problem <! -- Globalization This section sets the application globalization settings. -->
<Globalization
RequestEncoding = "gb2312"
ResponseEncoding = "gb2312"/>

I bought two turtles (one green and one black) last Thursday and spent the rest time on teasing the turtles. haha. it's getting cooler recently. I'm thinking about buying a heating rod or letting the turtles hibernate naturally, but the two turtles are too small. I'm afraid they will die during hibernation... cough...

By the way, paste a picture of my two turtles.
Http://www.cnblogs.com/mack/gallery/image/4478.aspx

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.