|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to get CommandField and ButtonField in the toolbox?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? 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 > 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.) Hi;
Does this mean the best way to insert one is to be in source mode and just type it in? 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.) > > 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.) Oh... there it is - THANK YOU
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.) > > 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.)
Binding TextBox
Gridview custom sort - works but always sorts ascending Web UserControl (ascx) and UrlProperty attribute Perform insert to gridview/table DropDownlist problem Creating Dynamic controls Datalist formatting questions Searching a list box using a text box Adding client side code to RadioButtonList control item??? Detecting if client-side validation javascript is registered? |
|||||||||||||||||||||||