how to stop main page postback on a href

Stop postback with Return False on main page

<asp:TemplateField>

<ItemTemplate>

<a href=”#” onclick=”window.open(‘../URUN_TAKIP/YonlendirmeUrunFotoPopup2.aspx?pK=’+'<%#Eval(“CH_KOM_NO”)%>’,null,’width=850,height=650,scrollbars=yes,left=50,top=50′);return false;“>

</ItemTemplate></asp:TemplateField>

Advertisements

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: