Custom controls and misc thingies...

Published 07 November 05 08:33 PM

Aziz posted reply to my previous post... If you look at the code of a custom control, you will find some useful information as attributes on the top of the class. For example, check out...

/// <summary>
/// Summary description for MyTextBox.
/// </summary>
[DefaultProperty("Text"),
ToolboxData("<{0}:MyTextBox runat=server></{0}:MyTextBox>")]

public class MyTextBox : System.Web.UI.WebControls.WebControl

I think using reflections one can read the attributes... from there you can generate the XML. Play around with it and I will love to see post about it on your blog.

And about Ayy Bee's comments, comeon yaar... my life with computer is tightly coupled and computers being my profession I got no escape. So why keep two separate blogs?

Still gotta discuss two things...

And a question I am asking everybody today... Will it rain in November?

Enjoy November Rain by GnR.

Anonymous comments are disabled