how to pass a parameter to dialog in this situation?

how to pass a parameter to dialog in this situation?

Hi.
i work with asp.net.
i got a ajax updatepanel with a asp:repeater. the updatepanel display
different events. now if the event is clicked i want to display it in
a jquery dialog, so far so good. now my problem becomed that my dialog
ui is set to ".dialog", so it triggers all events. now i pass
(".dialog" + id) but how should i pass that parameter to the trigger
in the script?
<script type="text/javascript">
$(document).ready(function() {
$(".btnCheck").live("click", function(evt) {
evt.preventDefault();
$(".dialog").dialog({ height: 700, width: 600,
closeOnEscape: true, title: 'Förhansgrandska' }).dialog("open");
});
});
</script>
--