This is a migrated thread and some comments may be shown as answers.

Web.config authentication Issue

1 Answer 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Srinivasan
Top achievements
Rank 1
Srinivasan asked on 16 Nov 2012, 04:56 AM
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.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 20 Nov 2012, 04:27 PM
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.
Tags
ComboBox
Asked by
Srinivasan
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or