TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Viki
NA
17
21k
Error :'WebForm_PostBackOptions' is undefined , what is causing?
Jun 30 2011 11:16 PM
Hello I am learning ASP.NET and I am having some problems with getting data from the previous page to the present page. It gives the following error when I do so.
" Microsoft JScript runtime error: 'WebForm_PostBackOptions' is undefined "
I am using visual studio and the web-server is the one inbuilt with visual studio.
This is the code which seems to give the error.
protected void Page_Load(object sender, EventArgs e)
{
if (PreviousPage != null)
{
lblInfo.Text = "You came from a page titled " +
PreviousPage.Title + "<br />";
//CrossPage1 prevPage = PreviousPage as CrossPage1;
CrossPage1 prevPage = PreviousPage as CrossPage1;
if (prevPage != null)
{
lblInfo.Text += "You typed in this: " + prevPage.FullName;
}
}
}
Can someone please help me. I am stuck with this error for days now having no success in finding a solution.
Thank you.
Reply
Answers (
7
)
how can i bind the events for control in master page in content page
Can I run a .NET Windows Forms Application in A Browser