Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SelectedIndexChanged event does not fire on website only

Posted on 2009-07-13
2
Medium Priority
?
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
kaylanreilor earned 2000 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

604 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