1
Answer

How to Restrict URL Encryption for particular aspx page?

Raja

Raja

8y
258
1

I want to restrict url encryption for particular page how to do it.

Url Encrypt code

<httpModules>
<add type="QueryStringModule" name="QueryStringModule"/>
</httpModules>

Above code and .cs class file is used for url encryption.

now i want restrict encryption for particular page for some requirements how to do

What i have tried

i used below code for restrict encryption

<%@Page ViewStateEncryptionMode=”Never”>

But this is not worked.

 
Answers (1)
0
Raja

Raja

NA 1.7k 45.4k 8y
 
 
 
 
Css Code
 
 
.top-nav ul li
{

list-style:none;
}
.top-nav ul li a {
display:block;
outline: none;
color: black;
text-decoration: none;
font-size: 1.3em;
padding: 1em;
text-align: right;
background: #333b3e;

}
.top-nav ul li a.black{
background: white;

}
.top-nav ul li a.black1
{
background: white;

}
.top-nav ul li a.black2
{
background:white;
}
.top-nav ul li a.black3
{
background:white;
}
.top-nav ul li a.black4
{
background:white;
}
.top-nav ul li a.black5
{
background:white;
}

.top-nav ul li a:hover,.top-nav ul li.active a {
width: 91%;
padding-left: 0px;
background: gray;
}
.top-nav ul li.active a
{
width: 91%;
padding-left: 0px;
background: #23aeac;
}
 
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Please provide code for design of you menu. Secondly do you want to implement in server side or client?