|
-
Oct 17th, 2011, 12:56 PM
#1
Thread Starter
Fanatic Member
Page runs when it shouldn't
I'm working on a site in C# in VS2010 on a new machine. If I write this:
<asp ropDownList ID="ddlTest" runat="server" OnSelectedIndexChanged="ddlTest_SelectedIndexChanged" />
and, in the code behind, there is no ddlTest_SelectedIndexChanged function - it should not run. I usually get an error message that says - 'the page behind does not contain a function called "ddlTest_SelectedIndexChanged".
But in this project it runs and I don't get an error message until I go to the page in the browser.
For the first time I created a Web Application - I have always created Web Sites before - do things work differently here?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|