Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Due to Postback on Tabcontrol, edit events do not fire

$
0
0

Hi,

I have a tab container and multiple tab controls. In each of these tab controls, I have a formview and a gridview respectively. On page load event, I am loading the controls on the first tab in the if (!IsPostBack) loop. In the ActiveTabChangedServer event, I am loading the controls based on the headertext of the tab. When the edit button of the gridview/formview is clicked, the postback occurs and I dont see any data. However, when I remove the code in the if (!IsPostBack) loop, keeping it empty, the edit event fires properly.

Any help/guidance is deeply appreciated. I am struggling with this for the past few days.

Thanks,


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>