D
Dave
I created a simple custom control inherited from a GridView as a test...
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
namespace CustomControls
{
class CustomGridView : GridView
{
public string GetSomeValue()
{
return "Hello from custom control!";
}
}
}
The control appears in my toolbox of my web application but when I try to
drag it onto my webform, I get the error message.
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
namespace CustomControls
{
class CustomGridView : GridView
{
public string GetSomeValue()
{
return "Hello from custom control!";
}
}
}
The control appears in my toolbox of my web application but when I try to
drag it onto my webform, I get the error message.