2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / CollectionDataSource.cs
index 8b22f01dbb5f85e3b50abe10b729ae2072604b9c..6819a7c94f21e4cfffc5b4c9b0f51d10e6504cf0 100644 (file)
@@ -56,7 +56,7 @@ namespace System.Web.UI.WebControls
                
                public DataSourceView GetView (string viewName)
                {
-                       return new CollectionDataSourceView (collection);
+                       return new CollectionDataSourceView (this, viewName, collection);
                }
                
                public ICollection GetViewNames ()
@@ -69,7 +69,8 @@ namespace System.Web.UI.WebControls
        {
                IEnumerable collection;
 
-               public CollectionDataSourceView (IEnumerable collection)
+               public CollectionDataSourceView (IDataSource owner, string viewName, IEnumerable collection)
+               : base (owner, viewName)
                {
                        this.collection = collection;
                }