I am using ASP.Net 2.0. I added the following code in
button_Click page. but 'PreviousPage' is not taking as a
keyword. It throughs an error.
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest");
sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
The following is the Error Message:
'controls_LoginMain' does not contain a definition
for 'PreviousPage'
Answer Posted / geetha
Hi Purushotham,
Thank you very much for your suggestions.Now its working
fine.
Thanks,
Geetha
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is state management react?
What are triggers of an updatepanel?
How to unit test Web API?
What’s the use of “GLOBAL.ASAX” file?
What is jade template engine?
What parameters can you pass in the url of the api?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
How do you hide the columns?
What is loop in asp.net?
How to register exception filter globally?
What is round trip in asp.net?
Please brief not about xsd,xslt & xml?
What are sessions used for?
What is sdlc process?
What is difference between abstract class and an interface?