Msdn official example: http://msdn.microsoft.com/zh-cn/library/bb398934%28v=VS.90%29.aspx
In general,
1. register the asyncpostbackerror event of scriptmanager, implement it on the server, and throw an exception that has been processed (based on
Ajax is now a very popular technology. Ajax not only wants to send messages on the server side, but also does not need to reload the page.
If the page is simply created using JS, a large numberCodeAnd is not intuitive.
In Asp.net, we can create
Note: This configuration method is only used on webpages with a wooden master page, if there is a master page .... I have not found a solution for this !!!
Recently, I saw that kindeditor works very well, so I downloaded it and prepared it for
Spread for ASP. net is a complete ASP. net spreadsheet component that supports bound or unbound modes (no dataset needed), Ajax, native Microsoft Excel import/export, in-cell editing, multiple edits on multiple rows without server round trips,
Sometimes you need to generate different numbers of controls based on the actual passed parameters in the project to place them on the page. At this time, you can rewrite the page render method to achieve the goal.
The following provides an example
In the development process, many projects need to be implemented in multiple languages, especially the systems developed by foreign companies are generally versions in several languages. We also need to implement multi-language functions in previous
Cookies are used to store specific user information. They provide a useful way for web programs. Over the years, JavaScript developers have done a lot of work on cookies. Similarly, ASP. NET provides Cookie Access through the system. web space name.
ASP. NET provides an event-driven programming model that allows developers to simplify the overall design of applications, but it also causes some inherent problems. For example, in the traditional ASP, by using the POST method, we can easily
For Web applications, unexpected errors and exceptions are inevitable. We must provide error handling mechanisms for Web applications. When an error occurs, we must do two things: first, record the error information and send an email to the website
If you have more experience in object-oriented development, skip the following two steps:
The first step is to master a. NET Object-Oriented language, C # Or VB. NET. I strongly oppose learning ASP. NET without a systematic understanding of an
Since Gmail launched the Office document preview function, various mailboxes have followed up, but they cannot find mature documents, which is incredible and trade confidential?
A small requirement is to preview the doc document on the webpage,
One
Performance is a very important issue for an application. It is also the same in Web development. I believe no one is willing to wait for 8 seconds before the computer screen to open one, this is the 8-Second Principle on the web. For the
Document directory
Introduction
Important attributes
Example 1
Example 2
Introduction
The calendar control is a simple control that is mainly used to provide calendar options on pages. In fact, there are many calendar controls written in
There are various very beautiful CSS menus on the network, but most of them are static, and menu items are all written to the page, which is not very flexible, every time you want to modify the menu, you must modify the page. The following describes
The following mappings are often performed in projects:
Set
Http://onewww.net/a.aspx? Name = llinzzi
Map
Http://onewww.net/llinzzi
First, we need to solve two problems.The first is to support wildcard URL ing URL ing, which is a new feature of ASP.
Recently, some independent modules have been used in a company's management system. In the implementation of these classes, errors directly throw an exception. I think this is our usual practice. However, the problem also arises because I did not
ASP and MSSQL are used for database applications all the time. Generally, there is no problem. However, in some projects, the data volume will be large. As the data volume increases, a timeout problem may occur. I have read a lot of information, and
XML file:View code
basic service 100 30 1 value-added information service 100 30 2 telephone appointment delegate service 150 20 3
Generate object classes based on XML files:View code
[Serializable] public
In the Web site, you need to execute a task every one minute and keep the scheduled execution status. You can use the following method:
1. application_start in global. asax occurs when the website is requested for the first time (IIS closes or
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.