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

Errors when using decorator with asp:Login - Not rendering in Firefox

5 Answers 136 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
DGDev
Top achievements
Rank 2
DGDev asked on 04 Nov 2008, 09:41 PM
Hi there,
I believe this is an error, however I may be mistaken.

I am using a FormDecorator on a master-page to decorate an asp:Login on my child page.

Inside my Web.Config I have set:
<authorization>
     <deny users="?"/>
     <allow users="*"/>
</authorization>

... to prevent access to my application, per following Microsoft's advice here.

I am fairly new to ASP.NET Membership so perhaps I have improperly configured it?

5 Answers, 1 is accepted

Sort by
0
DGDev
Top achievements
Rank 2
answered on 04 Nov 2008, 09:49 PM
Just to describe the error a little more clearly...
When viewing the page in Firefox, the Logins textboxes, checkbox, button no longer are displayed even though the <input> tags are in the page source where they should be.

Firebug is reporting 4 errors on the page:
Here's a screenshot: http://www.dgdev.net/errors.png
0
DGDev
Top achievements
Rank 2
answered on 04 Nov 2008, 10:32 PM
My mistake, IE has the same problem. I've update my rad controls to the latest trials.

When
<deny users="?"/>
<allow users="*"/>

is in place, all input controls decorated by FormDecorator do not work or display properly. I have a combo box, but none of its items are displayed and it doesn't seem to function.
0
Tervel
Telerik team
answered on 05 Nov 2008, 07:42 AM
Hi DGDev,

The error is not related to the RadFormDecorator. If you examine the second error it says:

ASP.NET Ajax client-side framework failed to load

Before you run any ASP.NET AJAX control (and all Telerik RadControls for ASP.NET AJAX are such controls) you need to make sure the ASP.NET AJAX is properly initialized on the client-side.


Regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
DGDev
Top achievements
Rank 2
answered on 05 Nov 2008, 08:04 AM
Thanks for your reply. It must have been a permissions issue as:
<allow users="?">
prevented the library from being loaded.

I've re-thought the application's folder structure and everything now works just fine. I appreciate your time though. :)
0
Jon
Top achievements
Rank 1
answered on 27 Feb 2009, 10:38 PM
I too was having this issue and finally worked it out. I am sure this is documented somewhere in the Telerik documentation, but for anyone else that could not find an answer, here is what I found.

My controls were in the html (view source) but not visible on page (visibility: hidden). This was because I was blocking users from getting to the Magic "Telerik CSS" by using:

<

 

authorization>

 

<

 

deny users="?"/>

 

</

 

authorization>

This raised the question, how do I give my "?" users access to this magic "Telerik CSS". After digging through the markup I saw this file Telerik.Web.UI.WebResource.axd being used to generate CSS. So I gave access to my anonymous users to this file by using:

 

<

 

location path="Telerik.Web.UI.WebResource.axd">

 

<

 

system.web>

 

<

 

authorization>

 

<

 

allow users="*"/>

 

</

 

authorization>

 

</

 

system.web>

 

</

 

location>

and now it is fixed! I hope this helps some more people!!

 

Tags
FormDecorator
Asked by
DGDev
Top achievements
Rank 2
Answers by
DGDev
Top achievements
Rank 2
Tervel
Telerik team
Jon
Top achievements
Rank 1
Share this question
or