Click here to Skip to main content
15,887,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSession be Null in ASP.Net Web Application Pin
Zeyad Jalil17-Mar-14 21:00
professionalZeyad Jalil17-Mar-14 21:00 
QuestionAsp.net DropDownList Data Function Pin
LouisTan2s17-Mar-14 16:31
LouisTan2s17-Mar-14 16:31 
SuggestionRe: Asp.net DropDownList Data Function Pin
Himanshu Jain17-Mar-14 17:24
Himanshu Jain17-Mar-14 17:24 
AnswerRe: Asp.net DropDownList Data Function Pin
Chris Quinn17-Mar-14 22:23
Chris Quinn17-Mar-14 22:23 
QuestionRedirect to web form from web service Pin
Ngan Tran17-Mar-14 6:38
Ngan Tran17-Mar-14 6:38 
AnswerRe: Redirect to web form from web service Pin
#realJSOP17-Mar-14 8:46
mve#realJSOP17-Mar-14 8:46 
AnswerRe: Redirect to web form from web service Pin
Dave Kreskowiak17-Mar-14 9:02
mveDave Kreskowiak17-Mar-14 9:02 
QuestionDropList doesn't post back Pin
#realJSOP17-Mar-14 5:11
mve#realJSOP17-Mar-14 5:11 
I have an asp.net web page with two droplist controls. Selecting an itme in the first control causes a database query, and the 2nd droplist is populated with the query results.

This works fine when I'm running under the debugger on my local box.

However, when the site is deployed (same domain as my box and the database), it does not always populate the 2nd box. In fact, the SelectionChanged event handler for the 1st droplist doesn't get called at all. If it doesn't work, I can usually make it work after refreshing the page (with F5) a couple of times.

Both droplists are set with autopostback=true and viewstatemode=enabled.

This happens in all browsers.

There is currently no code being executed if IsPostBack is true.

This morning, it would happen every time I opened the browser and went to the page in question (and that's how I found out it wasn't even hitting the event handler). I added some debugging code, and now it seems to work fine, and I now can't get it to fail. I even deleted the three lines of debugging code, and it still works. This tells me it's not really fixed.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013


AnswerRe: DropList doesn't post back Pin
#realJSOP18-Mar-14 10:53
mve#realJSOP18-Mar-14 10:53 
QuestionHow to assign role to linq queries? Pin
miss78617-Mar-14 1:36
miss78617-Mar-14 1:36 
AnswerRe: How to assign role to linq queries? Pin
kaushikpathak18-Mar-14 1:26
kaushikpathak18-Mar-14 1:26 
GeneralRe: How to assign role to linq queries? Pin
miss78618-Mar-14 1:51
miss78618-Mar-14 1:51 
GeneralRe: How to assign role to linq queries? Pin
kaushikpathak18-Mar-14 2:36
kaushikpathak18-Mar-14 2:36 
GeneralRe: How to assign role to linq queries? Pin
miss78618-Mar-14 2:48
miss78618-Mar-14 2:48 
Questionhow to set the visibility true for <Div> tag in vb.net Pin
Nandan Basak16-Mar-14 21:46
Nandan Basak16-Mar-14 21:46 
Questionyoutube videos behind login page Pin
raghushetty1616-Mar-14 21:41
raghushetty1616-Mar-14 21:41 
Questiondata is not getting saved to the database. Pin
samflex15-Mar-14 13:18
samflex15-Mar-14 13:18 
AnswerRe: data is not getting saved to the database. Pin
Garth J Lancaster15-Mar-14 14:45
professionalGarth J Lancaster15-Mar-14 14:45 
GeneralRe: data is not getting saved to the database. Pin
samflex15-Mar-14 16:21
samflex15-Mar-14 16:21 
GeneralRe: data is not getting saved to the database. Pin
samflex16-Mar-14 9:55
samflex16-Mar-14 9:55 
QuestionLogin status Pin
sbangani15-Mar-14 5:26
sbangani15-Mar-14 5:26 
QuestionFacebook share using jQuery Pin
Member 803236015-Mar-14 2:45
Member 803236015-Mar-14 2:45 
AnswerRe: Facebook share using jQuery Pin
Tom Marvolo Riddle15-Mar-14 3:22
professionalTom Marvolo Riddle15-Mar-14 3:22 
QuestionFacebook share button is not working Pin
Member 803236014-Mar-14 21:47
Member 803236014-Mar-14 21:47 
GeneralRe: Facebook share button is not working Pin
Peter Leow14-Mar-14 22:01
professionalPeter Leow14-Mar-14 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.