Re: Global Name for TreeView
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Jul 2006 07:37:57 -0500
You could, potentially, write a class that could be used in both, but the
amount of coding already done in the framework is lost. You would have to
have hte component figure out where it was (configuration would be easiest,
possibly through reflection on its parent, etc.), but it would cost more
time than coding two components.
My suggestion: Move all but the binding info to a class library and code two
GUI components that use the underlying component. It gives you the most
reuse and makes the job a bit easier to complete.
--
Gregory A. Beamer
*************************************************
Think Outside the Box!
*************************************************
"mr.Hyde" <galileon@xxxxxxxxxxxxxx> wrote in message
news:e8g7pr$ksf$1@xxxxxxxxxxxxxxx
Hi,
My component is working with databse,
one of method fills treeview and
I want to use it in ASP and WinForms also,
but if I join using System.Windows.Forms to this component
will can't use it in ASP and webforms vice'versa,
How I should to do this?
Thanx for help.
Hyde
.
- References:
- Global Name for TreeView
- From: mr.Hyde
- Global Name for TreeView
- Prev by Date: Re: Callback ClientScriptManager.RegisterForEventValidation
- Next by Date: Re: Help Session Varable Disappeared (asp.net 2.0)
- Previous by thread: Global Name for TreeView
- Next by thread: Scheda ASP.NET in IIS
- Index(es):
Relevant Pages
|
Loading