Thanks Mario, But creatingg session objects is not a good way of doing that. what if we have to many buttons that either have to be made visible or invisible? we cant go on creating session objects right, cause sesison objects take a lot of server's memory. DO you know any other method of doing that? Thanks in advance, Eswar
--- In [email protected], "Mario Ramos (Ext)" <[EMAIL PROTECTED]> wrote: > Why not assign to session a value when you click the button. Then just check to see if the value has been set and if so turn the button invisible on page_load in the 2nd webform. > > -----Original Message----- > From: eswarvemuri6 [mailto:[EMAIL PROTECTED] > Sent: sexta-feira, 11 de Mar�o de 2005 15:51 > To: [email protected] > Subject: [AspNetAnyQuestionIsOk] Help Needed > > > > > Hi All, > I have 2 webforms. each one of those webforms has a button. if I > click a button in one webform, the button in the otherwebform has to > disappear(invisible). How should I do that. I tried creating an > instance of the 2nd webform in the first webform and tried to access > the button control like this. object.controlName.Visible = "false". > It did not work. Can you please help me where I am going wrong? > Thanks, > Eswar > > > > > > > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
