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
Explain file-based dependency and key-based dependency.
What do you understand from custom control?
To bind columns manually which tags do you need to add within the asp:datagrid ?
Can any body provide me the sample web application in asp.net
How is application management and maintenance improved in asp.net 2.0?
Is asp.net outdated?
What is rending process in ASP.NET?
explain code with multi inhertance
What do you mean by marshalbyref?
How to find last error which occurred in Asp.net ?
What is the difference between viewstate and hidden field in asp.net?
Explain the different types of directives in .net?
What is a viewstate?
What is state management in asp.net with example?
Is post back in asp.net?