How to prevent Postback on GridView paging in UpdatePanel

前端 未结 3 1939
情话喂你
情话喂你 2021-01-15 17:28

I have apply paging in GridView which is in UpdatePanel.When I move forward to the next result set full Postback occur on my Page.Do i need to do some modification in web.co

3条回答
  •  既然无缘
    2021-01-15 18:19

    I have a similar issue. Its solved by using The real problem is I have used tdXXXXX = de('_ctl0_CPB_XXXXX');

    where de is a function function de(clID)

            {
                return document.getElementById(clID);  
            }       
    

    Previously the control was rendered correctly as _ctl0_CPB_XXXXX, now it has appeneded an extra 0 ie. _ctl00_CPB_XXXXX. This is used throught the application, and its causing the javaScripts failures. Any solutions.

提交回复
热议问题