Click here to Skip to main content
15,925,440 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Extend Atlas Pin
minhpc_bk30-Jun-06 17:37
minhpc_bk30-Jun-06 17:37 
GeneralRe: Extend Atlas Pin
YossiKahlon1-Jul-06 0:10
YossiKahlon1-Jul-06 0:10 
Questionlongitude & latitude (Urgent) Pin
kirthikirthi30-Jun-06 9:48
kirthikirthi30-Jun-06 9:48 
AnswerRe: longitude & latitude (Urgent) [modified] Pin
eggsovereasy30-Jun-06 9:51
eggsovereasy30-Jun-06 9:51 
QuestionViewstate within a control Pin
Lord Nelly30-Jun-06 9:22
Lord Nelly30-Jun-06 9:22 
AnswerRe: Viewstate within a control Pin
minhpc_bk30-Jun-06 17:04
minhpc_bk30-Jun-06 17:04 
GeneralRe: Viewstate within a control Pin
Lord Nelly1-Jul-06 5:46
Lord Nelly1-Jul-06 5:46 
GeneralRe: Viewstate within a control Pin
minhpc_bk1-Jul-06 8:42
minhpc_bk1-Jul-06 8:42 
Basically, the FindControl method searchs for a specified control only within the scope of the current naming container. You now have a look at the your sample code again, you will see that the FindControl method in the Page_Load handler looks for the Calendar1 control in the scope of the Page instance whereas the Calendar1 is in the ContentPlaceHolder which is another naming container. So you first need to get reference to the ContentPlaceHolder control, then call its FindControl method to search for the Calendar1 in the scope of the ContentPlaceHolder. For more information, you can see Accessing ASP.NET Controls Programmatically [^]
QuestionWorking With AJAX Pin
ravindradonkada30-Jun-06 8:28
ravindradonkada30-Jun-06 8:28 
AnswerRe: Working With AJAX Pin
YossiKahlon30-Jun-06 13:15
YossiKahlon30-Jun-06 13:15 
GeneralRe: Working With AJAX Pin
RichardGrimmer4-Jul-06 3:09
RichardGrimmer4-Jul-06 3:09 
AnswerRe: Working With AJAX Pin
Tirthadip30-Jun-06 19:08
Tirthadip30-Jun-06 19:08 
QuestionHow to Restrict Selected Webforms Pin
ravindradonkada30-Jun-06 8:07
ravindradonkada30-Jun-06 8:07 
AnswerRe: How to Restrict Selected Webforms Pin
minhpc_bk30-Jun-06 17:07
minhpc_bk30-Jun-06 17:07 
QuestionASP.NET Menu is flaky Pin
gantww30-Jun-06 8:03
gantww30-Jun-06 8:03 
AnswerRe: ASP.NET Menu is flaky - now I'm more confused Pin
gantww30-Jun-06 8:17
gantww30-Jun-06 8:17 
GeneralRe: ASP.NET Menu is flaky - now I'm more confused Pin
gantww30-Jun-06 10:11
gantww30-Jun-06 10:11 
QuestionIndex 0 is not non-negative ! Pin
xuzia30-Jun-06 7:44
xuzia30-Jun-06 7:44 
AnswerRe: Index 0 is not non-negative ! Pin
Dustin Metzgar30-Jun-06 8:02
Dustin Metzgar30-Jun-06 8:02 
AnswerRe: Index 0 is not non-negative ! Pin
Guffa30-Jun-06 8:04
Guffa30-Jun-06 8:04 
QuestionCalender control using jscript Pin
Arun Hegde30-Jun-06 7:14
Arun Hegde30-Jun-06 7:14 
AnswerRe: Calender control using jscript Pin
minhpc_bk30-Jun-06 17:18
minhpc_bk30-Jun-06 17:18 
QuestionFile download prompt Pin
eggie530-Jun-06 6:15
eggie530-Jun-06 6:15 
AnswerRe: File download prompt Pin
Frank Kerrigan30-Jun-06 6:28
Frank Kerrigan30-Jun-06 6:28 
QuestionCapturing an image of a PDF? Pin
Goalie3530-Jun-06 5:40
Goalie3530-Jun-06 5:40 

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.