Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: loadviewstate problem


Message #1 by anirose_US@y... on Thu, 22 Aug 2002 22:44:55
guys 

how can I clear the below override code?
whenever an itme calls, it goes here so the view state is full with wrong 
information but if I can find a way to clean it , I think I can solve the 
problem...


protected override void LoadViewState(object state)
		{
        
			object[] oldState = (object[])state;
			if(oldState[0] != null){ base.LoadViewState
(oldState[0]);	}
			if(oldState[1] != null){ 
                                    FirmID = Convert.ToInt32(oldState[1]);
	}
			
		}

  Return to Index