Solved

SelectedIndexChanged event does not fire on website only

Posted on 2009-07-13
2
257 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…

839 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