Smart search filter disappears on postback

Magnus Söderström asked on December 14, 2018 12:11


I have a big problem which seems to be the first time ever encountered in Kentico history.

I have a smart search filter with check boxes. Postback is enabled and the values are correct. But when I press one of the boxes the whole web part disappears when page is reloaded. Only thing left is the label of the web part.

It only happens on the live site and not in my dev environment. The webapp is runs in Azure.

Recent Answers

Brenden Kehren answered on December 14, 2018 14:10

Do you have a form tag wrapped around your filter?

0 votesVote for this answer Mark as a Correct answer

Magnus Söderström answered on December 17, 2018 11:03

Hi Brenden!

No, there is no form tag around my filter.

I've checked all of the settings to see if it differs from my local machine and the live site. No difference there.

What I did find is that the form tag for the whole page has a onsubmit function on the live site not on my local machine: onsubmit="javascript:return WebForm_OnSubmit();" I don't know if that's normal?


0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.