Home All Groups Group Topic Archive Search About

How to get CommandField and ButtonField in the toolbox?

Author
16 Mar 2006 9:08 PM
David Thielen
Hi;

I went to add CommandField and ButtonField to the toolbox, but they are not
in the list of controls to add. How can I add them?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Author
16 Mar 2006 10:03 PM
Phillip Williams
I do not think you can do that because the CommandField is only available to
include within templated controls such as the GridView.  You cannot, for
example, drag it and position it any where within the form.
Show quoteHide quote
"David Thielen" wrote:

> Hi;
>
> I went to add CommandField and ButtonField to the toolbox, but they are not
> in the list of controls to add. How can I add them?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
Author
17 Mar 2006 3:12 AM
Steven Cheng[MSFT]
Hi Dave,

I agree with Phillip that CommandField or ButtonField are not standalone
controls which can be used as top level controls on webform. They're used
in specific control context (e.g in gridview as column member). So they're
not designed to be listed in toolbox like other webserver controls.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Author
17 Mar 2006 3:29 AM
David Thielen
Hi;

Does this mean the best way to insert one is to be in source mode and just
type it in?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com



Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Hi Dave,
>
> I agree with Phillip that CommandField or ButtonField are not standalone
> controls which can be used as top level controls on webform. They're used
> in specific control context (e.g in gridview as column member). So they're
> not designed to be listed in toolbox like other webserver controls.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
Author
17 Mar 2006 6:26 AM
Steven Cheng[MSFT]
Yes, type in the the source view is very convenient since VS 2005 ide
provide rich intellisense support for web page's source view. also, in
design-view, we can also use the smartTag (edit columns) to edit the
columns in GridView visually.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Author
17 Mar 2006 4:58 PM
David Thielen
Oh... there it is - THANK YOU

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com



Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Yes, type in the the source view is very convenient since VS 2005 ide
> provide rich intellisense support for web page's source view. also, in
> design-view, we can also use the smartTag (edit columns) to edit the
> columns in GridView visually.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
Author
20 Mar 2006 1:41 AM
Steven Cheng[MSFT]
You're welcome Dave,

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)