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.

Syntax for adding commands to a colum

Thread ID:

Created:

Updated:

Platform:

Replies:

127991 Dec 22,2016 07:04 PM Dec 23,2016 05:20 AM ASP.NET Core 1
loading
Tags: Grid
R Brian Lindahl
Asked On December 22, 2016 07:04 PM

I'm migrating an existing MVC 5 app to core, and several of my grids have command columns. I tried this:

<e-column header-text="Orders" text-align="Center" width="60">
      <e-commands>
        <e-command type="edit1" >
          <e-button-options text="Edit"
                            width="32px"
                            click="onStandingClick"
                           
                            content-type="ImageOnly"
                            prefix-icon="glyphicon glyphicon-user"
                            enabled="@Model.EditOrders" />
        </e-command>
 ...

I get an ArgumentNullException inside one of the tag handlers. I can't tell exactly which element is giving it the problem, but somewhere "output.TagName" is null when it shouldn't be. Am I doing anything strange in the markup?

Also, it'd be very nice, especially in a command but also elsewhere, if the "Title" html attribute would be more accessible. It's a pain to have to create a dictionary and pass it to the html attributes tag.

Venkatesh Ayothi Raman [Syncfusion]
Replied On December 23, 2016 05:20 AM

Hi Brian, 
Thanks for contacting Syncfusion support. 
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.   
  
Regards, 
Venkatesh Ayothiraman. 


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.

;