Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: AutoPostBack=True


Message #1 by lhunni@s... on Thu, 2 Aug 2001 21:09:18
   I'm running Beta 2, Service Pack 2, building a User Control.

   I'm using a RadioButtonList Web Server Control and want to change the 

VISIBLE property of several other Textbox Controls depending on which item 

is selected in the RadioButtonList.  I've written code for the 

SelectedIndexChanged event in the code-behind file; and have AutoPostBack 

property of the RadioButtonList set to TRUE, but I keep getting the 

following error:  '__EVENTTARGET' is null or not an object.  If I set 

AutoPostBack = FALSE, I don't get the error, (but then I also don't see 

the funtionality of my other Textbox Controls become Visible/Invisible as 

coded!).  

   Has anyone else run into this problem?  If so, how did you resolve it?



Thanks!

  Return to Index