having fancy box bind to hyperlink
<asp:hyperlink id="hlunitprice01" CssClass="pick-price" runat="server">></asp:hyperlink>
$('.pick-price').click(function (e) {
var url = $(this).attr('href');
if (url != null && url != '') {
e.preventDefault();
$.fancybox({
href: url + '&sender=' + $(this).attr('id'),
type: 'iframe'
});
}
else {
currentPricePicker = $(this).attr('id');
}
});
trying to stop / avoid fancybox from popping up from code behind
if (txtProduct1.Text == "" && txtTo01.Text == "")
{
ScriptManager.Regi ...
Go to the complete details ...