I am using a Datalist to display records. Each record has an Image and a hyperlink to more information. Now I need that hyperlink navigateUrl have two parameters. One for userId and second one for userName. To find out which record's hyperlink was clicked the key for the record also has to be included. So how do I create an URL based on the records key that also contains the users id and name as parameters and set navigateUrl to the hyperlink.
Note: I don't want to use linkButton instead of hyperlink, because it's unable to open in new window and new tab and Google is unable to get the URL from a link button, so please don't suggest the use of a link button.
Thanks in advance for your replies!