Click here to Skip to main content
15,891,749 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error checking in application Pin
Not Active1-Aug-11 3:14
mentorNot Active1-Aug-11 3:14 
QuestionChanging Table's Image [modified] Pin
Eddie19871-Aug-11 2:57
Eddie19871-Aug-11 2:57 
AnswerRe: Changing Table's Image [modified] Pin
Not Active1-Aug-11 3:18
mentorNot Active1-Aug-11 3:18 
GeneralRe: Changing Table's Image Pin
Eddie19871-Aug-11 3:23
Eddie19871-Aug-11 3:23 
Questionremoving aspx extension Pin
benams31-Jul-11 22:44
benams31-Jul-11 22:44 
Questiononfocus postback problem Pin
minckle31-Jul-11 12:06
minckle31-Jul-11 12:06 
AnswerRe: onfocus postback problem Pin
Not Active31-Jul-11 13:24
mentorNot Active31-Jul-11 13:24 
GeneralRe: onfocus postback problem [modified] Pin
minckle1-Aug-11 13:30
minckle1-Aug-11 13:30 
thanks, but even using ajax it still creates a postback doesnt it. on focus of the control i need it to run some vb.net code ( server side code ). I have ajax set up and it still loads the page_load event so i presume it is still posting back, no ?

eiher way i dont have it working with ajax, maybe i have set some thing wrong

my code is

in pageload event

TextBox1Test.Attributes.Add("onfocus", "javascript:DoPostBack('TextBox1Test');")

Dim eventTarget As String = Request.Form("__EVENTTARGET")
If eventTarget IsNot Nothing Then
DayPostback(eventTarget) // server side code i need to run on focus
End If

javascript code

function DoPostBack(control) {
__doPostBack(control, "onFocus");
}

if i set the DayPostback method to manually set the focus, i get in a loop, if I loop the textbox loses focus after the event has been fired

modified on Monday, August 1, 2011 7:36 PM

GeneralRe: onfocus postback problem Pin
Not Active1-Aug-11 14:24
mentorNot Active1-Aug-11 14:24 
Questionhow to get previous page and details remain Pin
Cyberoxy31-Jul-11 9:50
Cyberoxy31-Jul-11 9:50 
AnswerRe: how to get previous page and details remain Pin
Not Active31-Jul-11 13:22
mentorNot Active31-Jul-11 13:22 
AnswerRe: how to get previous page and details remain Pin
Bernhard Hiller31-Jul-11 19:45
Bernhard Hiller31-Jul-11 19:45 
QuestionHow to replace image onmouseover Pin
Eddie198730-Jul-11 9:12
Eddie198730-Jul-11 9:12 
AnswerRe: How to replace image onmouseover Pin
Shahriar Iqbal Chowdhury/Galib31-Jul-11 4:16
professionalShahriar Iqbal Chowdhury/Galib31-Jul-11 4:16 
GeneralRe: How to replace image onmouseover Pin
Eddie19871-Aug-11 1:09
Eddie19871-Aug-11 1:09 
GeneralRe: How to replace image onmouseover Pin
Not Active1-Aug-11 2:08
mentorNot Active1-Aug-11 2:08 
QuestionHave Session in Global.asax File Pin
Member 322226430-Jul-11 6:29
Member 322226430-Jul-11 6:29 
AnswerRe: Have Session in Global.asax File Pin
Keith Barrow30-Jul-11 8:23
professionalKeith Barrow30-Jul-11 8:23 
Questionneed to display data on email Pin
CyberHeart 230-Jul-11 6:20
CyberHeart 230-Jul-11 6:20 
AnswerRe: need to display data on email Pin
Not Active30-Jul-11 13:01
mentorNot Active30-Jul-11 13:01 
QuestionRender ASP.Net code at run time Pin
Dilan200630-Jul-11 3:06
Dilan200630-Jul-11 3:06 
AnswerRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)30-Jul-11 7:05
professionalAli Al Omairi(Abu AlHassan)30-Jul-11 7:05 
AnswerRe: Render ASP.Net code at run time Pin
Dilan200630-Jul-11 15:54
Dilan200630-Jul-11 15:54 
GeneralRe: Render ASP.Net code at run time Pin
Dilan200631-Jul-11 5:13
Dilan200631-Jul-11 5:13 
GeneralRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)4-Aug-11 6:27
professionalAli Al Omairi(Abu AlHassan)4-Aug-11 6:27 

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.