Solved

SelectedIndexChanged event does not fire on website only

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

685 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