Click here to Skip to main content
15,922,584 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Registry Key Pin
Prasadsm9-Dec-09 23:31
Prasadsm9-Dec-09 23:31 
GeneralRe: Registry Key Pin
Abhishek Sur10-Dec-09 0:40
professionalAbhishek Sur10-Dec-09 0:40 
AnswerRe: Registry Key Pin
dan!sh 9-Dec-09 23:18
professional dan!sh 9-Dec-09 23:18 
AnswerRe: Registry Key Pin
Abhijit Jana9-Dec-09 23:33
professionalAbhijit Jana9-Dec-09 23:33 
GeneralRe: Registry Key Pin
Prasadsm9-Dec-09 23:39
Prasadsm9-Dec-09 23:39 
GeneralRe: Registry Key Pin
Abhijit Jana9-Dec-09 23:43
professionalAbhijit Jana9-Dec-09 23:43 
QuestionNeed to Set Readonly Property to ChildControls Pin
Johndas9-Dec-09 20:26
Johndas9-Dec-09 20:26 
AnswerRe: Need to Set Readonly Property to ChildControls Pin
dan!sh 9-Dec-09 21:11
professional dan!sh 9-Dec-09 21:11 
You can loop through the control collection for the panel and set the ReadOnly property as true wherever applciable. You can make use of reflection instead of switch cases. Like this:

PropertyInfo propInfo = this.Controls[ctrlIndex].GetType().GetProperty("ReadOnly");
if(propInfo != null)
propInfo.SetValue(this.Controls[ctrlIndex], true, null);


In case the control does not has a ReadOnly property, you can check for Enabled.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

GeneralRe: Need to Set Readonly Property to ChildControls Pin
Abhishek Sur9-Dec-09 21:33
professionalAbhishek Sur9-Dec-09 21:33 
GeneralRe: Need to Set Readonly Property to ChildControls Pin
dan!sh 9-Dec-09 23:19
professional dan!sh 9-Dec-09 23:19 
GeneralRe: Need to Set Readonly Property to ChildControls Pin
Dinesh Mani10-Dec-09 0:26
Dinesh Mani10-Dec-09 0:26 
Questionmembership provider Pin
mylogics9-Dec-09 19:21
professionalmylogics9-Dec-09 19:21 
AnswerRe: membership provider Pin
_Damian S_9-Dec-09 20:29
professional_Damian S_9-Dec-09 20:29 
AnswerRe: membership provider Pin
CoderOnline9-Dec-09 21:12
CoderOnline9-Dec-09 21:12 
GeneralRe: membership provider Pin
mylogics9-Dec-09 23:03
professionalmylogics9-Dec-09 23:03 
GeneralRe: membership provider Pin
CoderOnline10-Dec-09 1:00
CoderOnline10-Dec-09 1:00 
AnswerRe: membership provider Pin
sashidhar9-Dec-09 21:15
sashidhar9-Dec-09 21:15 
QuestionCheckboxfield in GridView Pin
Illegal Operation9-Dec-09 13:58
Illegal Operation9-Dec-09 13:58 
AnswerRe: Checkboxfield in GridView Pin
Suresh Suthar9-Dec-09 17:33
professionalSuresh Suthar9-Dec-09 17:33 
GeneralRe: Checkboxfield in GridView Pin
Illegal Operation9-Dec-09 17:41
Illegal Operation9-Dec-09 17:41 
AnswerRe: Checkboxfield in GridView Pin
Abhijit Jana9-Dec-09 19:38
professionalAbhijit Jana9-Dec-09 19:38 
GeneralRe: Checkboxfield in GridView Pin
Anurag Gandhi9-Dec-09 19:48
professionalAnurag Gandhi9-Dec-09 19:48 
GeneralRe: Checkboxfield in GridView Pin
Abhijit Jana9-Dec-09 19:59
professionalAbhijit Jana9-Dec-09 19:59 
JokeRe: Checkboxfield in GridView Pin
sashidhar9-Dec-09 21:29
sashidhar9-Dec-09 21:29 
AnswerRe: Checkboxfield in GridView Pin
Anurag Gandhi9-Dec-09 19:45
professionalAnurag Gandhi9-Dec-09 19:45 

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.