source code

  • Thread starter Thread starter Peter Kirk
  • Start date Start date
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
 
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.
 
Download yourself a free copy of Lutz Roeder's "Refelector" and you can
peruse to your heart's content.
Peter
 
Back
Top