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
How can we Validate a Controls in ASP.NET page using JavaScript?
How is application management and maintenance improved in asp.net 2.0?
What is a response cookie?
What is directive in asp net?
What is asp short for?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
How does a web application session work?
What permissions do asp.net applications posses by default?
What is Web API?
What are the benefits of Razor View?
How can you handle exceptions in asp.net?
What is event bubbling?
What does the hotspot class in .net do?
Explain the benefits of viewstate?
Where session variables are stored?