RadConfirm asp:button and firefox 3

8 posts, 0 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 22 Jul 2009 Link to this post

    Hello,

    I am using the traditional telerik work around for radconfirm working as a delete before confirm.
    I omitted the code before which could be find in library....
            var callBackFn = function(arg) {  
                if (arg) {  
                    callerObj["onclick"] = "";  
                    if (callerObj.click) callerObj.click(); //Works fine every time in IE, but does not work for links in Moz     
     

    But as the comment says, this does not works in FireFox.

    Is there something new in this area to be able to use radconfirm in IE AND Firefox ?


    Thanks
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 23 Jul 2009 Link to this post

    Hi Christian,

    I suggest to examine the "Alert, Prompt, Confirm" demo on our site where you can see how to extend the function.


    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 23 Jul 2009 Link to this post

    Thanks Georgi,

    Giving a first look to this new demo I noticed a mispelled <strnog> tag in your demo.
    More later.

    CS
  5. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 23 Jul 2009 Link to this post

    Hello Georgi,

    I inspected the code and it seems similar to mine...but my 'Confirm postback button' is placed in an ajaxManager to be a 'Confirm call-back button' and it doesn't works ????
    Even in IE ???

    Is there any way to have it working with ajaxManager ???


    Regards
    CS
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 23 Jul 2009 Link to this post

    Hello Christian,

    In such case I would suggest to use the approach shown in the attached file. The idea is to use ajaxRequestWithTarget in the callback function.


    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 23 Jul 2009 Link to this post

    Thanks,

    Looks better than my

    __doPostBack(callerObj.name,

    '');

     



    CS
  8. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 24 Jul 2009 Link to this post

    Hello Georgi,

    I got some pb with your sample, button.id is not ok, asynch call back occurs but is not handled correctly by my c# button.

    Your documentation speaks of c# button.UniqueID and it seems that this property doesn't go  js-side in 'id' but in 'name' property.
    It works with button.name.
    Where goes this c# UniqueID ?
    is using button.name safe for any browser, is 'name' a standard js property ?

    Thanks for help.

    CS
  9. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 27 Jul 2009 Link to this post

    Hello Christian,

    Yes, you could use the name property in this scenario - especially when masterpage or other iNaming container is involved. The property is a standard one and is recognized by all major browsers.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017