Answered by:
RadioButtonlist server control

Question
-
User-1773948845 posted
When i see the details of RadioButtonlist control in the following i find many things which i am not able to understand.
RadioButtonList Constructor - >public RadioButtonList(); ? what i want to know to is how to use it and when to use it.
AccessKey (inherited from WebControl) ? i know how to use "AccessKey" But what does it mean "inherited from webcontrol
CellPadding ? i dont find this property is inherited from any class.Why is it like that.
DataMember (inherited from ListControl) ? i know what is a datamember ? But inherited from listcontrol. i know that listcontrol is a class which as listitem
Public Methods
DataBind (inherited from Control) ? i know about databind but still not known "inherited from control"
Public Events
Load (inherited from Control) could understand what is load event. but how exactly this is used and how an application can be benfitted.
Protected Properties
TagKey (inherited from WebControl). how to see this protected porperty in vs 2003 when i add the radiobuttonlist to the form.
Explanation to these controls will make to us understand the basic functionality and the common mistakes could be avoided
Thursday, July 5, 2007 6:25 AM
Answers
-
User445179017 posted
Reflector is a tool by Lutz Roeder and you can find it here http://www.aisto.com/roeder/dotnet/
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 9, 2007 1:42 AM
All replies
-
User-294030300 posted
Hey,
The public constructor is useful when you are creating a radiobuttonlist in a custom control, or if you are dynamically adding it to the page. If you create a radiobuttonlist in the ASPX markup, the constructor will be called for you, so you don't need to manually create the object. "Inherited from Control|Web Control" means exactly that; that the property was defined in the WebControl or Control class, which RadioButtonList inherits from. CellPadding is a property used to allow spacing between each radio button entry. Datamember is a property that you specify for objects like the dataset. DataSet can have multiple tables, and datamember allows you to specify the name of the table you want to bind to. Load fires whenever the control is loaded, so if you need to do something after the control is loaded, you can tap into this event, then perform whatever you need to do. I don't usually use it at all at the control level, but at the page level. TagKey is the name of the html tag that the radiobuttonlist represents. Being protected, that is something you can't change and don't really need to worry about it anyway.
Thursday, July 5, 2007 7:49 AM -
User-1773948845 posted
is it possible to find the how the web control and control class is defined.
Friday, July 6, 2007 1:05 AM -
User-294030300 posted
Sure, look in the documentation, or use a tool like Reflector. If you google Reflector, it comes right up. It's a very, very good tool to help you understand the .NET framework.
Friday, July 6, 2007 9:22 PM -
User445179017 posted
For most of your questions, you need to know what is Inheritance.
Check these articles
http://www.4guysfromrolla.com/webtech/022001-1.shtml
http://west-wind.com/weblog/posts/3016.aspx
ThanksSaturday, July 7, 2007 3:28 AM -
User-1773948845 posted
is Reflector tool is online or work withs visual studio.
please tell how Reflector is used.
Monday, July 9, 2007 12:33 AM -
User445179017 posted
Reflector is a tool by Lutz Roeder and you can find it here http://www.aisto.com/roeder/dotnet/
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, July 9, 2007 1:42 AM