Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is better?
Message
From
08/04/2008 10:35:55
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01308825
Message ID:
01309005
Views:
11
I won't be able to help you much there Naomi ... I'm not sure how much similar or different this sort of thing will be with ASP.NET vs. WinForms. I know you can sub-class your GridView class, I just don't know about where to put it and stuff like that.

~~Bonnie




>>Hi Naomi,
>>
>>Sorry if I doubted your understanding, you "get it" ok. Just don't refer to "calling" an event handler next time. <g>
>>
>>>For me this sounds like we may want to have a GridView class instead of the current implementation.
>>
>>You should always be working with your own base classes, which are sub-classed from the .NET classes ... just like we did in VFP. <g>
>>
>
>That's the part I'm still lacking in the actual implementation technique despite your previous post to me (need to locate it again). Right now I'm re-reading some of the older threads on the topic and also going to check few books I have here (one is by MacDonald ASP.NET in a nutshell).
>
>>If this functionality is something that you would want in all the grids in your application, then yeah, put it in your MyGridView class. If you only need it for this page and no where else, then you have two choices. Doing it in the event handler like you currently are, or sub-classing your MyGridView class to use here (and put it in your second sub-class).
>>
>
>I like this for all grids, but this would mean we need to re-point pages to the new control (class) once created.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform