Controls in c#
-
Hi all, I want to change the property of button on one page "A" from other page "B" Please suggest me how to do same with out search control.
Hello Forum Always be in touch to help about the topic ASP.NET
-
Hi all, I want to change the property of button on one page "A" from other page "B" Please suggest me how to do same with out search control.
Hello Forum Always be in touch to help about the topic ASP.NET
sulabh2020 wrote:
I want to change the property of button on one page "A" from other page "B" Please suggest me how to do same with out search control.
I think this article[^] will help you. Since changing a property is just sending it a new value the concept given in the article will work. However, I'm not sure what you mean by a "search control". There is no search control in .NET. Sorry, I misread the original post. I thought you were talking about Winforms application as this wasn't in the ASP.NET forum. -- modified at 6:48 Saturday 15th September, 2007
Upcoming FREE developer events: * Glasgow: db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ... My website
-
Hi all, I want to change the property of button on one page "A" from other page "B" Please suggest me how to do same with out search control.
Hello Forum Always be in touch to help about the topic ASP.NET
If it's a server control on a web page, then you can't do it. The server controls only exist while the page is being created, and only one page at a time is created for each user. The controls never exist at the same time. If it's an element on a web page, you have to use Javascript. If it a control on a form in a program, you need a reference to the form where the control is that you want to change.
--- single minded; short sighted; long gone;