Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Forums Author
Sun, 20-Apr-2014 Authors
All Time Authors
Jayakumars
3930
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 : 4479 | 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???



Reply | Reply with Attachment

=> Scroll below for responses


Comments or Responses

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.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.

Found interesting? Add this to: