Datagrid and popup

Results 1 to 2 of 2

Thread: Datagrid and popup

  1. #1
    Join Date
    Dec 1969

    Default Datagrid and popup

    Hi,<BR>I have a datagrid with the first column as hyperlink. How do I open a popup on clicking of this link and pass the Id bound to the hyperlink col in query string,<BR>like ?id=1<BR><BR>thanks in advance<BR>king

  2. #2
    Join Date
    Dec 1969

    Default RE: Datagrid and popup

    You will just need to specify a javascript path with, like ";popup.aspx?ID={0}&#0 39;)" <BR><BR>Put the path in the NavigateURLFormatString property and put the database field of the id in DataNavigateURLField property. Like This:<BR>&#060;asp:HyperLinkColumn Text="Details..." DataNavigateUrlField="id" DataNavigateUrlFormatString="view.aspx?id={0}"&#06 2;&#060;/asp:HyperLinkColumn&#062;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts