Adding extra attribute / event to web control
-
:eek: Is it possible to add our own attribute / events to web control (if it is not supporting) to increase functionality
-
:eek: Is it possible to add our own attribute / events to web control (if it is not supporting) to increase functionality
Yes, you derive a class from the web control and add the properties. The following article on MSDN gives you a starting point, it uses the generic Control as the base, but you can derive from other existing controls as well. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwalkthroughdevelopingsimplewebformscontrol.asp[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar The Second EuroCPian Event will be in Brussels on the 4th of September Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way! My Blog