HowTo: Add URL clickable link to CardContent Content?

Hi all, 


Does anyone have a way to add a URL (rel='nofollow' href, etc) to a SfCard CardContent Content?

Thank you!
Jason

3 Replies 1 reply marked as answer

HB Hareesh Balasubramanian Syncfusion Team October 9, 2020 09:30 AM UTC

Hi Jason, 

Greetings from Syncfusion Support..! 

We have validated your shared query “Does anyone have a way to add a URL (rel='nofollow' rel='nofollow' href, etc) to a SfCard CardContent Content” at our end. And for that, we have prepared a sample and the sample can be downloaded from the following link. 

Code snippet: 
<SfCard> 
                <CardHeader Title="Harrisburg Keith" SubTitle="By John Doe | Jan 20, 2018" /> 
                <CardContent> 
                                <div>Hi, I'm creative graphic design for print, new media based in Edenbridge</div> 
                                <a class="custom" rel='nofollow' href="https://help.syncfusion.com/">Syncfusion_Help_Link</a> 
                </CardContent> 
</SfCard> 


Kindly try the above solution and get back to us if you need any further assistance. 

Regards, 
Hareesh 


Marked as answer

JA Jason October 13, 2020 04:32 AM UTC

This is perfect, I had a chance to test/QA it! Thank you for your prompt and quality response,
Jason


NR Nevitha Ravi Syncfusion Team October 13, 2020 04:53 PM UTC

Hi Jason, 

You are most welcome. 

Regards, 
Nevitha 


Loader.
Up arrow icon