How to Improve the Performance of Asp.net pages
An important parameter for improving the performance of Asp.net pages-enableviewstate
As we all know, Asp.net is very easy to develop. One of the main reasons is that, when we develop Asp.net in vs.
You can use ASP. NET rangevalidator Controls whether user input is within a specific value range, for example, between two numbers, two dates, or letter characters. You can set the upper and lower limits of the value range Rangevalidator Controls.
Treeview WebThe server control can display various types of data: static data specified by the control in the declaration mode; Data bound to the control; or dynamically added to the control in response to user operationsTreeviewControls.
1.
If the applicationProgramUse ASP. NET You can use Createuserwizard Control to allow users to create a new user item in the Membership System ( Createuserwizard Controls can also be used by administrators to create new users ).
1, Create
To continue sorting after turning pages, this effect is achieved:For example, a total of 15 records are displayed, and 10 records are displayed on each page.Sort the first 10 records on the first page, and then sort the last five records on the
In ASP. NET, viewstate occupies a large amount of space in the HTML of the client, and
PostBack is repeatedly transmitted to the network and has been suffering from human diseases. However, viewstate can be used to store data.
Library, cache,
By adding Loginview Controls display different information to anonymous users and login (authenticated) users. Loginview The control contains two templates: one for displaying information to anonymous users and the other for displaying
Introduction
Moslty in Site Directory web sites there is a need to have the thumbnail image of each web site. of course this feature can be needed in a wide range of projects handling with high amount of web sites.
Capturing screenshots with Windows
Use greybox to describe ASP. NET
Use greybox to describe ASP. NETRecently, it is easy to see this effect, that is, when you select a video or link in the webpage, the background will immediately become dark and the loading... Then jump out
You can use the ASP. NET login control to create a logon page. This control extracts the user name and password and uses ASP. Net membership and forms authentication to authenticate the user's creden。 and create an authentication ticket.
1. Create
If the browser you are using supports dynamic HTML (DHTML), the ASP. NET verification control can be verified using the client script. This control can provide timely feedback (no round-trip to the server is required), so users will feel that the
The ASP. Net user configuration file function is designed to provide the unique information of the current user. Configuration files can be used by authenticated users or anonymous (unauthenticated) users.
1. Authenticated Users
By default, the
2. Add HTML server controls to ASP. NET web pages
The HTML server control is an HTML element that you can configure to use server code to program it.
1. How to: use ASP. NET syntax to add HTML server controls to webpages
Adding an HTML Server
I. Database Operations
1. Close the database connection immediately after use
To access database resources, you need to create a connection, open a connection, and close the connection. These processes need to exchange information with the database
1. ckeditor Configuration:
Ckeditor is a replacement version of FCKeditor, which is more powerful than FCKeditor.
Download: for the development of Asp.net, you can go to the official website http://ckeditor.com/downloaddownload, and directly find
Tip 4: Avoid caching non-agile components in application or session objectsAlthough caching data in application or session objects is a good practice, caching COM objects has a serious trap. In general, people tend to cache frequently used COM
Today, when a local machine tests an ASP code segment, the "Active Server Pages error 'asp 0113 'script timed out" occurs. You can only access the HTML page. The solution found on the internet is:
An error occurred while executing ASP program
Error:
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.