my problem is that I can not find the way to pass the data I have in a gridview to a textbox that I have inside a modal window of boostrap, I think my problem is that somehow if I can send the data to textbox by means of a button but this same button can not open the modal window since it is an object of type asp: CommandField and in this I can not put the data-target that is the property that is needed to be able to open the modal window.
this is the asp code of the object with which I send the value to the textbox
<Columns>
<asp:TemplateField HeaderText="Bitacora">
<ItemTemplate>
<!-- Este es el botón con el que abro mi ventana modal -->
<button type='button' class="btn btn-info" data-toggle="modal" data-target="#ModalMiniborar">
<span class="glyphicon glyphicon-plus" >
</span>
prueba</button>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField ShowSelectButton="True" /> <!-- Este es el objeto con el que mando el dato a mi textbox -->
</Columns>
What I want to know if there is any way to send the data and open the modal window at the same time.