Click here to Skip to main content
15,889,480 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716720-Jan-12 15:36
Member 779716720-Jan-12 15:36 
AnswerRe: User control - how to access the element using javascript Pin
AspDotNetDev17-Jan-12 7:58
protectorAspDotNetDev17-Jan-12 7:58 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716718-Jan-12 15:45
Member 779716718-Jan-12 15:45 
AnswerRe: User control - how to access the element using javascript Pin
AspDotNetDev18-Jan-12 18:10
protectorAspDotNetDev18-Jan-12 18:10 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716719-Jan-12 4:02
Member 779716719-Jan-12 4:02 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716719-Jan-12 4:23
Member 779716719-Jan-12 4:23 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716719-Jan-12 4:35
Member 779716719-Jan-12 4:35 
GeneralRe: User control - how to access the element using javascript Pin
AspDotNetDev19-Jan-12 7:39
protectorAspDotNetDev19-Jan-12 7:39 
According to this, you can use Request.Form("__EVENTTARGET") to see which control caused the postback.

If that doesn't help, you have a couple options. For one, you could search the HTML source for "doPostBack" to see if there is anything funky that you missed. Also, you can use FireBug or the Chrome debugger to inspect all the JavaScript referenced by the page. If that doesn't get you anywhere, start removing things one by one until the second postback doesn't happen. That will help you narrow down what is causing the problem.

And like I mentioned before, Fiddler2 is a great help for figuring this type of stuff out. It will show you all requests/responses, and all of the data being sent with them to/from the server. And I'm pretty sure you can use some setting to monitor local traffic (that is, web traffic from a Visual Studio web application that is being run locally).

GeneralRe: User control - how to access the element using javascript Pin
Member 779716720-Jan-12 12:30
Member 779716720-Jan-12 12:30 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716719-Jan-12 9:14
Member 779716719-Jan-12 9:14 
QuestionRe: User control - how to access the element using javascript Pin
AspDotNetDev19-Jan-12 10:53
protectorAspDotNetDev19-Jan-12 10:53 
AnswerRe: User control - how to access the element using javascript Pin
Member 779716720-Jan-12 12:12
Member 779716720-Jan-12 12:12 
GeneralRe: User control - how to access the element using javascript Pin
Member 779716719-Jan-12 9:27
Member 779716719-Jan-12 9:27 
GeneralRe: User control - how to access the element using javascript Pin
BobJanova18-Jan-12 22:44
BobJanova18-Jan-12 22:44 
QuestionAjax issue Pin
MacRaider416-Jan-12 6:57
MacRaider416-Jan-12 6:57 
AnswerRe: Ajax issue Pin
Not Active16-Jan-12 7:41
mentorNot Active16-Jan-12 7:41 
GeneralRe: Ajax issue Pin
MacRaider416-Jan-12 8:06
MacRaider416-Jan-12 8:06 
QuestionRe: Ajax issue Pin
AspDotNetDev16-Jan-12 8:20
protectorAspDotNetDev16-Jan-12 8:20 
AnswerRe: Ajax issue Pin
MacRaider416-Jan-12 8:34
MacRaider416-Jan-12 8:34 
AnswerRe: Ajax issue Pin
AspDotNetDev16-Jan-12 8:55
protectorAspDotNetDev16-Jan-12 8:55 
GeneralRe: Ajax issue Pin
MacRaider416-Jan-12 9:48
MacRaider416-Jan-12 9:48 
GeneralRe: Ajax issue Pin
MacRaider417-Jan-12 1:59
MacRaider417-Jan-12 1:59 
GeneralRe: Ajax issue Pin
BobJanova17-Jan-12 3:59
BobJanova17-Jan-12 3:59 
GeneralRe: Ajax issue Pin
MacRaider417-Jan-12 4:12
MacRaider417-Jan-12 4:12 
QuestionRounding a calculation to the nearest 0 or 5 Pin
DiesenDesign14-Jan-12 15:48
DiesenDesign14-Jan-12 15:48 

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.