Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException:
An unknown error occurred while processing the request on the server. The status code returned from the
server was: 401
And in the script tab from firebug i get the next values: 0|error|401||.
I also followed the suggest from the telerik help thread: http://www.telerik.com/help/aspnet-ajax/asyncupload-troubleshooting.html,
where explains about making changes in the web.config for allowing telerik controles have authorization,
separated from the forms authentication but it still not working.
This is an example of how i have one of my configuration files for one role:<?xmlversion="1.0"?>
<configuration>
<system.web>
<authorization>
<allowroles="Alumno"/>
<denyusers="*"/>
</authorization>
</system.web>
<locationpath="Telerik.Web.UI.WebResource.axd">
<system.web>
<authorization>
<allowusers="*" />
</authorization>
</system.web>
</location>
The control declaration in my aspx file looks like this:<telerik:RadAsyncUploadrunat="server"ID="T_uploadArchivo"MaxFileInputsCount="1"AllowedFileExtensions="doc,docx"
onfileuploaded="T_uploadArchivo_FileUploaded"TemporaryFolder="~/Inicio/Alumno/Temporal">
<FileFilters>
<telerik:FileFilterDescription="Documentos de Procesador de textos(*.doc y *.docx)"Extensions="doc,docx"/>
</FileFilters>
</telerik:RadAsyncUpload>
The temporary folder is inside the same folder where authenticated user is, and i move the file manually to the Final Destination.
I also have tried some other solutions posted on the forums but nothing seems to work, i hope someone could help me solve this, thanks.
Hello,
How to set width of the buttons inside the telerik:GridTemplateColumn column. I add 2 buttons to my grid
<telerik:GridTemplateColumn UniqueName="Export2"> <ItemTemplate> <telerik:RadButton ID="btnExport2" runat="server" Text="Button2" CommandName="Export2" Width="100px" /> </ItemTemplate> <ItemStyle HorizontalAlign="Center"/></telerik:GridTemplateColumn><telerik:GridTemplateColumn UniqueName="Export1"> <ItemTemplate> <telerik:RadButton ID="btnExport1" runat="server" Text="Button1" CommandName="Export1" Width="100px" /> </ItemTemplate> <ItemStyle HorizontalAlign="Center" /></telerik:GridTemplateColumn>How to set buttons' width to fill all column's width? At that moment they does not fill all column's with. Take a alook at attached file.
Thank you.
var projtext = (from a in db.DSProjectMasters where a.Status != "DEL" && a.FinalStatus == "Opn" && a.OprStamp == usercode && a.CompCode == compcode select new { a.ProjectCode }).ToList(); ToEmail.DataSource = emp; ToEmail.DataValueField = "emailid"; ToEmail.DataTextField = "emailid"; ToEmail.DataBind();