P
Paulraj Thomas
Hi all
I'm looping through all the controls in the webform and setting properites dynamically by identifying th
type of control using the Get.Type(). I can find out all the controls correctly except checkboxlist control
which is returning the type wrong as "System.Web.UI.WebControls.CheckBox" instead of "System.Web.UI.WebControls.CheckBox" In this scenario, i need to differciate between Checkbox and
CheckboxList. Is the known bug in asp.net or there is any other way i can get control type. Let me know.
Here is the code how i'm getting the control type in the loop
ctlType = ctrlCurrent.GetType().ToString(
Thanks
Paul
I'm looping through all the controls in the webform and setting properites dynamically by identifying th
type of control using the Get.Type(). I can find out all the controls correctly except checkboxlist control
which is returning the type wrong as "System.Web.UI.WebControls.CheckBox" instead of "System.Web.UI.WebControls.CheckBox" In this scenario, i need to differciate between Checkbox and
CheckboxList. Is the known bug in asp.net or there is any other way i can get control type. Let me know.
Here is the code how i'm getting the control type in the loop
ctlType = ctrlCurrent.GetType().ToString(
Thanks
Paul