Results 1 to 7 of 7

Thread: Need to prompt user before navigating away from a page, and perhaps stay on page

Hybrid View

  1. #1

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    Re: Need to prompt user before navigating away from a page, and perhaps stay on page

    I'm not sure what you mean exactly, but I don't have a page on which to hide any buttons. I just have a C# class that's compiled and the DLL that's created gets put in the deployment, and the vendor code will call it simply because it exists and I've defined a path to it. But the vendor page calls my code. I don't have a page.
    There are 10 kinds of people in this world. Those who understand binary, and those who don't.

  2. #2
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Need to prompt user before navigating away from a page, and perhaps stay on page

    Quote Originally Posted by MMock View Post
    I'm not sure what you mean exactly, but I don't have a page on which to hide any buttons. I just have a C# class that's compiled and the DLL that's created gets put in the deployment, and the vendor code will call it simply because it exists and I've defined a path to it. But the vendor page calls my code. I don't have a page.
    Oh. I see what you mean. Hm... well, wouldn't you just create a method that returns a boolean and then allow them to handle it how they choose?
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  3. #3
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Need to prompt user before navigating away from a page, and perhaps stay on page

    Quote Originally Posted by weirddemon View Post
    Oh. I see what you mean. Hm... well, wouldn't you just create a method that returns a boolean and then allow them to handle it how they choose?
    I concur to that.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width