Click here to Skip to main content
15,892,298 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Cross-Page Posting Pin
.NET- India 23-Jun-08 20:59
.NET- India 23-Jun-08 20:59 
GeneralRe: Cross-Page Posting Pin
Christian Graus23-Jun-08 21:09
protectorChristian Graus23-Jun-08 21:09 
GeneralRe: Cross-Page Posting Pin
Christian Graus23-Jun-08 21:07
protectorChristian Graus23-Jun-08 21:07 
Questiongathering data from sqldatabase and fill in datagrid in asp.net 2.0 Pin
vijaylumar23-Jun-08 19:49
vijaylumar23-Jun-08 19:49 
AnswerRe: gathering data from sqldatabase and fill in datagrid in asp.net 2.0 Pin
Christian Graus23-Jun-08 20:06
protectorChristian Graus23-Jun-08 20:06 
GeneralRe: gathering data from sqldatabase and fill in datagrid in asp.net 2.0 Pin
K V Sekhar23-Jun-08 20:19
K V Sekhar23-Jun-08 20:19 
AnswerRe: gathering data from sqldatabase and fill in datagrid in asp.net 2.0 Pin
Ashfield23-Jun-08 21:32
Ashfield23-Jun-08 21:32 
QuestionHow to access a property of master page from another page. Pin
K V Sekhar23-Jun-08 19:26
K V Sekhar23-Jun-08 19:26 
Hi,

I placed a LinkButton on MasterPage. Made visibility to False.

I wrote a property to set its visibility

public bool Lbtn_Property
{
get{ return Lbtn1.Visible; }
set{ Lbtn1.Visible=value; }
}
----------------------------------
In Page2.aspx
button_Click()
{
Default_Master obj=new Default_Master();
obj.Lbtn_Property=True;

Response.Redirect("Page3.aspx");
}

Its not working.. When page Loads after button click LinkButton is still invisible.

I could able to set property Locally.

But want that property to be static(i.e, Permanent untill we change it again).

So i Made that property as
Publi static bool Lbtn_Property
{
get{}
set{}
}

But it raising compile time exception :An object reference is required for the non static field,method or a property 'Default_Master.Lbtn1'


Please help me,


Thanks in advance.
AnswerRe: How to access a property of master page from another page. Pin
Christian Graus23-Jun-08 19:47
protectorChristian Graus23-Jun-08 19:47 
GeneralRe: How to access a property of master page from another page. Pin
K V Sekhar23-Jun-08 19:52
K V Sekhar23-Jun-08 19:52 
GeneralRe: How to access a property of master page from another page. Pin
Christian Graus23-Jun-08 20:12
protectorChristian Graus23-Jun-08 20:12 
GeneralRe: How to access a property of master page from another page. Pin
K V Sekhar23-Jun-08 20:26
K V Sekhar23-Jun-08 20:26 
GeneralRe: How to access a property of master page from another page. Pin
Christian Graus23-Jun-08 20:31
protectorChristian Graus23-Jun-08 20:31 
GeneralRe: How to access a property of master page from another page. Pin
K V Sekhar23-Jun-08 21:13
K V Sekhar23-Jun-08 21:13 
GeneralRe: How to access a property of master page from another page. Pin
Christian Graus23-Jun-08 21:16
protectorChristian Graus23-Jun-08 21:16 
Questionuser control doubt Pin
saravanan0523-Jun-08 18:34
saravanan0523-Jun-08 18:34 
AnswerRe: user control doubt Pin
Christian Graus23-Jun-08 18:37
protectorChristian Graus23-Jun-08 18:37 
QuestionHow to control to select one html Radiobutton Pin
BalasubramanianK23-Jun-08 18:27
BalasubramanianK23-Jun-08 18:27 
AnswerRe: How to control to select one html Radiobutton Pin
Christian Graus23-Jun-08 18:38
protectorChristian Graus23-Jun-08 18:38 
GeneralRe: How to control to select one html Radiobutton Pin
BalasubramanianK23-Jun-08 19:08
BalasubramanianK23-Jun-08 19:08 
GeneralRe: How to control to select one html Radiobutton Pin
Christian Graus23-Jun-08 19:45
protectorChristian Graus23-Jun-08 19:45 
GeneralRe: How to control to select one html Radiobutton Pin
Arindam Tewary23-Jun-08 19:32
professionalArindam Tewary23-Jun-08 19:32 
AnswerRe: How to control to select one html Radiobutton Pin
tina->newcoder23-Jun-08 22:34
tina->newcoder23-Jun-08 22:34 
QuestionHow to use LoginStatus Control without using MemberShipProvider & LoginControl Pin
K V Sekhar23-Jun-08 18:21
K V Sekhar23-Jun-08 18:21 
Questionasp.net control allignment problem Pin
BalasubramanianK23-Jun-08 18:15
BalasubramanianK23-Jun-08 18:15 

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.