don't allow user to change the url in asp.net

Posted by Macson under ASP.NET on 7/7/2009 | Views : 2105 | Status : [Member] | Replies : 2
don't allow user to change the url in asp.net




Responses

Posted by: Vuyiswamb on: 7/7/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Morning Macson

Can you please Explain Clearly what is your problem and what do you want to achieve.

Thank you for posting at Dotnetfunda


Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Macson, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anup1252000 on: 8/2/2009 [Member] Starter

Up
0
Down
u cant do that.. instead u can do it by making the full screen of the browser
.. for that write these lines of code
Add this script on the page

<script language="JavaScript" type="text/javascript" >
<!--

/*
Auto Maximize Window Script- By Nick Lowe (nicklowe@ukonline.co.uk)
*/
function fullscreen()
{
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
}
</script>

<body onload="fullscreen();">

https://wordpress.com/pages/anuphosur.wordpress.com

Macson, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response