This is a discussion on Accessing control in other page. within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, How can we access the control in other page? Consider the case such that a label named label1 is ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, How can we access the control in other page? Consider the case such that a label named label1 is in visible = false state in default1.aspx. How can we se it as visible = true state from default2.aspx?
__________________ --Kirubhaa. Born to win-- |
| Sponsored Links |
| |||
| Hi Kirubha, You can access other page controls from any other page. Create a static object in the page which has the control and assign the control to the static object. Then, access the static object from other page without creating object for the class. Then assign any property.
__________________ S.Balasubramanian Nothing is impossible |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'Page' ia an unambiguous reference between 'System.Web.UI.Page' and 'Project1.Page' | poornima | ASP and ASP.NET Programming | 1 | 03-05-2008 03:12 AM |
| How to Accessing Elements using javascript? | itbarota | HTML, CSS and Javascript Coding Techniques | 1 | 10-24-2007 08:21 AM |
| use of Custom Control and User Control? | a.deeban | ASP and ASP.NET Programming | 1 | 08-20-2007 08:25 AM |
| How to disable themes for a page and control? | theone | ASP and ASP.NET Programming | 1 | 07-25-2007 01:34 AM |
| Accessing COM component using java script | oxygen | HTML, CSS and Javascript Coding Techniques | 1 | 07-18-2007 02:25 AM |