Hi ,
I am trying to understand how to use a GridButtonColumn as an Edit button to display my FormTemplate. A few questions. When I use it, the form magicaly appears. Thats great, but the control freak in me is puzzled. I would like to control when it displays the form ?
1) When I use a GridButtonColumn, I see it comming into the ItemCommand event, but it disappears, then the form appears. Is it the CommandName, CommandArgument or UniqueName that goes somewhere beyond that to display the actual form ? What events, properties or code is used to turn on a FormTemplate ? Perhaps the code that turns on the form is expecting a certain combination of CommandName, CommandArgument or even UniqueName ? Or maybe on of the 'on' properties (onInsert, onUpdate, etc) in combination with ?
2) Is it just good Telerik to always use the GridEditCommandColum for this ?
3) Why is there no GridDeleteCommandColumn or is the GridEditCommandColumn used for delete - I see there are delete like properties there ? And I have seen code to that effect - Is this the standard ?
4) Is there any documentation explaining the how, why and when for the use of the GridEditCommandColumn vs GridButtonColumn ? Or is the GridButtonColumn intended for all other button uses except Edit and Delete ?
5) There is some code that requires a UniqueID, but the GridEditCommandColum and GridButtonColumn only have the UniqueName.
Sorry, looks like I have 10 "?" for 5 question Items :-)
When I test changing CommandName, CommandArgument or even UniqueName in certain combinations, I am beginning to think there is a conflict of sorts when I use a GridButtonColumn for Edit vs a GridEditCommandColumn to display the form.
thanks,
David
I am trying to understand how to use a GridButtonColumn as an Edit button to display my FormTemplate. A few questions. When I use it, the form magicaly appears. Thats great, but the control freak in me is puzzled. I would like to control when it displays the form ?
1) When I use a GridButtonColumn, I see it comming into the ItemCommand event, but it disappears, then the form appears. Is it the CommandName, CommandArgument or UniqueName that goes somewhere beyond that to display the actual form ? What events, properties or code is used to turn on a FormTemplate ? Perhaps the code that turns on the form is expecting a certain combination of CommandName, CommandArgument or even UniqueName ? Or maybe on of the 'on' properties (onInsert, onUpdate, etc) in combination with ?
2) Is it just good Telerik to always use the GridEditCommandColum for this ?
3) Why is there no GridDeleteCommandColumn or is the GridEditCommandColumn used for delete - I see there are delete like properties there ? And I have seen code to that effect - Is this the standard ?
4) Is there any documentation explaining the how, why and when for the use of the GridEditCommandColumn vs GridButtonColumn ? Or is the GridButtonColumn intended for all other button uses except Edit and Delete ?
5) There is some code that requires a UniqueID, but the GridEditCommandColum and GridButtonColumn only have the UniqueName.
Sorry, looks like I have 10 "?" for 5 question Items :-)
When I test changing CommandName, CommandArgument or even UniqueName in certain combinations, I am beginning to think there is a conflict of sorts when I use a GridButtonColumn for Edit vs a GridEditCommandColumn to display the form.
thanks,
David