Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have Login page,but I want login section left,right or middle as per the client requirements .is it possible to set it using app setting key in web.config or any other method.
Posted
Comments
Sergey Alexandrovich Kryukov 7-Mar-15 2:27am    
Those words, as formulated, are too ambiguous to discuss anything seriously...
—SA
Krunal Rohit 7-Mar-15 3:54am    
Elaborate your question please.

-KR

1 solution

add a variable in appSteeing named whatever you want and set the value(left,right,middle).

now in the login div or in the outer div, whatever according to your design put an in line css with float or text-align with the value of <%=common.orientation %>

HTML
<div style="float:<%=common.orientation %>">
    login form
</div>


and in web.config

XML
<appSettings>
    <add key="orientation" value="left" />
</appSettings>


Hope it will solve your problem.
 
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