SharePoint – XSL Error Hyperlink already used by another control

Ever got this error coming up ?

image

I did ?

This custom hyperlink control I added to a list and got the error while debugging ?

image

Seemed obvious afterwards

The Hyperlink had to be appearing in a Grid multiple times.

Solution :

Just add {$ID}{generate-id()} to the ID

image

Solved !

Enjoy Smile

Advertisements

One Response to SharePoint – XSL Error Hyperlink already used by another control

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: