This commit is contained in:
@@ -40,11 +40,19 @@ namespace Activizr.Database
|
||||
{
|
||||
string objectOptionalDataTypeString = reader.GetString(2);
|
||||
string data = reader.GetString(3);
|
||||
ObjectOptionalDataType objectOptionalDataType =
|
||||
(ObjectOptionalDataType)
|
||||
Enum.Parse(typeof(ObjectOptionalDataType), objectOptionalDataTypeString);
|
||||
|
||||
initialData[objectOptionalDataType] = data;
|
||||
try
|
||||
{
|
||||
ObjectOptionalDataType objectOptionalDataType =
|
||||
(ObjectOptionalDataType)
|
||||
Enum.Parse(typeof(ObjectOptionalDataType), objectOptionalDataTypeString);
|
||||
|
||||
initialData[objectOptionalDataType] = data;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// Ignore unknown enums at this point - too many disconnects between v4 and v5 -Rick
|
||||
}
|
||||
}
|
||||
|
||||
return new BasicObjectOptionalData(objectType, objectId, initialData);
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<SourceWebPhysicalPath>..\Site5</SourceWebPhysicalPath>
|
||||
<SourceWebProject>{367F36EA-AE1C-4E15-BAF9-BA75B18B3807}|C:\Lab\Activizr\Site5</SourceWebProject>
|
||||
<SourceWebVirtualPath>/Site5</SourceWebVirtualPath>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
||||
@@ -61,6 +61,10 @@ public class PageV5Base : System.Web.UI.Page
|
||||
|
||||
protected override void OnPreInit(EventArgs e)
|
||||
{
|
||||
// Unlock Telerik
|
||||
|
||||
this.Application["Telerik.Web.UI.Key"] = "Activizr";
|
||||
|
||||
// Localization
|
||||
|
||||
// Set default culture (English, United States, but that doesn't work so fake it to GB)
|
||||
|
||||
@@ -14,6 +14,10 @@ namespace Activizr.Pages.Security
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// Unlock Telerik
|
||||
|
||||
this.Application["Telerik.Web.UI.Key"] = "Activizr";
|
||||
|
||||
this.LabelLoginFailed.Visible = false;
|
||||
this.TextLogin.Focus();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user