Radiant Software

Radiant Software

  • NA
  • 72
  • 30.3k

open popup window on gridview button field

Oct 6 2015 6:56 AM
hiii
I have  a web page..on that page i have a gridview.
 
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="10%" RowStyle-Height="15%"
EmptyDataText="There are no data records in database to display." OnRowCommand="GridView1_RowCommand" OnRowDeleting="GridView1_RowDeleting" AllowPaging="True" CellSpacing="1" HorizontalAlign="Center" OnRowDataBound="GridView1_RowDataBound" Width="100%">
<Columns>
<asp:BoundField DataField="clientid" HeaderText="Client Id" SortExpression="clid"></asp:BoundField>
<asp:BoundField DataField="clientname" HeaderText="Client Name" SortExpression="name"></asp:BoundField>
<asp:BoundField DataField="clientadd" HeaderText="Address" SortExpression="userid"></asp:BoundField>
<asp:BoundField DataField="clientbirthdate" HeaderText="Birth Date" DataFormatString="{0:dd/MM/yyyy}" SortExpression="albmnm" />
<asp:BoundField DataField="anniversarydate" HeaderText="Anniversary Date" DataFormatString="{0:dd/MM/yyyy}" SortExpression="annivdate" />
<asp:BoundField DataField="mobileno" HeaderText="Mobile No" SortExpression="albmdt" />
<asp:BoundField DataField="phoneno" HeaderText="Phone No" SortExpression="vis" />
<asp:BoundField DataField="emailid" HeaderText="EmailID" SortExpression="clientid" />
<asp:BoundField DataField="gender" HeaderText="Gender" SortExpression="clientnm" />
<asp:BoundField DataField="isactive" HeaderText="Space Usage-Mb" SortExpression="clientnm" />
<asp:ButtonField ButtonType="Link" CausesValidation="false" HeaderText="Album No-Photo No" CommandName="view" />
<%--<asp:TemplateField ShowHeader="true" HeaderText="Album No-Photo No">
<ItemTemplate>
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="false" CommandName="Select1"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:ButtonField ButtonType="Link" CausesValidation="false" CommandName="Select" Text="Edit"></asp:ButtonField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Delete"
OnClientClick="return confirm('Are you sure you want to delete this event?');"
Text="Delete"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
 
 
 
 
there is a  one ButtonField- Album no-Photo No which is created dynamically... this column has No of albums and total no of images. 
Now I want to open popup window on click of Album no-Photo No
 
 
Plz help me 

Answers (1)