DataView name conflict
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
DataView name conflict
Subscribe
Last Login: 5/28/2010 6:37:27 AM
Posts: 60,
Posted 3/26/2009 7:22:14 AM

Group: Coolite Premium Member & Early Adopter
Given that System.Data has DataView class and that System.Data is commonly a default imported namespace, renaming the Coolite.Ext.Web.DataView would, in my opinion, be a good move.
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 3/27/2009 11:22:32 AM

Group: Core Development Team
Hi Justin,

We can't rename the DataView control, but I can offer a couple options to work around any nameing conflicts. 

Modified using statement:

using DataView = Coolite.Ext.Web.DataView;

Using the fully qualified namespace:

Coolite.Ext.Web.DataView view = new Coolite.Ext.Web.DataView();

Hope this helps.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 5/28/2010 6:37:27 AM
Posts: 60,
Posted 3/28/2009 3:00:39 AM

Group: Coolite Premium Member & Early Adopter

I understand renaming the class is not really feasable now, I was coming at
it more from the side of having to use the fully qualified namespace
System.Data.DataView everywhere (I don't use Coolite DataView anywhere at
present). Anyway, was just a thought.


(Also IE8 isn't letting me post here - get "The board administrator has requested that you must provide some message
content within your post. You cannot post only HTML, Images, EmotIcons or
IFCode." - don't know if that's just me as first time using IE in a while)

« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 1:41pm