| Protected Overloads Overrides Sub OnPreInit(ByVal e As EventArgs) |
| Dim myScriptManager As ScriptManager = ScriptManager.GetCurrent(Me) |
| If myScriptManager Is Nothing Then |
| myScriptManager = New ScriptManager() |
| myScriptManager.ID = "ScriptManager1" |
| Dim myControl As Control = Me.FindControl("Form1") |
| If myControl IsNot Nothing Then |
| myControl.Controls.AddAt(0, myScriptManager) |
| End If |
| End If |
| MyBase.OnPreInit(e) |
| End Sub |
| System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: The control with ID 'R1t' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. |
| at Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Control control) |
| at Telerik.Web.UI.RadDataBoundControl.get_ScriptManager() |
| at Telerik.Web.UI.RadDataBoundControl.RegisterScriptControl() |
| at Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e) |
| at System.Web.UI.Control.PreRenderRecursiveInternal() |
| at System.Web.UI.Control.PreRenderRecursiveInternal() |
| at System.Web.UI.Control.PreRenderRecursiveInternal() |
| at System.Web.UI.Control.PreRenderRecursiveInternal() |
| at System.Web.UI.Control.PreRenderRecursiveInternal() |
| at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |
| --- End of inner exception stack trace --- |
| at System.Web.UI.Page.HandleError(Exception e) |
| at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |
| at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |
| at System.Web.UI.Page.ProcessRequest() |
| at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) |
| at System.Web.UI.Page.ProcessRequest(HttpContext context) |
| at ASP.t2_aspx.ProcessRequest(HttpContext context) |
| at clsHttpHandler.clsHttpHandlerController.ProcessRequest(HttpContext context) in N:\Inetpub\wwwroot\TB_Server_Dev\Common Projects\clsHttpHandler\clsHttpHandlerController.vb:line 32 |
| at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() |
| at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) |
| Public Sub ProcessRequest(ByVal context As System.Web.HttpContext) Implements System.Web.IHttpHandler.ProcessRequest |
| Dim url, pathTranslated, strPath As String |
| url = context.Items("url") |
| pathTranslated = context.Items("path") |
| strPath = HandleRequest(context, url, pathTranslated) |
| context.Handler = PageParser.GetCompiledPageInstance(url, strPath, context) |
| context.Handler.ProcessRequest(context) |
| End Sub |
| <httpHandlers> |
| <remove verb="*" path="*.asmx"/> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> |
| <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/> |
| <add verb="*" path="tbimage.aspx" type="RenderUtils.HttpImageHandler, RenderUtils"/> |
| <add verb="*" path="*.aspx" type="clsHttpHandler.HttpXmlHandler, clsHttpHandler"/> |
| </httpHandlers> |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| protected void Button1_Click(object sender, EventArgs e) |
| { |
| throw new Exception("Erro aqui"); |
| } |
| } |
| [Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Erro aqui' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 497" data: no] |
| http://localhost:2296/ScriptResource.axd?d=1GY4RXHYwBwgKWzh2AM6bUDkaYg5j8XpWH_s9iPzAysRQSXCRcmHBSLn7X8KRD15vb_BkPhMpI8wtG864MygjTVbihyBlzvoYm32GnlMsw81&t=ffffffff81a68333 |
| Line 6391 |
| Erro aqui |
| Descrição: Ocorreu uma exceção não tratada durante a execução da atual solicitação da Web. Examine o rastreamento de pilha para obter mais informações sobre o erro e onde foi originado no código. |
| Detalhes da Exceção: System.Exception: Erro aqui |
| Erro de Origem: |
| Linha 17: protected void Button1_Click(object sender, EventArgs e) |
| Linha 18: { |
| Linha 19: throw new Exception("Erro aqui"); |
| Linha 20: } |
| Linha 21: } |
| Arquivo de Origem: D:\Pessoal\MeusDocumentos\Visual Studio 2008\Projects\WebApplication2\WebApplication2\Default.aspx.cs Linha: 19 |
| select |
Hi,
I was wondering if anybody has experience the following problem or something similar:
I running a moss2007 with “Danish language” and the full-featured RadEditorSharePoint 5.3.2.0, I wanted to have Danish language in the RadEditor so I translated the App_GlobalResources files and copied them to “…wss\VirtualDirectories\80\App_GlobalResources”. Then I added “<property name="Language">da-DK</property>” in to my ConfigFile.xml and the ListConfigFile.xml in “…Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.3.2.0__1f131a624888eeed\Resources”.
Now the RadEditor field control shows the correct Danish language translations, but when I add a RadEditor Web Part it only translates some of the controls to Danish and the rest is in English.
I also tried to change the language to German and French with the same result.
Any ideas what is wrong.
| <style type="text/css"> |
| .RadCalendar_Web20 .rcMain .rcRow a |
| { |
| line-height:34px !important; |
| } |
| </style> |