Click here to Skip to main content
15,916,180 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: dropdown list inside datalist control Pin
rahul.net1127-Sep-07 23:36
rahul.net1127-Sep-07 23:36 
GeneralRe: dropdown list inside datalist control Pin
Imran Khan Pathan28-Sep-07 0:00
Imran Khan Pathan28-Sep-07 0:00 
GeneralRe: dropdown list inside datalist control Pin
rahul.net1128-Sep-07 0:38
rahul.net1128-Sep-07 0:38 
QuestionHow to disable all controls of aspx page Pin
That's Aragon27-Sep-07 22:46
That's Aragon27-Sep-07 22:46 
AnswerRe: How to disable all controls of aspx page [modified] Pin
Parwej Ahamad27-Sep-07 22:54
professionalParwej Ahamad27-Sep-07 22:54 
GeneralRe: How to disable all controls of aspx page Pin
That's Aragon27-Sep-07 23:15
That's Aragon27-Sep-07 23:15 
GeneralRe: How to disable all controls of aspx page Pin
Christian Graus27-Sep-07 23:16
protectorChristian Graus27-Sep-07 23:16 
GeneralRe: How to disable all controls of aspx page Pin
Christian Graus27-Sep-07 23:15
protectorChristian Graus27-Sep-07 23:15 
Wow.

You're on the right track, and yet so far from it. The base class, Control, has the enabled property. The casting you're doing is totally superfluous, and makes the code messy.

Also, don't use 'is' and then cast. Use 'as' and use the result.

finally, the method needs to be recursive for it to work across the page.



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: How to disable all controls of aspx page Pin
John-ph27-Sep-07 23:25
John-ph27-Sep-07 23:25 
GeneralRe: How to disable all controls of aspx page Pin
Parwej Ahamad27-Sep-07 23:28
professionalParwej Ahamad27-Sep-07 23:28 
GeneralRe: How to disable all controls of aspx page Pin
That's Aragon27-Sep-07 23:50
That's Aragon27-Sep-07 23:50 
AnswerRe: How to disable all controls of aspx page Pin
John-ph27-Sep-07 23:17
John-ph27-Sep-07 23:17 
QuestionProblem in Javascript Pin
Vanamaindia27-Sep-07 21:27
Vanamaindia27-Sep-07 21:27 
AnswerRe: Problem in Javascript Pin
Christian Graus27-Sep-07 21:36
protectorChristian Graus27-Sep-07 21:36 
Questionsoposed that i have tree node Pin
Piyush Vardhan Singh27-Sep-07 21:23
Piyush Vardhan Singh27-Sep-07 21:23 
AnswerRe: soposed that i have tree node [modified] Pin
Parwej Ahamad27-Sep-07 22:45
professionalParwej Ahamad27-Sep-07 22:45 
GeneralRe: soposed that i have tree node Pin
Piyush Vardhan Singh27-Sep-07 23:13
Piyush Vardhan Singh27-Sep-07 23:13 
GeneralRe: soposed that i have tree node Pin
Parwej Ahamad27-Sep-07 23:15
professionalParwej Ahamad27-Sep-07 23:15 
GeneralRe: soposed that i have tree node Pin
Piyush Vardhan Singh28-Sep-07 0:14
Piyush Vardhan Singh28-Sep-07 0:14 
QuestionJavaScript in Asp.net Problem Pin
Vanamaindia27-Sep-07 21:10
Vanamaindia27-Sep-07 21:10 
AnswerRe: JavaScript in Asp.net Problem Pin
Sebastian T Xavier27-Sep-07 21:21
Sebastian T Xavier27-Sep-07 21:21 
QuestionHow to Display This?? Pin
varshavmane27-Sep-07 20:42
varshavmane27-Sep-07 20:42 
AnswerRe: How to Display This?? Pin
Christian Graus27-Sep-07 21:38
protectorChristian Graus27-Sep-07 21:38 
GeneralRe: How to Display This?? Pin
varshavmane27-Sep-07 21:48
varshavmane27-Sep-07 21:48 
GeneralRe: How to Display This?? Pin
Christian Graus27-Sep-07 21:56
protectorChristian Graus27-Sep-07 21:56 

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.