Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class or User Control or what?
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Class or User Control or what?
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316015
Message ID:
01316015
Views:
59
Hi everybody,

I'm wondering how we should approach this problem in .NET.

I have two very similar WEB pages (in fact, I created the second Page by just copying the first and then making the changes).

These two pages have the GridView which is the same in appearance (HTML) and Events except for the DataSource.

In VFP I would simply save this grid as a class and figure out a way to use different Data Source.

What are my options in .NET and how can I convert this GridView into the common control?

Also I added some code in RowCreated method that highlights the GridView record on mouseover. I'd like to somehow carry this functionality to all Grids used in the application (the pages are already designed).

How should I approach this problem?

Thanks a lot in advance for the ideas and some guidance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform