Click here to Skip to main content
15,893,487 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Interview Questions Pin
AmbiguousName8-Jun-11 21:50
AmbiguousName8-Jun-11 21:50 
AnswerRe: ASP.NET Interview Questions Pin
AspDotNetDev3-Jun-11 11:34
protectorAspDotNetDev3-Jun-11 11:34 
AnswerRe: ASP.NET Interview Questions Pin
thatraja3-Jun-11 18:04
professionalthatraja3-Jun-11 18:04 
AnswerRe: ASP.NET Interview Questions Pin
Not Active4-Jun-11 7:58
mentorNot Active4-Jun-11 7:58 
GeneralRe: ASP.NET Interview Questions Pin
Ali Al Omairi(Abu AlHassan)6-Jun-11 3:25
professionalAli Al Omairi(Abu AlHassan)6-Jun-11 3:25 
AnswerRe: ASP.NET Interview Questions Pin
Prasanta_Prince5-Jun-11 23:09
Prasanta_Prince5-Jun-11 23:09 
AnswerRe: ASP.NET Interview Questions Pin
AmbiguousName6-Jun-11 6:50
AmbiguousName6-Jun-11 6:50 
Question$find() is not working Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 8:35
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 8:35 
gus;
I am creating an ajax control called 'AsyncScedular' that has a HashTable property. so, I decided to add the key-value pairs in a startup script block. this would be renderd as:

JavaScript
Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(AjaxServerControl1.AsyncScedular, {"LogMethod":"WriteLog"}, null, null, $get("ctl00_AsyncScedular1"));
});
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button2'] = AjaxServerControl1.Priority.AboveNormal;
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button3'] = AjaxServerControl1.Priority.Normal;
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button1'] = AjaxServerControl1.Priority.High;
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button6'] = AjaxServerControl1.Priority.RealTime;
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button4'] = AjaxServerControl1.Priority.Low;
$find('ctl00_AsyncScedular1').prioritytable['ctl00$ContentPlaceHolder1$Button5'] = AjaxServerControl1.Priority.BelowNormal;


But when I execute the page I get a null refertence retuned from $find() function. but after the page get loaded $find('ctl00_AsyncScedular1') returns a reference of type object.


I am wondering if you could help me with this.
Help people,so poeple can help you.

AnswerRe: $find() is not working Pin
Pete O'Hanlon3-Jun-11 9:58
mvePete O'Hanlon3-Jun-11 9:58 
GeneralRe: $find() is not working Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 10:09
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 10:09 
GeneralRe: $find() is not working Pin
Pete O'Hanlon3-Jun-11 10:11
mvePete O'Hanlon3-Jun-11 10:11 
GeneralRe: $find() is not working Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 10:19
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 10:19 
GeneralRe: $find() is not working Pin
Pete O'Hanlon3-Jun-11 10:40
mvePete O'Hanlon3-Jun-11 10:40 
GeneralRe: $find() is not working Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 10:47
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 10:47 
Questionwhat to use instead of ` Command Argument property`in a` gridview` When I create the gridview in client side using jquery? Pin
Ramin Morfi3-Jun-11 3:20
Ramin Morfi3-Jun-11 3:20 
AnswerRe: what to use instead of ` Command Argument property`in a` gridview` When I create the gridview in client side using jquery? Pin
Ali Al Omairi(Abu AlHassan)3-Jun-11 9:18
professionalAli Al Omairi(Abu AlHassan)3-Jun-11 9:18 
GeneralRe: what to use instead of ` Command Argument property`in a` gridview` When I create the gridview in client side using jquery? Pin
Ramin Morfi3-Jun-11 10:36
Ramin Morfi3-Jun-11 10:36 
Questionrefresh Pin
tanzeel853-Jun-11 2:10
tanzeel853-Jun-11 2:10 
AnswerRe: refresh Pin
shankysharma863-Jun-11 2:21
shankysharma863-Jun-11 2:21 
GeneralRe: refresh Pin
tanzeel853-Jun-11 2:33
tanzeel853-Jun-11 2:33 
GeneralRe: refresh Pin
Blue_Boy3-Jun-11 2:44
Blue_Boy3-Jun-11 2:44 
AnswerRe: refresh Pin
Monjurul Habib4-Jun-11 11:25
professionalMonjurul Habib4-Jun-11 11:25 
QuestionSend value to server side Pin
Elham M3-Jun-11 1:40
Elham M3-Jun-11 1:40 
AnswerRe: Send value to server side Pin
Not Active3-Jun-11 2:02
mentorNot Active3-Jun-11 2:02 
GeneralRe: Send value to server side Pin
Elham M4-Jun-11 9:39
Elham M4-Jun-11 9:39 

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.