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

JavaScript

 
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 
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 
I kind of figured the issue.

AS I have mentioned I have two User Controls , say UC-A and UC-B. The textBox that is being refreshed is located in UC-A and this is being used by UC-B and UC-B is used by a .aspx page so that is how it is structured.

The UC-B has two DropDownList controls whose AutoPostBack property set to true. And programatically it is a must to set the focus to one of these DropDowlists. So when the page is loaded the DropDownList gets focus and when I try get the focus to the textBox to type in some thing then the DropDowlist is doing a post back as its AutoPostBack property has been set to true.

So I am trying to figure out a way where, if I do not change the of the selectedIndex of the dropdown and just make its focus lost then do not do a post back. I think may be I can try to come up with a javascript function where I can nullify the post back in the javascript function.


Any inputs if this sounds doable?
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 
AnswerRe: Rounding a calculation to the nearest 0 or 5 Pin
Aniruddha Loya14-Jan-12 20:53
Aniruddha Loya14-Jan-12 20:53 
GeneralRe: Rounding a calculation to the nearest 0 or 5 Pin
DiesenDesign15-Jan-12 14:07
DiesenDesign15-Jan-12 14:07 

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.