Click here to Skip to main content
15,905,325 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello
I am using one page btn.aspx.here I created 5 button.I want that when open my page first should open btn.aspx page.how can get these securty?I also using this code below but it is not working
.
XML
<location path="BtnChose.aspx">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
      </system.web>
    </location>-->
Posted
Updated 25-Aug-13 18:20pm
v2
Comments
muneebalikiyani 27-Aug-13 2:48am    
hi,Cannot read your mind. what are you upto ?
You have designed a page (named btn.aspx ) with 5 button on it and you want that when you browse your first page it redirects you on btn.aspx ?

1 solution

First to make "BtnChose.aspx" your default startup page, you just go to your solution explorer, right click on the page and then you click on "Set as Start Page".

For security what you specified there is that all users should be able to see the page, so after you set the page as your default page, and you can actually view the page in your browser, It Works...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900