Click here to Skip to main content
15,915,160 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondropdown list inside datalist control Pin
rahul.net1127-Sep-07 22:48
rahul.net1127-Sep-07 22:48 
AnswerRe: dropdown list inside datalist control Pin
Imran Khan Pathan27-Sep-07 22:54
Imran Khan Pathan27-Sep-07 22:54 
GeneralRe: dropdown list inside datalist control Pin
rahul.net1127-Sep-07 23:01
rahul.net1127-Sep-07 23:01 
GeneralRe: dropdown list inside datalist control Pin
Imran Khan Pathan27-Sep-07 23:10
Imran Khan Pathan27-Sep-07 23:10 
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 
Hi All,
How to disable all controls of the aspx page, when some condition occus?

I have done this thing manually. Like taking each and every control of page and setting it's propery as true.


<br />
if(status>=1)<br />
				{<br />
						txt_apply_for.Enabled = false;<br />
						input_type_repayment.Enabled = false;<br />
						input_loan_package.Enabled = false;<br />
						input_first_home_buyer.Enabled = false;<br />
						input_company_application.Enabled = false;<br />
						input_interest_rate.Enabled = false;<br />
}<br />
else<br />
{<br />
txt_apply_for.Enabled = true;<br />
					input_type_repayment.Enabled = true;<br />
					input_loan_package.Enabled = true;<br />
					input_first_home_buyer.Enabled = true;<br />
					input_company_application.Enabled = true;<br />
					input_interest_rate.Enabled = true;<br />
}<br />



But it is very tough when controls are more. Is there any other way or solution for this? Thank You

Keep Smiling...........Smile | :)
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 
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 

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.