The callback parameter is invalid. Enable event verification in configuration or on the page. For security purposes, this function verifies whether the parameters of the send-back or callback events come from the server controls that initially present these events. If the data is valid and is expected, use the clientscriptmanager. registerforeventvalidation method to register the sending back or callback data for verification.
This problem occurs during development in the past two days. The callback or callback parameters are invalid. Use <pages enableeventvalidation = "true"/> in the configuration, or use <% @ page enableeventvalidation = "true" %> On the page to enable event verification. For security purposes, this function verifies whether the parameters of the send-back or callback events come from the server controls that initially present these events. If the data is valid and is expected, use the clientscriptmanager. registerforeventvalidation method to register the sending back or callback data for verification.
On the Internet to find the two days of information have no results in the article see the reason is: the following reference from: swordsman Article http://www.cnblogs.com/asp600/archive/2006/11/04/550216.aspx
There are two situations that have been encountered so far: one is form nesting, and one page can only have one form. You can solve this problem by checking the code carefully. Second, Ajax is used in the drop-down menu, which is common in the provincial/municipal linkage menu. It may be because the initial item value of the drop-down menu is assigned to the ASPX page. This error is prompted when the event is returned, delete the initial item value from the drop-down menu and add the item to the binding event. Later, I discovered that the problem was not there. the reason is that the value attribute of the listitem of the dropdownlist control contains Chinese characters. you only need to change the value to English or numbers. there is another solution on the Internet: Set the enableeventvalidation attribute to false, but there is no warning box. the data still cannot be passed to the server, causing the selectedindex value to remain zero.
It is best to go to the Web. add the following statement to config: <globalization requestencoding = "UTF-8" responseencoding = "UTF-8" Culture = "ZH-CN" uiculture = "ZH-CN"/>, I am posting this article to help you.
This problem occurs during development in the past two days. The callback or callback parameters are invalid. Use <pages enableeventvalidation = "true"/> in the configuration, or use <% @ page enableeventvalidation = "true" %> On the page to enable event verification. For security purposes, this function verifies whether the parameters of the send-back or callback events come from the server controls that initially present these events. If the data is valid and is expected, use the clientscriptmanager. registerforeventvalidation method to register the sending back or callback data for verification.
On the Internet to find the two days of information have no results in the article see the reason is: the following reference from: swordsman Article http://www.cnblogs.com/asp600/archive/2006/11/04/550216.aspx
There are two situations that have been encountered so far: one is form nesting, and one page can only have one form. You can solve this problem by checking the code carefully. Second, Ajax is used in the drop-down menu, which is common in the provincial/municipal linkage menu. It may be because the initial item value of the drop-down menu is assigned to the ASPX page. This error is prompted when the event is returned, delete the initial item value from the drop-down menu and add the item to the binding event. Later, I discovered that the problem was not there. the reason is that the value attribute of the listitem of the dropdownlist control contains Chinese characters. you only need to change the value to English or numbers. there is another solution on the Internet: Set the enableeventvalidation attribute to false, but there is no warning box. the data still cannot be passed to the server, causing the selectedindex value to remain zero.
It is best to go to the Web. add the following statement to config: <globalization requestencoding = "UTF-8" responseencoding = "UTF-8" Culture = "ZH-CN" uiculture = "ZH-CN"/>, I am posting this article to help you.