This is a migrated thread and some comments may be shown as answers.

BlockConfirm doesn't work in FireFox

2 Answers 102 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mounir Maghraoui
Top achievements
Rank 1
Mounir Maghraoui asked on 27 Oct 2009, 03:37 PM
Bonjour,
    I'm trying to use the blockconfirm function in an Hyperlink but it doesn't work in FirewFox.
Is there any solution or idea?
here my c#code:
protected void Page_Load(object sender, EventArgs e) 
    { 
        LinkLogout.Attributes.Add("onclick", "return blockConfirm('" + Resources.Labels.MasterPageLblConfirmDisconnecting.Replace("'", "''") + "', event, 330, 100,'','Prescrire');"); 
//.................... 

here the asp.net code:
 <asp:HyperLink ID="LinkLogout" Text="<%$ Resources:Labels, MasterPageLinkLogout %>" 

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Oct 2009, 10:05 AM
Hi Mounir,

asp:hyperlink does not have a server-side click event - for such purpose you should use asp:linkbutton control.



All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mounir Maghraoui
Top achievements
Rank 1
answered on 30 Oct 2009, 10:27 AM
asp:linkbutton invoke the reload of the page. I don't like to use it. I want just to use an Hyperlink an add the onclick event to it.
What i have done is working correctly in IE. Although, in FF it doesn't work coz of the blockconfirm.
How to make the blockconfirm working correctly in FF?

Tags
Window
Asked by
Mounir Maghraoui
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Mounir Maghraoui
Top achievements
Rank 1
Share this question
or