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

  • SEARCH
  • Home
  • 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 7938551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:50:32+00:00 2026-06-03T22:50:32+00:00

I am using a repeater to display rows of data. Each row has a

  • 0

I am using a repeater to display rows of data. Each row has a delete Image button. I would like to add a confirmation dialog using jQuery UI. The Dialog box displays correctly when the delete Image Button is clicked. What I am unsure about is how do I call the event handler for the Image button from jQuery when the OK button is clicked on the Dialog box.

  • 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-03T22:50:34+00:00Added an answer on June 3, 2026 at 10:50 pm

    you can do some thing like this, check for Jquery Dialogbox example,
    while binding the Repeater you attach the event handler to it. like this

    yourbutton.Attributes.Add("onclick","Deletbox('" + yourDeleteID + "'))";
    

    javascript function :

    var deleteId;//this the global variable to hold the value 
    
    
    function Deletebox(ID)
    {
      ( "#YourDialog" ).data('DeleteID',ID).dialog('open');
    }
    

    this is for the dialogbox initializer

         $( "#YourDialog" ).dialog({
                        modal: true, //this will make a modal form
                                    open:function()
                                    {
                                          deleteId=$(this).data('DeleteID'); 
                                    },
                        buttons: { // this is the buttons which you are going to show in box
                            "Delete all items": function() {
                                CallYourdeletionMethodFromServer(deleteId)// by using $.Ajax function
                            },
                            Cancel: function() {
                                $( this ).dialog( "close" );
                            }
                        }
                    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using a repeater control and a databinder to display data from the database
I'm using ASP.NET and a Repeater control to display my data. The data I
I'm using the Repeater control on my site to display data from the database.
I am using ASP.NET repeater and I want to display No Row Found message
I have some thumbnails that I display with a Repeater, using a hyperlink and
I have a repeater that's bound to a SQL Data Source (using ASP.NET). Are
i am quite blur in using repeater is that any way do not display
I'm using a Repeater object in Flex. Would be possible to stop the repeater
We are currently using a repeater to display input fields, drop downs, check boxes,
i am trying to display a list of products i am using a repeater,

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.