I was wondering if we can attach ECB menu other than Title field in SharePoint 2010 list.
I was digging to properties that can be used with Fields and I found one.I was creating a list definition and I needed to add ECB menu to other field than the title. I already have one list definition project ready which I have deployed.
Below it the project screen shot and following is the resulting list in the site.
I was digging to properties that can be used with Fields and I found one.I was creating a list definition and I needed to add ECB menu to other field than the title. I already have one list definition project ready which I have deployed.
Below it the project screen shot and following is the resulting list in the site.
As you can
see only Title field gets the ECB menu, not the Order Name field. Let’s change
our list definition a little. Add two attributes to order name field.
And here we go,
deploy the solution again and you’ll see ECB menu attached to Order Name field.
No comments:
Post a Comment