趋势
点击量
View State
最近
 
Read More
2018年1月25日

ViewState management for dynamically loaded UserControls

Download source code – 13 KB Introduction

In many of our business ASPX applications, there is a need for special UserControls that perform specific functionalities so that they can be easily re-used in the entire application. There are two ways we can use a UserControl: either we drag it onto the form, or we load it dynamically through the use of [...]

2
 
Read More
2018年1月25日

Save ViewState on the File System

Download source code – 207 KB Introduction

One disadvantage of the ViewSate is it adds extra kilobytes of data to the payload. To overcome this disadvantage, it can be saved on the server.

Strategy

There are three options to save the ViewState on the server.

MS SQL Server File System Memory

Using MS SQL Server is expensive. If you do not have MS SQL Server, you [...]

2
 
Read More
2018年1月25日

GridView within GridView

Introduction

Hello, readers.

While building a web project, we may often come across the situation of displaying records or other types of data. We can do it in the best way by using DataGrid/GridView. It’s very simple and requires only a knowledge of C#, of web application building and of SQL 2005.

“A picture is worth 1000 words!!” so I have explained a [...]

3
 
Read More
2018年1月25日

Retaining State for Dynamically Created Controls in ASP.NET applications

Introduction

When dynamically adding controls to an ASP.NET page in runtime the object references are lost at postback because they have no handle in the codebehind. The values entered by the user is not availible when accessing these objects after postback, and they seem empty. This article describes how to use ViewState to recreate and [...]

2
 
Read More
2018年1月25日

ViewState management using AOP – PostSharp4ViewState

Introduction

PostSharp4ViewState is a plug-in for the PostSharp[^] AOP framework by Gael Fraiteur. Its goal is to simplify state management in ASP.NET pages and controls using a declarative programming concept.

How do I use it?

Whenever you want to store some value between postbacks, you decorate it with an attribute – namely PersistAttribute. You can store both property and [...]

1
分类热度
Dev
Intermediate
C#
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
Javascript
WinXP
Win2K
HTML
Architect
VC6
.NET2.0
MFC
移动开发
第三方产品
Advanced
C#2.0
Mobile
产品展示
VS2005
Design
.NET1.1
VB
Wiki.ASP.NET articles
Win2003
VS.NET2003
C#3.0
Android
企业系统
.NET3.5
开发生命周期
.NET1.0
VS2013
Ajax
XML
VC7
Android
网络
平台,框架&库
Java
ASP.NET 控件
Vista
.NET3.0
云计算
Cloud
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
Copy/Paste For Databound Objects
 
2
A Transparent menu synchronizing system
 
3
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
4
The Drag and Drop interface samples
 
5
Capture Screen to Clipboard including dropdown menu
 
6
Implementing a drag source
 
7
How to fix up the clipboard when it won't work
 
8
Bobril – Integration to Another Web Application
 
9
A generic IDropTarget COM class for dropped text
 
10
WSH Clipboard Access
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
Copy/Paste For Databound Objects
 
2
A Transparent menu synchronizing system
 
3
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
4
The Drag and Drop interface samples
 
5
Capture Screen to Clipboard including dropdown menu