Hi,

I have created a datalist, which contains buttons.
When one of these buttons is click I want to show the modal popup.

The button has code which is fired when it is Onclick, but as far as I am aware the ajax modalpopup has to be assigned to a control, I tried assigning it to the generic ID for the buttons that are in the list, but it doesnt like that.

any ideas on how i can make an ajax modalpopup appear when the button is clicked.

I should alsp mention that the datalist is in an update panel too, but thats only so the whole page doesnt refresh when the user clicks one of the buttons.

Cheers,