Sign in | Join
Last post 02-13-2008 4:41 AM by Jin-Yu Yin - MSFT. 1 replies.
Sort Posts: Oldest to newest Newest to oldest
AJAX ScriptManager Class has a IsDebuggingEnabled property, that is available in server code. I want in my client Javascript function to determine, do I running debug or release mode.
How can I do this?
Hi,
Thank you for your post!
You can create a hidden field to the page, then, check the IsDebuggingEnabled property of ScriptManager , if it is true, set the value of the hidden field to "true", else, false.
Thank you!