I want create MPA for admin site to use Metronic theme and SPA for client site using angular 2. How can I do it with ASP.Net Zero?
Our home page and customer's page will use angular 2 with other theme.
Yes, only sweet alert has the problem and I have not any javascript error on client side.
what is your email address? I have this issue when creating new language and set it as default. I tried to add english language again, but when I change text for key AreYouSure. The title for sweet alert is not updated.
Some of my clients want to use their domain and theme. How can I make my application to detect tenancy name and theme by domain (not subdomain).
Thanks for your supporting :)
Hey,
I sent to you an email with my project and backup database yesterday. Can you reproduce the isue?
No, I did not delete default language. I've just added new language and set it as default. I've tried to run the project which I downloaded from the start, then tried to change text for key AreYouSure to "test", but sweet alert still display as "Are you sure?".
I have a form with viewmodel as bellow
<form role="form" novalidate class="form-validation"> @Html.TextBoxFor(m => m.Class1.TestClass11) @Html.TextBoxFor(m => m.Class1.TestClass12) @Html.TextBoxFor(m => m.Class2.TestClass21) @Html.TextBoxFor(m => m.Class2.TestClass22)
<button id="btnSave">Save</button>
</form>
ViewModel public class ClassViewModel { public Class1 Class1 { get; set; }
public Class2 Class2 { get; set; }
}
Appservice
public async Task TestCreate(CreateInput input) { }
public class CreateInput
{
public Class1 Class1 { get; set; }
public Class2 Class2 { get; set; }
}
When I post back to app service, the input is null
input = _$form.serializeFormToObject(); _testService.TestCreate(input)
I know the issue caused by redundant prefix of serialized object { Class1.TestClass1 ="", Class2.TestClass2 ="" } How can I resolve this issue?