|
-
May 15th, 2012, 11:12 AM
#1
Thread Starter
PowerPoster
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.
-
May 15th, 2012, 11:14 AM
#2
Re: Need to prompt user before navigating away from a page, and perhaps stay on page
 Originally Posted by MMock
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
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 15th, 2012, 07:06 PM
#3
Re: Need to prompt user before navigating away from a page, and perhaps stay on page
 Originally Posted by weirddemon
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|