Click here to Skip to main content
15,878,959 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAccessing Master Page control Pin
Syed Ferhat26-Jun-13 23:10
Syed Ferhat26-Jun-13 23:10 
AnswerRe: Accessing Master Page control Pin
prashant patil 498726-Jun-13 23:18
prashant patil 498726-Jun-13 23:18 
GeneralRe: Accessing Master Page control Pin
Syed Ferhat27-Jun-13 0:36
Syed Ferhat27-Jun-13 0:36 
AnswerRe: Accessing Master Page control Pin
jaideepsinh27-Jun-13 0:39
jaideepsinh27-Jun-13 0:39 
GeneralRe: Accessing Master Page control Pin
Syed Ferhat27-Jun-13 19:37
Syed Ferhat27-Jun-13 19:37 
AnswerRe: Accessing Master Page control Pin
SKL_H2-Jul-13 14:00
SKL_H2-Jul-13 14:00 
GeneralRe: Accessing Master Page control Pin
Syed Ferhat2-Jul-13 18:48
Syed Ferhat2-Jul-13 18:48 
AnswerRe: Accessing Master Page control Pin
Aatif Ali from Bangalore2-Jul-13 22:45
professionalAatif Ali from Bangalore2-Jul-13 22:45 
using System;
using System.Web.UI.WebControls;
Now add following code in code behind


protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
Label masterlbl = (Label)Master.FindControl("lblMaster");
TextBox mastertxt = (TextBox) Master.FindControl("txtMaster");
lblContent.Text = masterlbl.Text;
txtContent.Text = mastertxt.Text;
}
}


Here 'txtMaster' is a textbox placed in the masterPage...u can try like this to get all controls from MasterPage
GeneralRe: Accessing Master Page control Pin
Syed Ferhat3-Jul-13 20:38
Syed Ferhat3-Jul-13 20:38 
QuestionPush Notifications When There is new File and Share File in server Pin
chester_it2126-Jun-13 19:45
chester_it2126-Jun-13 19:45 
AnswerRe: Push Notifications When There is new File and Share File in server Pin
David Mujica27-Jun-13 4:59
David Mujica27-Jun-13 4:59 
GeneralRe: Push Notifications When There is new File and Share File in server Pin
chester_it2130-Jun-13 1:49
chester_it2130-Jun-13 1:49 
Questioncan you please with the encoding problem Pin
Jassim Rahma25-Jun-13 22:19
Jassim Rahma25-Jun-13 22:19 
AnswerRe: can you please with the encoding problem Pin
ZurdoDev28-Jun-13 9:49
professionalZurdoDev28-Jun-13 9:49 
QuestionProblem with accessing Asp.net web application through other system Pin
ven75325-Jun-13 20:40
ven75325-Jun-13 20:40 
AnswerRe: Problem with accessing Asp.net web application through other system Pin
jaideepsinh25-Jun-13 21:08
jaideepsinh25-Jun-13 21:08 
AnswerRe: Problem with accessing Asp.net web application through other system Pin
MaulikDusara26-Jun-13 8:28
MaulikDusara26-Jun-13 8:28 
AnswerRe: Problem with accessing Asp.net web application through other system Pin
mkbisht26-Jun-13 18:21
mkbisht26-Jun-13 18:21 
AnswerRe: Problem with accessing Asp.net web application through other system Pin
arunmisra27-Jun-13 13:42
arunmisra27-Jun-13 13:42 
AnswerRe: Problem with accessing Asp.net web application through other system Pin
chakraproject27-Jun-13 18:56
chakraproject27-Jun-13 18:56 
QuestionHow to achieve this type of Images [ like animated waves over Images ] from AdobeFlasPlayer 11.7.700.224 on VS - 2010? Pin
Paramu197325-Jun-13 1:18
Paramu197325-Jun-13 1:18 
AnswerRe: How to achieve this type of Images [ like animated waves over Images ] from AdobeFlasPlayer 11.7.700.224 on VS - 2010? Pin
thanh_bkhn25-Jun-13 15:38
professionalthanh_bkhn25-Jun-13 15:38 
GeneralRe: How to achieve this type of Images [ like animated waves over Images ] from AdobeFlasPlayer 11.7.700.224 on VS - 2010? Pin
Paramu197329-Jun-13 23:35
Paramu197329-Jun-13 23:35 
QuestionCosuming UDDI webservice in Asp.Net Pin
prakash_21023-Jun-13 18:00
prakash_21023-Jun-13 18:00 
QuestionAdvanced search Pin
smile9x21-Jun-13 22:38
smile9x21-Jun-13 22:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.