Base solution for your next web application

Activities of "ismcagdas"

Select2 is not included in ASP.NET Zero by default. First you should include select2 javascript (select2.js) and css files (select2.min.css & select2-bootstrap.min.css).

Your select item also must have class name 'select2me' , because metronic handles it this way.

If you create modal on the fly, then you must also trigger jquery select2 by yourself on modal's 'shown.bs.modal' event.

Example html:

<select class="form-control select2me select2-multiple" multiple>
	<optgroup label="Alaskan">
		<option value="AK">Alaska</option>
		<option value="HI" disabled="disabled">Hawaii</option>
	</optgroup>
</select>

Example js for modal shown:

modal.on('shown.bs.modal', function () {
	modal.find('select.select2me').select2({
		placeholder: "Select",
		width: 'auto', 
		allowClear: true
	});
});

You can download metronic fom here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/releases/download/v1.7.0/metronic-v4.5.3.zip">https://github.com/aspnetzero/aspnet-ze ... v4.5.3.zip</a>

I hope this helps .

You can put your file in Core project since it is a domain service. You can also add an unique index on Name field of your entity.

It's in Abp.Web.Models namespace. You must have ABP version 0.7.7.0 or higher.

There are 2 ways actually.

If you include script using Html.IncludeScript like

@Html.IncludeScript("~/Abp/Framework/scripts/libs/abp.signalr.js")

it is going to add a parameter to the end of script file resulting like

<script src="/Abp/Framework/scripts/libs/abp.signalr.js?v=635911474900548694" type="text/javascript"></script>

Second way is to add this parameter manually if you dont want to use Html.IncludeScript syntax. In this way you can change your script include like this:

<script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>

I hope this helps.

Hi,

Zero is not defined from beginning for http verbs other than POST. Because of that DynamicApiControllerBuilder is not using convetional verbs right now.

You can add ".WithConventionalVerbs()" to dynamic api controller builder configuration of your project but it might cause problems.

We can not guarantee that it works.

Hi,

You can check this topic #448@6bab272b-0a26-41ea-b1f4-6c3381bffea0.

As a short answer, after adding nuget package you need to enable cors in WebModule class like

GlobalConfiguration.Configuration.EnableCors();

Also you need to use EnableCors attribute in app service interface for dynamic api methods not in app service itself.

Hi,

  1. Can you try writing your comments on AppService interface, not in the AppService class.
  2. You can use Swagger's DocumentFilter for that. An example would be,
public class FilterRoutesDocumentFilter : IDocumentFilter
{
    public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
    {
        swaggerDoc.paths["/api/services/app/role/GetRoleForEdit"].post = null;
    }
}

I hope these help.

Answer

Hi,

You need to download Targeting Pack for development. Can you try to download .Net Framework Targeting Pack 4.6.1 and try opening project again ?

Hi,

It's bootstrap select by Silvio Moreto. You can check it's github repository <a class="postlink" href="https://github.com/silviomoreto/bootstrap-select">https://github.com/silviomoreto/bootstrap-select</a>.

Hi,

This is not angular version actually. But you can use it in Angular by angular ui's uiJq directive. Take a look at here <a class="postlink" href="https://github.com/angular-ui/angular-ui-OLDREPO/tree/master/modules/directives/jq">https://github.com/angular-ui/angular-u ... ectives/jq</a>.

In our code

ui-jq="selectpicker"

does the trick.

Or for a full angular compatible solution you can use angular ui's ui-select. You can find detailed information about ui-select here <a class="postlink" href="https://github.com/angular-ui/ui-select">https://github.com/angular-ui/ui-select</a>.

I hope these can help you :)

Showing 1 to 10 of 12536 entries