Solved

SelectedIndexChanged event does not fire on website only

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DataGridView 2 29
windbg taking it's time 32 54
VB.Net - Oracle BulkCopy from CSV Date Format 7 26
Red error squiggly on vb.net 7 14
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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

762 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

21 Experts available now in Live!

Get 1:1 Help Now