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. Image for the cookie policy date

Syntax for adding commands to a colum

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.

1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team December 23, 2016 10:20 AM UTC

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. 


Loader.
Up arrow icon