Textbox going to blank in custom filter after postback

TRISHUL TANDEL asked on July 6, 2017 20:43

Textbox going to blank in custom filter after postback.

I have a LocalizedDropDownList added but its value not going to blank but CMSTextBox its going to blank after post back

Correct Answer

TRISHUL TANDEL answered on July 7, 2017 15:50

The problem was that in ASCX code is not valid. It contains a element, which is not a valid element in ASCX - the whole page is already wrapped in a tag, and nested tags are not allowed. Please try to remove the tag from your code.

I have removed <form> tag and my issue is resolved. Thanks to kentico support team for quick and correct response.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Trevor Fayas answered on July 7, 2017 15:33

Slight confusion, you have a Drop Down List but the Textbox is going blank? Are you using a TextBox filter (text input) or are you using a Drop Down Filter?

In which case, after postback, do the values of your drop down change at all? As long as it finds an index on that drop down it should be setting properly, however without seeing your code it's hard to know if there's something else occurring.

0 votesVote for this answer Mark as a Correct answer

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