I've created a Text Filter to filter a Data View Web Part based on the document name. The filter itself works great, but when the filter is empty, there are no results returned.

Does anyone know of a workaround? I'm not very good with XSL, so any of the solutions I've seen either don't work for me or I don't understand.

Paste of the code - http://pastebin.com/zB76Hbze


  • What you expect? If there is no any empty document name, it will return 0 result. – Viraj Gorajia Apr 29 '16 at 10:44
  • @VirajGorajia well I was hoping that if the filter was empty, it would show all documents – Jamie Brace Apr 29 '16 at 11:01

Your Answer

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

Browse other questions tagged or ask your own question.