Click here to Skip to main content
15,891,981 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncan i used 1 page's data of viewstate in another page Pin
vid nandha10-Aug-09 20:51
vid nandha10-Aug-09 20:51 
AnswerRe: can i used 1 page's data of viewstate in another page Pin
r a m e s h10-Aug-09 22:18
r a m e s h10-Aug-09 22:18 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
vid nandha10-Aug-09 22:26
vid nandha10-Aug-09 22:26 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
padmanabhan N10-Aug-09 22:37
padmanabhan N10-Aug-09 22:37 
AnswerRe: can i used 1 page's data of viewstate in another page Pin
Arindam Sinha10-Aug-09 22:49
Arindam Sinha10-Aug-09 22:49 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
vid nandha10-Aug-09 23:29
vid nandha10-Aug-09 23:29 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
vid nandha10-Aug-09 23:31
vid nandha10-Aug-09 23:31 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
padmanabhan N10-Aug-09 23:39
padmanabhan N10-Aug-09 23:39 
What the State Management Types?
 Client-side state management stores information on the client’s computer by embedding the information into a web page (Hiddenfields), URL (Query strings) or a cookie.
1. View state.
2. Control state: If you create a custom control that requires view state to work, you should use control state to ensure (يضمن) other developers don’t break your control by disabling view state.
3. Hiddenfields: hidden fields store in HTML form without displaying it in the user’s browser.
4. Cookies: cookies store a value in the user’s browser.
5. Query strings: query string stores values in URL.

 Server-side state management stores information on server’s memory.
1. Application state.
2. Session state.
3. Profile Properties.
4. Cache state.

What the disadvantages are of ViewState?
- Disadvantages of ViewState:
1. The more controls you have on the form the larger the size of ViewState and the larger the size of the HTML you send back and forth to the server.
2. Only works when pages postback to themselves.
3. You can't persist (تحفظ) data to other pages.

Padmanabhan
My Articles:
Articles[^]
My latest Article:
Word Automation[^]

GeneralRe: can i used 1 page's data of viewstate in another page Pin
vid nandha10-Aug-09 23:51
vid nandha10-Aug-09 23:51 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
padmanabhan N11-Aug-09 0:02
padmanabhan N11-Aug-09 0:02 
GeneralRe: can i used 1 page's data of viewstate in another page Pin
Arindam Sinha11-Aug-09 1:26
Arindam Sinha11-Aug-09 1:26 
AnswerRe: can i used 1 page's data of viewstate in another page Pin
keyur satyadev11-Aug-09 0:10
keyur satyadev11-Aug-09 0:10 
QuestionProblem in accessing page from folder [modified] Pin
ais0710-Aug-09 20:44
ais0710-Aug-09 20:44 
AnswerRe: Problem in accessing page from folder Pin
Zafar A khan 10-Aug-09 20:52
professionalZafar A khan 10-Aug-09 20:52 
GeneralRe: Problem in accessing page from folder Pin
ais0710-Aug-09 20:57
ais0710-Aug-09 20:57 
GeneralRe: Problem in accessing page from folder Pin
ais0710-Aug-09 21:13
ais0710-Aug-09 21:13 
GeneralRe: Problem in accessing page from folder Pin
padmanabhan N10-Aug-09 22:41
padmanabhan N10-Aug-09 22:41 
GeneralRe: Problem in accessing page from folder Pin
Greg Chelstowski10-Aug-09 23:19
Greg Chelstowski10-Aug-09 23:19 
GeneralRe: Problem in accessing page from folder Pin
padmanabhan N10-Aug-09 23:47
padmanabhan N10-Aug-09 23:47 
Questionquery behind a textbox Pin
haleemasher10-Aug-09 20:28
haleemasher10-Aug-09 20:28 
AnswerRe: query behind a textbox Pin
Zafar A khan 10-Aug-09 20:35
professionalZafar A khan 10-Aug-09 20:35 
AnswerRe: query behind a textbox Pin
Abhijit Jana10-Aug-09 20:35
professionalAbhijit Jana10-Aug-09 20:35 
AnswerRe: query behind a textbox Pin
xbmly10-Aug-09 20:50
xbmly10-Aug-09 20:50 
Questiondisplay menu items based on database table values Pin
Punit Belani10-Aug-09 20:02
Punit Belani10-Aug-09 20:02 
AnswerRe: display menu items based on database table values Pin
Abhijit Jana10-Aug-09 20:19
professionalAbhijit Jana10-Aug-09 20:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.