We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

OPen Record in "Edit.chtml"

Thread ID:

Created:

Updated:

Platform:

Replies:

110956 Sep 2,2013 07:50 AM Jan 8,2014 07:52 AM ASP.NET MVC (Classic) 4
loading
Tags: Grid
Abdul Abdulai
Asked On September 2, 2013 07:50 AM

Hi
I would like to open a selected record in my own form eg. Edit.chtml for editing when I click the link below in my grid but I can't seem to find how to do it

 column.Add("Actions", col =>
                             {
                                 col.Commands(cmd =>
                                 {
                                     cmd.Command(CommandTypes.Edit).Text("Edit").ImageUrl(Url.Content("~/Content/Images/Edit.png")).ItemType((UnBoundItemTypes)Convert.ToInt32(ViewData["UnBoundItemTypes"])).ItemOption((UnboundItemOptions)Convert.ToInt32(ViewData["UnboundItemOptions"]));
                                 });

Many thanks

Zak

Abdul Abdulai
Replied On September 3, 2013 06:35 PM

Hi,

Can someone please help me with this issue.

Many thanks

 AA

Bala Murugan A.S [Syncfusion]
Replied On September 4, 2013 03:15 AM

Hi Abdul Abdulai,

 

Thanks for using Syncfusion Products.

 

We suggest you to use DialogTemplate editing with unbound column to achieve your requirement. We have prepared a simple sample to demonstrate this and the same can be downloaded from the below link.

 

Sample: DialogEditing.zip

 

Online documentation link:

http://help.syncfusion.com/ug/asp.net%20mvc/grid/documents/editmodeconfiguratio.htm

http://help.syncfusion.com/ug/asp.net%20mvc/grid/documents/unboundcolumnediting.htm

 

Online sample link:

http://mvc.syncfusion.com/demos/ui/grid/Editing/DialogEdit

 

Please let us know if you need any further assistance.

 

Regards,

Bala Murugan A.S


Jean Domagni
Replied On January 6, 2014 12:57 PM

Hi Bala Murugan,
Can you make the sample zip project available for download again?
I tried to download it but it wont let me.

Thanks

Hariharan J V [Syncfusion]
Replied On January 8, 2014 07:52 AM

Hi Jean Domagni,

 

Thanks for your update.

 

We have created a sample for your requirement("Dialog Template editing with unbound column") and the same sample can be downloaded from the below link.

 

Sample: MvcApplication11.zip

 

Please let us know if you need any further assistance.

 

Regards,

Hariharan J.V.

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;