Base solution for your next web application

Activities of "ismcagdas"

Hi,

You can disable source maps for css & javascript in the chrome's developer console settings.

<a class="postlink" href="https://developer.chrome.com/devtools/docs/settings">https://developer.chrome.com/devtools/docs/settings</a>

Answer

Hi,

There are two applications in the project. One is Single Page Application and the other one is Multi Page application. Application#/tenant/dashboard is for single page application and mpa/dashboard is for the Multi Page application.

Functionality of these two application are same but they have some differences in the look.

You should choose one of them to build your application and delete the other section if you are building a real life application to prevent such confusions.

Hi,

You can change it like this

var defaultTimezoneName = String.Format("{0} [{1}]", L("Default"), defaultTimezone.DisplayName);

We are not trying to use this syntax because it does not work on vs 2013 but we missed it this time. We will change it on the next release as well.

Hi,

You might have two Id fields in one of your entities.

If it is not the case, can you share a bit more part of your controller code. And which versions of ABP do you use ?

Hi,

Did you check this issue before <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/162">https://github.com/aspnetboilerplate/mo ... issues/162</a> ? It has a gist link for impersonation example.

Hi,

Can you share your Login action in Account controller. And how do you call your login action from javascript ? Can you share that code as well.

Hi,

I assume that you want to use it on the multi page side. For bootstrap datetime picker it's explained here <a class="postlink" href="https://eonasdan.github.io/bootstrap-datetimepicker/Installing/">https://eonasdan.github.io/bootstrap-da ... nstalling/</a>. You just neet to download and include missing scripts and css files.

You can also try bootstrap daterange picker which is already included in the project <a class="postlink" href="http://www.daterangepicker.com/">http://www.daterangepicker.com/</a>. It has a singleDatePicker property for using it like a datetime picker.

$('input[name="birthdate"]').daterangepicker({
        singleDatePicker: true,
    }

Please let me know if you have any problem.

Answer

Hi,

Identity framework does not allow that by default. You can change it's behaviour like this in hte constructor of your UserManager class.

UserValidator = new UserValidator<User, long>(this)
{
	AllowOnlyAlphanumericUserNames = false
};

Hi,

For matching your html form to your dto you can use third party javascript libraries. One might be this <a class="postlink" href="http://maxatwork.github.io/form2js/">http://maxatwork.github.io/form2js/</a>.

Entity Framework does not support saving nested entities. You can do it manually or there are also custom solutions for this like GraphDiff <a class="postlink" href="https://github.com/refactorthis/GraphDiff">https://github.com/refactorthis/GraphDiff</a>.

I haven't tried GraphDiff yet but you can give it a try.

Hi,

By default HomePage is not a part of single page application, it's a classic Asp.Net MVC multi page application.

You can convert it to a single page application by implementing a similar code in app.js but it requires a bit more work.

Why don't you get data from your AppService in HomeController and pass it to your view with a view model. I think it's a better and easier solution :).

Showing 12541 to 12550 of 12681 entries