Welcome Guest Search | Active Topics | Log In | Register

AxCMS Options
maha
#1 Posted : Friday, April 24, 2009 6:03:35 PM
Rank: Newbie


Joined: 4/24/2009
Posts: 3
Points: 9

Normal 0 21 false false false DE X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

Hallo,

 

I tried to use the control daypicker in combination with the axinm cms.

(axcms 8.5 is a very flexible free cms http://www.axinom.com/com_Home.AxCMS?ActiveID=1003).

 

I got the failure:

 

Die Kultur de ist neutral. Sie kann nicht als die aktuelle Threadkultur festgelegt werden, da sie nicht zum Formatieren und Analysieren verwendet werden kann.

 

The culture de is neutral. It cannot be specified as the current threadculture, because it cannot be used for formatting and analyzing.

 

 

When I use the same control in normal asp.net website it works fine.

 

Do you have an idea what can be the reason for this failure and how i can solve it?

 

Best regards

 

Matthias

 

sergey
#2 Posted : Friday, April 24, 2009 6:32:13 PM
Rank: Titan


Joined: 9/23/2008
Posts: 268
Points: 804
Hi,

Are you specifying culture for your application and/or DateTimePicker? It seems it needs to be set to "de-DE" instead of "de" only.
maha
#3 Posted : Friday, April 24, 2009 7:30:07 PM
Rank: Newbie


Joined: 4/24/2009
Posts: 3
Points: 9
Hi,

I havn't specified a certain culture in the control, but when I set it to "de-DE" there is no failure.

Now I've got another problem. The DateTimePicker doesn't open the calender when i click on the icon.

Here ist the markup-code:

<%@ Register Assembly="Gaia.WebWidgets.Extensions" Namespace="Gaia.WebWidgets.Extensions" TagPrefix="gaia" %>
<div>
<gaia:DateTimePicker ID="DateTimePicker1" runat="server" Format="yyyy.MM.dd" Culture="de-DE" />

Does anybody have ideas what can be the reason for that?

Matthias

sergey
#4 Posted : Friday, April 24, 2009 7:37:57 PM
Rank: Titan


Joined: 9/23/2008
Posts: 268
Points: 804
Hi,

Are you getting any error message? Which version of Gaia are you using? Which browser? Have you tried in FireFox with FireBug to see if there are errors?
maha
#5 Posted : Saturday, April 25, 2009 9:19:18 AM
Rank: Newbie


Joined: 4/24/2009
Posts: 3
Points: 9
Hi,

I use firefox in version 3.0.4 and gaia version 3.5.

I recovered the first error and that is the firebug message:

</pre></code>
66
67 </td>
68 </tr>
69 </table>
70
71 <br>
72
73 <hr width=100% size=1 color=silver>
74
75 <b>Versionsinformationen:</b>&nbsp;Microsoft .NET Framework-Version:2.0.50727.3053; ASP.NET-Version:2.0.50727.3053
76
77 </font>
78
79 </body>
80</html>
81<!--
82[NotSupportedException]: Die Kultur de ist neutral. Sie kann nicht als die aktuelle Threadkultur festgelegt werden, da sie nicht zum Formatieren und Analysieren verwendet werden kann.
83 bei System.Globalization.CultureInfo.CheckNeutral(CultureInfo culture)
84 bei System.Globalization.CultureInfo.get_DateTimeFormat()
85 bei System.Globalization.DateTimeFormatInfo.GetInstance(IFormatProvider provider)
86 bei System.DateTime.TryParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style, DateTime& result)
87 bei Gaia.WebWidgets.Extensions.DateTimePicker.OnLoad(EventArgs e)
88 bei System.Web.UI.Control.LoadRecursive()
89 bei System.Web.UI.Control.LoadRecursive()
90 bei System.Web.UI.Control.LoadRecursive()
91 bei System.Web.UI.Control.LoadRecursive()
92 bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
93[HttpUnhandledException]: Eine Ausnahme vom Typ System.Web.HttpUnhandledException wurde ausgel&#246;st.
94 bei System.Web.UI.Page.HandleError(Exception e)
95 bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
96 bei System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
97 bei System.Web.UI.Page.ProcessRequest()
98 bei System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
99 bei System.Web.UI.Page.ProcessRequest(HttpContext context)
100 bei ASP.publish_myactivity_suchen_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\axcmsweblive_myactivity\8457a495\5bab6376\App_Web_myactivity_suchen.aspx.abaa6ba5.szoufeo3.0.cs:Zeile 0.
101 bei System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
102[HttpException]: Fehler beim Ausf&#252;hren der untergeordneten Anforderung f&#252;r /AxCMSwebLive_MyActivity/publish/MyActivity_Suchen.aspx.
103 bei System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
104 bei System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
105 bei System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
106 bei System.Web.HttpServerUtility.Transfer(String path)
107 bei Axinom.AECMS.HttpHandler.LiveHttpHandler.a(AxPageBase , String , Int32 , String , String )
108 bei Axinom.AECMS.HttpHandler.LiveHttpHandler.DoProcessRequest()
109 bei Axinom.AECMS.HttpHandler.BaseHttpHandler.ProcessRequest(HttpContext context)
110 bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
111 bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously

thats the markup code:

<%@ Register Assembly="Gaia.WebWidgets.Extensions" Namespace="Gaia.WebWidgets.Extensions"
TagPrefix="gaia" %>
<div>
<gaia:DateTimePicker ID="DateTimePicker1" runat="server" />
<table>
<tr>


when I set the culture to "de-DE"

that's the reply of the server:

Gaia.SU(true);


at the "normal" website it is:

'false';$G('datepicker1_DateTimePicker1_input').setText('2009.04.16 09:02');$G('datepicker1_DateTimePicker1_dtpButton'
).setToggle(false);$G('datepicker1_DateTimePicker1_panel').setVisible(false);
$FChange('__VIEWSTATE', 45, 'xYCHgVWYWx1ZQYAuMM6iYzLCBYGZg8PFgIeBFRleHQFEDIwMDkuMDQuMTYgMDk6MDJkZAIB
Dw8WAh4HVG9nZ2xlZGhkZAICDw8WAh4HVmlzaWJsZWhkFgJmDxYEHg9DdXJyZW50RGF0ZVZpZXcGALjDOomMywgeDFNlbGVjdGVkRGF0ZQYAuMM6iYzLCGRkPgBK505Hj0KmxqLCprZtpNuXrSQ
=');Gaia.SU(true);



Is there connection to the handler-mapping

<handlers>
<add name="AxCMS_MyActivity"
path="*.AxCMS" verb="*"
modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"
resourceType="Unspecified"
preCondition="classicMode,runtimeVersionv2.0,bitness32" />
</handlers>


Matthias

sergey
#6 Posted : Sunday, April 26, 2009 11:36:28 PM
Rank: Titan


Joined: 9/23/2008
Posts: 268
Points: 804
Can you create a minimal failing testcase which fails in Visual Studio so that we could have a look to see what goes wrong?
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.