I have a linkbutton in which I need to add a radconfirm to it. The behavior of the LinkButton is the postback is triggered and the page is refreshed and adding a return false with customizing the radconfirm resolves this and works great.
The issue I am having is if you need to customize the LinkButton with CSS such as having a link button with the tags <b> used. (My real example uses more css to create a css compliant button) this causes an issue with RadConfirm.
I followed the example from the link attachment and just added the tag "<b>"
http://www.telerik.com/community/forums/aspnet-ajax/window/radconfirm-closes-immediately-after-popup.aspx
asp:LinkButton ID="linkBtn" runat="Server" OnClientClick="return radconfirm('Are you sure?', event, 400, 200,'','Custom title');" Text="Delete Item" OnClick="linkBtn_Click"><b>This does not</b></asp:LinkButton>
Taking the attachment and just adding the tags <b> in the example causes the RadConfirm to not work. The issue is the caller object being sent to the radconfirm is not the LinkButton "<A>" tag but the "<b>" tag so this results in no post back via the href call.
How can this be fixed or what's a work around with the javascript radconfirm function?
The issue I am having is if you need to customize the LinkButton with CSS such as having a link button with the tags <b> used. (My real example uses more css to create a css compliant button) this causes an issue with RadConfirm.
I followed the example from the link attachment and just added the tag "<b>"
http://www.telerik.com/community/forums/aspnet-ajax/window/radconfirm-closes-immediately-after-popup.aspx
asp:LinkButton ID="linkBtn" runat="Server" OnClientClick="return radconfirm('Are you sure?', event, 400, 200,'','Custom title');" Text="Delete Item" OnClick="linkBtn_Click"><b>This does not</b></asp:LinkButton>
Taking the attachment and just adding the tags <b> in the example causes the RadConfirm to not work. The issue is the caller object being sent to the radconfirm is not the LinkButton "<A>" tag but the "<b>" tag so this results in no post back via the href call.
How can this be fixed or what's a work around with the javascript radconfirm function?