# How to add a link button on Popup

**URL:** <https://community.thinkgeo.com/t/how-to-add-a-link-button-on-popup/6353>\
**Category:** WebForms\
**Created:** [January 22, 2013, 11:41pm UTC](https://community.thinkgeo.com/t/how-to-add-a-link-button-on-popup/6353 "2013-01-22T23:41:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajanikanth1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e9bcb4/32.png) [@rajanikanth1](https://community.thinkgeo.com/u/rajanikanth1)\
**Post date:** [January 22, 2013, 11:41pm UTC](https://community.thinkgeo.com/t/how-to-add-a-link-button-on-popup/6353/1 "2013-01-22T23:41:28Z")

</div>

when&nbsp;i&nbsp;click&nbsp;on&nbsp;Map&nbsp;i&nbsp;am&nbsp;opening&nbsp;a&nbsp;popup.in&nbsp;that&nbsp;popup&nbsp;i&nbsp;need&nbsp;to&nbsp;Add&nbsp;a&nbsp;ASP&nbsp;link&nbsp;button&nbsp;when&nbsp;i&nbsp;click&nbsp;on&nbsp;link&nbsp;buttton&nbsp;i&nbsp;need&nbsp;to&nbsp;open&nbsp;a&nbsp;page&nbsp;like&nbsp;map1.aspx.from&nbsp;popup&nbsp;how&nbsp;to&nbsp;add&nbsp;link&nbsp;button&nbsp;and&nbsp;how&nbsp;to&nbsp;redirect&nbsp;to&nbsp;that&nbsp;page&nbsp;when&nbsp;i&nbsp;click&nbsp;on&nbsp;link&nbsp;button.i&nbsp;want&nbsp;only&nbsp;popup&nbsp;and&nbsp;Asp&nbsp;link&nbsp;button.frrom&nbsp;popup&nbsp;only&nbsp;i&nbsp;need&nbsp;to&nbsp;redirect&nbsp;that&nbsp;page.

---

<div class="post-metadata">

**Author:** ![Gary2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/49beb7/32.png) [@Gary2](https://community.thinkgeo.com/u/Gary2)\
**Post date:** [January 23, 2013, 8:00pm UTC](https://community.thinkgeo.com/t/how-to-add-a-link-button-on-popup/6353/2 "2013-01-23T20:00:43Z")

</div>

Hello&nbsp;rajanikanth，&nbsp;  
  
  
  
Thanks&nbsp;for&nbsp;your&nbsp;post,&nbsp;you&nbsp;can&nbsp;refer&nbsp;HowDoISamples--\>GettingStarted--\>AddAPopup,&nbsp;in&nbsp;that&nbsp;sample,&nbsp;we&nbsp;using&nbsp;contentHtml&nbsp;to&nbsp;append&nbsp;everything&nbsp;we&nbsp;want&nbsp;to&nbsp;show&nbsp;in&nbsp;the&nbsp;popup,&nbsp;so&nbsp;the&nbsp;only&nbsp;thing&nbsp;you&nbsp;need&nbsp;append&nbsp;is&nbsp;just&nbsp;  
`(a href='xxx' target='_blank')link url(/a)`&nbsp;,&nbsp;and&nbsp;change&nbsp;the&nbsp;target&nbsp;to&nbsp;\_blank&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;open&nbsp;a&nbsp;new&nbsp;page&nbsp;or&nbsp;\_self&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;redirect&nbsp;the&nbsp;current&nbsp;page.&nbsp;  
  
  
  
Regards,&nbsp;  
  
  
  
Gary
