Site structure
Version 3.x > Site structure > How to add Edit/Delete to querydatagrid? View modes: 
User avatar
Member
Member
eagleag-yahoo - 2/3/2009 5:55:49 AM
   
How to add Edit/Delete to querydatagrid?
Hi, (using Kentico 4)

I'm using querydatagrid (Grid with custom query) to display a query I created.
I would like to have and Edit/Delete button neat to each line.
I only need the Edit/delete to affect one Document Type.

I'm open to suggestions on which web part to use.
Main issue is that I need to use a custom query.

THANKS

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/3/2009 8:17:53 AM
   
RE:How to add Edit/Delete to querydatagrid?
Hi,

The only option is to develop custom control with the buttons you want. There is no functionality for this in the default web parts/controls.


Best Regards,
Juraj Ondrus

User avatar
Member
Member
eagleag-yahoo - 2/3/2009 8:30:08 AM
   
RE:How to add Edit/Delete to querydatagrid?
Is there a way to add DELETE to the transformations, that wy each line would have a delete at the end of it.
Is this possible?
thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/4/2009 2:36:18 AM
   
RE:How to add Edit/Delete to querydatagrid?
Hi,

You can add the button to the transformation as usual - <asp:Button....
And of course, you need to implement the action logic for this button.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
eagleag-yahoo - 2/5/2009 4:51:36 AM
   
RE:How to add Edit/Delete to querydatagrid?
thsnks.

Ive added the asp button and no want to add action in code behind. Ive checked out the file but cant find it in visual stuido.
this is the pasth it tell me its in: CMSTransformations\custom\

using kentico4.

any ideas?

User avatar
Member
Member
eagleag-yahoo - 2/5/2009 5:21:54 AM
   
RE:How to add Edit/Delete to querydatagrid?
sorry for that question. a bit tired and forgot to refresh solution explorer.
thanks