source code

P

Peter Kirk

Hi there

is the source code for Microsoft's .net classes available for perusal?

What I am specifically interested in is the asp ListBox control - I want to
find out how they program it to accept a list of asp ListItems, which one
can declare on a webpage (as I wish to find out how to pass a list in a
similar fashion to my own control), for example:

<asp:ListBox id="list" runat="server">
<asp:ListItem text="text" value="value"/>
<asp:ListItem text="text" value="value"/>
</asp:ListBox>

So if anyone could help me there I would also be more than interested!

Thanks,
Peter
 
J

Jianwei Sun

Peter said:
Hi there

is the source code for Microsoft's .net classes available for perusal?

What I am specifically interested in is the asp ListBox control - I want to
find out how they program it to accept a list of asp ListItems, which one
can declare on a webpage (as I wish to find out how to pass a list in a
similar fashion to my own control), for example:

<asp:ListBox id="list" runat="server">
<asp:ListItem text="text" value="value"/>
<asp:ListItem text="text" value="value"/>
</asp:ListBox>

So if anyone could help me there I would also be more than interested!

Thanks,
Peter

I used the Reflector (http://www.aisto.com/roeder/dotnet/) to check the
source code, some times, it's not very easier to read the source code in
..Net without enough familiarity with some design patterns since they are
heavily applied in the framework.
 
G

Guest

Download yourself a free copy of Lutz Roeder's "Refelector" and you can
peruse to your heart's content.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top