Thanks for those links, but the SuperDataGrid seems to
come only as a dll and I guess that the source code is
only available in the book. Let me explain what I tried so
far. I extended the datagrid web server control, with some
functions and methods. Overall it works, but the problem
is now that when I call the MyCustomDatagrid.columns.count
() from my webform then it is always 0. Although I can see
the columns very clearly in IE. Can you help me out and
tell me please what I am missing here? I would really
appreciate any help, since I am stuck with this.
Thanks
[quoted text, click to view] >-----Original Message-----
>Here's the lowdown on how to inherit and extend web
controls:
>
http://SteveOrr.net/Articles/InheritAndExtend.aspx >
>You might also want to take a look at the SuperDataGrid
control, which
>extends the datagrid:
>
http://superexpert.com/default.aspx?id=427 >The SuperDataGrid control is explained in detail in
Stephen Walther's book
>ASP.NET Unleashed:
>
http://www.amazon.com/exec/obidos/redirect? tag=steveorrnet-20&path=ASIN%2F067232542X%2Fqid%
3D1105408282%2Fsr%3D2-1%2Fref%3Dpd_ka_b_2_1
[quoted text, click to view] >
>--
>I hope this helps,
>Steve C. Orr, MCSD, MVP
>
http://SteveOrr.net >
>
>
>"Vishal" <anonymous@discussions.microsoft.com> wrote in
message
>news:026801c51563$baae2e10$a501280a@phx.gbl...
>> Hello
>>
>> I would like to know what methods/events I have to
>> override to extend any webserver control. I actually
need
>> to extend the datagrid control, but the basics should be
>> same for all, right? What are the basic required events,
>> which I have to insert for each control? I have never
>> created my own web server control. But I do need one.
Any
>> help is very appreciated.
>>
>> Thanks
>
>
>.