W
walter
Hi there, I guess it maybe easy for you-- I create a custome control
inherited from GridView, But when I start to use in the page , in vs2005 , I
lose the intellisense for anthing in <columns> tag. It's not a big deal, but
it's relatively painful when you know you can do it in GridView.
I use the reflector to check the source code in GridView and notice that
there are 4 interfaces for PostBack and CallBack implementated by GridView
which I guess it's nothing to do intellisense.Following is the simple code:
[ToolboxData("<{0}:MyGrid runat=server></{0}:MyGrid >")]
[ToolboxBitmap(typeof(MyGrid ), "Resources.Table.ico")]
public class MyGrid : GridView
{....}
Appreciate any comment.
inherited from GridView, But when I start to use in the page , in vs2005 , I
lose the intellisense for anthing in <columns> tag. It's not a big deal, but
it's relatively painful when you know you can do it in GridView.
I use the reflector to check the source code in GridView and notice that
there are 4 interfaces for PostBack and CallBack implementated by GridView
which I guess it's nothing to do intellisense.Following is the simple code:
[ToolboxData("<{0}:MyGrid runat=server></{0}:MyGrid >")]
[ToolboxBitmap(typeof(MyGrid ), "Resources.Table.ico")]
public class MyGrid : GridView
{....}
Appreciate any comment.