Click here to Skip to main content
15,918,808 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 18:46
neodeaths3-Apr-07 18:46 
GeneralRe: help me check my executescaler Pin
enjoycrack3-Apr-07 18:54
enjoycrack3-Apr-07 18:54 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 19:37
neodeaths3-Apr-07 19:37 
AnswerRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 18:52
Venkatesh Mookkan3-Apr-07 18:52 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 19:11
neodeaths3-Apr-07 19:11 
GeneralRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 19:42
Venkatesh Mookkan3-Apr-07 19:42 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 20:10
neodeaths3-Apr-07 20:10 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 20:38
neodeaths3-Apr-07 20:38 
GeneralRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 21:14
Venkatesh Mookkan3-Apr-07 21:14 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 21:23
neodeaths3-Apr-07 21:23 
GeneralRe: help me check my executescaler Pin
Venkatesh Mookkan3-Apr-07 21:34
Venkatesh Mookkan3-Apr-07 21:34 
GeneralRe: help me check my executescaler Pin
neodeaths3-Apr-07 21:43
neodeaths3-Apr-07 21:43 
GeneralRe: help me check my executescaler Pin
Colin Angus Mackay3-Apr-07 21:14
Colin Angus Mackay3-Apr-07 21:14 
AnswerRe: help me check my executescaler Pin
meghak3-Apr-07 21:47
meghak3-Apr-07 21:47 
QuestionAccessing IIS server from other computers.. Pin
MinhajuddinK3-Apr-07 16:28
MinhajuddinK3-Apr-07 16:28 
AnswerRe: Accessing IIS server from other computers.. Pin
N a v a n e e t h3-Apr-07 17:11
N a v a n e e t h3-Apr-07 17:11 
AnswerRe: Accessing IIS server from other computers.. Pin
Venkatesh Mookkan3-Apr-07 18:56
Venkatesh Mookkan3-Apr-07 18:56 
QuestionRetrieving ViewState value across Page events Pin
tjkota3-Apr-07 13:43
tjkota3-Apr-07 13:43 
Hello, I am trying to enable/disable a textbox prior to the page rendering based on its value. To be able to access the textbox value I had to implement this in Page_LoadComplete event of the page. After the enable/disable logic in Page_LoadComplete I obtain a boolean value that I save to ViewState and access it from Page.IsPostBack( ) method of Page_Load. I tried using ViewState to save the value as string and retrieve it in Page.IsPostBack( ) method but I am getting a NullReferenceException meaning the value of the ViewState variable is null. Why is the state not saving in ViewState variable? Here is my Page_LoadComplete method:

public void Page_LoadComplete(object sender, System.EventArgs e)
{
//Here I obtain value of textbox and based on it's value enable or disable the textbox
//Obtain a boolean value that I need to pass to Page.IsPostBack( ) method of Page_Load
ViewState["istempVar"] = aboolValue;
}

I am trying to access this ViewState variable in:

public void Page_Load(object sender, System.EventArgs e)
{
...
if (Page.IsPostBack )
{
// obtain ViewState["istempVar"]
}

Any help is appreciated.

Confused | :confused: Thanks.


AnswerRe: Retrieving ViewState value across Page events Pin
N a v a n e e t h3-Apr-07 17:20
N a v a n e e t h3-Apr-07 17:20 
QuestionAssembly problem Pin
DanB19833-Apr-07 10:21
DanB19833-Apr-07 10:21 
Questionmanage session Pin
ASPDevelopper12348753-Apr-07 7:52
ASPDevelopper12348753-Apr-07 7:52 
AnswerRe: manage session Pin
ToddHileHoffer3-Apr-07 8:01
ToddHileHoffer3-Apr-07 8:01 
GeneralRe: manage session Pin
ASPDevelopper12348753-Apr-07 8:27
ASPDevelopper12348753-Apr-07 8:27 
QuestionEdit <head> in page with code behind file Pin
Alice@mywonderland3-Apr-07 7:08
Alice@mywonderland3-Apr-07 7:08 
AnswerRe: Edit <head> in page with code behind file Pin
kubben3-Apr-07 7:43
kubben3-Apr-07 7:43 

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.