I have multiple templates on page. First template contains list of events. The Command Links open details Template. Event ID is passed and fires a stored procedure that outputs Event Name Date Etc as well as an item list of event participants and their results. How can the command button open results templates in Modal Window?
************************************************
<section class="content">
<xmod:Template ID="MainList">
Usual Stuff Here
<xmod:CommandButton Text="Link to Details" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#ResultsList" type="button">
<Command target="ResultsList" type="list">
<Parameter Name="Event_ID" Value='[[Event_ID]]' />
</Command>
</xmod:CommandButton>
</xmod:Template>
<div class="modal fade" id="ResultsList" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<xmod:Template ID="ResultsList">
<ListDataSource>
Data called using stored procedures from paramater passed from "MainList"
</ListDataSource>
rest of template content
</xmod:Template>
</div>
</div>
</div>
</section>
**********************