Grid column filter disappear

First time loading, my page display the column filter but whenever I click the Filter button and reload the XML, the column filter disappear.
I’m unable to find solutions to this problem, appreciate help from Support.

Before screen

After screen

	Response.Write("<head>")
	Response.Write("<beforeInit>")
		Response.Write("<call command='attachHeader'>")
		Response.Write("<param>")
			Response.Write(",#text_filter,#text_filter,#text_filter,#text_filter,,")
		Response.Write("</param>")
		Response.Write("</call>")
	Response.Write("</beforeInit>")

	Response.write("<column id='column1' width='30' type='ch' align='center' sort='int'>")
		Response.write("")  
	Response.write("</column>")
	Response.write("<column id='column2' width='200' type='link' align='left' sort='str'>")
		Response.write(strColumnName1)  
	Response.write("</column>")
	Response.write("<column id='column3' width='500' type='ro' align='left' sort='str'>")
		Response.write(strColumnName2)  
	Response.write("</column>")
	Response.write("<column id='column4' width='150' type='ro' align='left' sort='str'>")
		Response.write(strColumnName3)  
	Response.write("</column>")
	Response.write("<column id='column5' width='150' type='ro' align='left' sort='str'>")
		Response.write(strColumnName4)  
	Response.write("</column>")
	Response.Write("</head>")

but whenever I click the Filter button and reload the XML
With which code do you reload the XML? Make sure you are using:

grid.clearAll(true)