Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7758949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:30:06+00:00 2026-06-01T13:30:06+00:00

I have an UpdatePanel which has a Repeater inside it, and inside of the

  • 0

I have an UpdatePanel which has a Repeater inside it, and inside of the Repeater is a Button that I want to be a PostBackTrigger for the UpdatePanel (not an AsyncPostBackTrigger).

I have tried to create a trigger in the code behind in the Repeater’s ItemDataBound event (using code below) but nothing I tried worked.

PostBackTrigger trigger = new PostBackTrigger();
//failed
//trigger.ControlID = "btnCourseAttachmentUpdateSubmit";
//failed
//trigger.ControlID = ((Button)e.Item.FindControl("btnCourseAttachmentUpdateSubmit")).ID;
//failed
//trigger.ControlID = ((Button)e.Item.FindControl("btnCourseAttachmentUpdateSubmit")).ClientID;
//failed
//trigger.ControlID = ((Button)e.Item.FindControl("btnCourseAttachmentUpdateSubmit")).UniqueID;
panAttachments.Triggers.Add(trigger);

I know there is a technique to resolve this by using a hidden button but before I did that I wondered if there was a way of doing this similar to what I was trying in the code above?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:30:07+00:00Added an answer on June 1, 2026 at 1:30 pm

    ScriptManager.RegisterPostBackControl(e.Item.FindControl(“btnCourseAttachmentUpd‌​ateSubmit”));

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a LinkButton inside an UpdatePanel that I do not want the client
I have a gridview within an updatepanel which allows paging and has a linkbutton
I have an UpdatePanel which I am using to replace the content inside of
I have an updatepanel which after clicking one button is submitting the page. The
I have a ASP.NET 3.5 page which has a repeater containing lines of information
I want to create custom templated control which controls inside of template coluld be
I have several dropdownlists and textboxes inside an <asp:UpdatePanel> , which should let me
I have a DropDownList inside an UpdatePanel that is populated on postback from a
Within an ASP.NET AJAX UpdatePanel on my page I have a submit button which
I have TextBox (multiline) and Label in an UpdatePanel which I refresh with javascript

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.