1

I am customizing sharepoint search result web part and trying to render Ul and li tags, following are my control and item template html files

my control template

Control template

my item template

Item Template

result

result

but output file rendering some extra div elements inside UL tags, I don't want highlighted divs.

1

The Grouping divs are coming from the Group_Default.html file. If you want to remove those I would assume you'll have to edit the Group_Default.html file as well.

enter image description here

  • Can I configure my web part to not to use grouping at all? – Ali Jan 31 '16 at 23:41
  • I was wondering that too, but didn't see any such option. I think the functionality is there for things like Result Blocks? Not sure. – Robin Feb 3 '16 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.