Ok, how about looking at this example:
http://www.mastercsharp.com/article.aspx?ArticleID=67&&TopicID=2

Or maybe this one:
http://www.dotnetmonster.com/Uwe/Forum.aspx/asp-net/24923/Interaction-between-User-Controls

Hope it helps.


-----Original Message-----
From: eswarvemuri6 [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 11 de Mar�o de 2005 17:10
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Re: Help Needed




Alright Mario,
Thanks for the response. I have this situation. I have 1 main webform 
and 2 usercontrol forms. I have dragged the 2 usercontrol forms on to 
the main webform. 
Each one of those usercontrol's have a button.
Now in the main webform, when i click one of the usercontrol's 
button, the button of the other usercontrol should disappear.
How should we go about that?
Thanks in advance,
Eswar.



--- In [email protected], "Mario Ramos (Ext)" 
<[EMAIL PROTECTED]> wrote:
> Ok... Fair enough.
> How about assigning a value to a hidden form field when button is 
clicked and retrieving the value (checking if it exists) through 
request method?
> 
> Still has the problem of having a hidden form field for each of 
your buttons right? :)
> 
> 
> 
> -----Original Message-----
> From: eswarvemuri6 [mailto:[EMAIL PROTECTED] 
> Sent: sexta-feira, 11 de Mar�o de 2005 16:33
> To: [email protected]
> Subject: [AspNetAnyQuestionIsOk] Re: Help Needed
> 
> 
> 
> 
> 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





 
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/
 



Reply via email to