Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Forums Author
Sat, 26-Jul-2014 Authors
Imran678
10
All Time Authors
Jayakumars
4120
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)

Trigger could not find the Control id of a button inside tabcontainer

Meet1424
Posted by Meet1424 under ASP.NET AJAX on 5/12/2012 1:47:59 AM | Points: 10 | Views : 11874 | Status : [Member] | Replies : 1


Hi I have an updatepanel and a tab container inside it. Tab panel consists of two drop downs and a button in first drop down list of universities is coming from DB, and in second drop down list of course comes on postback of first drop down and when I try to save the selected index/value of drop down with course on button click then it always save only 0th index value. I tried to add postback trigger on updatepanel for my button but this error occurs "A control with ID 'btnSaveCourses' could not be found for the trigger in UpdatePanel 'updatePanel1' can anybody help me please???



Posted by: Arpan.Jwr on: 6/3/2012 [Member] Starter | Points: 25

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
scriptManager.RegisterPostBackControl(buton1);

Add these two line with in page-load event

Meet1424, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response


Found interesting? Add this to: