Web.config authentication Issue

2 posts, 0 answers
  1. Srinivasan
    Srinivasan avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    I have used radcombobox and raddatepicker in my application. Authentication set in my web.config file. So i can not access my application without login. For some reason i have to access a page(test.aspx) without login.
    Page is displayed without radcombobox and raddatepicker controls.  They are displayed as a text box.
     
    Assume the test page has the rad controls.  So i put the following code in the web.config file.

      <location path="test.aspx">
        <system.web>
          <authorization>
            <allow users="?" />
          </authorization>
        </system.web>
      </location>

    Guide me how to solve this issue.
  2. Nencho
    Admin
    Nencho avatar
    1864 posts

    Posted 20 Nov 2012 Link to this post

    Hello Srinivasan,

    Unfortunately, I was unable to replicate the described issue. For that matter, could you provide us the implementation that you use at your end? As for the issue you had faced with the authentication, I can suggest you to try the following approach, in order to use a login form :
    <system.web>
            <authentication mode="Forms">
                <forms loginUrl="Login.aspx" />
            </authentication>
            <authorization>
                <deny users ="?" />
            </authorization>
        </system.web>

    Here you could find detailed information, regarding the authentication in an application. 


    Kind regards,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top