IT Community - Software Programming, Web Development and Technical Support

Accessing control in other page.

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-01-2008, 02:29 AM
Kirubhananth Kirubhananth is offline
D-Web Programmer
 
Join Date: Feb 2008
Location: My native is Madurai but now in Chennai
Posts: 61
Kirubhananth is on a distinguished road
Send a message via AIM to Kirubhananth Send a message via Skype™ to Kirubhananth
Question Accessing control in other page.

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--
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-01-2008, 03:02 AM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 181
Balasubramanian.S is on a distinguished road
Default Re: Accessing control in other page.

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-01-2008, 04:01 AM
Kirubhananth Kirubhananth is offline
D-Web Programmer
 
Join Date: Feb 2008
Location: My native is Madurai but now in Chennai
Posts: 61
Kirubhananth is on a distinguished road
Send a message via AIM to Kirubhananth Send a message via Skype™ to Kirubhananth
Smile Re: Accessing control in other page.

Balu can you send me the source code for it?
__________________
--Kirubhaa. Born to win--
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 08:44 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0