Solved

SelectedIndexChanged event does not fire on website only

Posted on 2009-07-13
2
255 Views
Last Modified: 2013-11-27
I have boiled this down to the most simple situation possible.
In a DropDownList_SelectedIndexChanged event, I put some text in a label. (VB.NET, ASPX)
It works testing on the Local Development Server, but not on the website.
AutoPostBack="True" should be OK (it makes the round trip in all cases)
Set the page <%@ OutputCache Duration="1" VaryByParam="none" %> duration as low as possible as per some research, etc. etc., etc.
Why does it work locally and not remotely?
Thanks in advance.
0
Comment
Question by:TargetGT
2 Comments
 
LVL 13

Accepted Solution

by:
kaylanreilor earned 500 total points
ID: 24846509
Does the DropDownList have the runat attribute set properly ? Can the control itself be configured from somewhere else than from the page attributes ? Don't you have any security issues with the Web sever ? (is it IIS ?) Is the framework matching on the server machine ?....
0
 

Author Closing Comment

by:TargetGT
ID: 31603045
Framework did not match remote (2.0) ve. local (default 3.5).  Without going into all the details, inherits did not work and codebehind did not run.  Setting the target is somewhat obscure, and even so, VWD 2008 did not give me any warnings, assuming inherits is invalid in 2.0.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now