I have a cs file called MyCustomColumnClass.cs on App_Code folder.
It has a public class called MyCustomFilteringColumn : GridBoundColumn
The namespace is MyStuff.
on an aspx page
if (column is MyStuff.MyCustomFilteringColumn)
{
(column as MyStuff.MyCustomFilteringColumn).ListDataSource =
GetFilterTable(column.DataField);
}
Error:
MyStuff could not be found (are you missing a using directive or an assembly reference?)
Also make sure the the file
MyCustomColumnClass.cshas theBuild action: compileproperty set on. If I’m not mistaken files thrown into App_Code folder get this by default but check it anyway.