Base solution for your next web application

Activities of "ismcagdas"

Hi,

We had some priority changes. We will deal with next week.

Just wanted to let you know.

Hi,

I have also searched on the internet for this. I couldn't find any other solution than yours. It might be related to virtual machine which you are hosting your site.

Hi,

We dont have much expertise on this area actually. If you dont deliver source code to customer, your solution, obfuscation and domain name check seems fine.

Hi,

When you bind your model to ui with angular, as you know, it automatically changes values of your model. Assume that you have a model like this.

var model = {
    customerName:'',
    customerSurname:'',
    pets:[]
}

if you bind your model to view like this

<div>

    <label>Name</label>
    <input type="text" ng-model="model.customerName">

    <label>Surname</label>
    <input type="text" ng-model="model.customerSurname">

    <div ng-repeat="pet in pets">

        <label>Name</label>
        <input type="text" ng-model="pet.name">

        <label>Age</label>
        <input type="text" ng-model="pet.age">
        
    </div>

</div>

Then you just send it to server like this on the click event of your save button

_nameOfYourService.save(model);

Of course you need to create necessary AppService and a matching DTO of your client side model on the server side.

Hi,

Did you have a problem with ng-repeat ? You can simply define a collection in your angular view model and use it in ng-repeat to create view html.

When you add an item to your collection, your ui must be updated.

You can even create a directive for repeating section.

The only problem might be validation. For that you can take a look at this stackoverflow question <a class="postlink" href="http://stackoverflow.com/questions/12044277/how-to-validate-inputs-dynamically-created-using-ng-repeat-ng-show-angular">http://stackoverflow.com/questions/1204 ... ow-angular</a>

Answer

Hi,

I'm not experienced in Telerik MVC controls, but I think you should start with it's Getting Started documentation. <a class="postlink" href="http://docs.telerik.com/kendo-ui/intro/installation/getting-started">http://docs.telerik.com/kendo-ui/intro/ ... ng-started</a>

Then you can take a look at grid examples in order to understand how to use it. <a class="postlink" href="http://demos.telerik.com/aspnet-mvc/grid/index">http://demos.telerik.com/aspnet-mvc/grid/index</a>

Hi,

Can you share your Register.js and Register.cshtml. Maybe you are missing something. A seond eye might catch it, if there is something of course.

Hi,

ABP framework handles validation for you by default on the server side. Also, it should be handled in the client side.

You can view ABP's validation documents for more information <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/MVC-Controllers#validation">http://aspnetboilerplate.com/Pages/Docu ... validation</a> <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Validating-Data-Transfer-Objects">http://aspnetboilerplate.com/Pages/Docu ... er-Objects</a>

By the way, did you created your project from <a class="postlink" href="http://aspnetboilerplate.com/Templates">http://aspnetboilerplate.com/Templates</a> ? If so, try setting customErrors="On" in your web.config and see if you can see validation errors on client side ?

Hi,

We dont have an Angular2 version yet but we are planning on it. It will be released in a few (two or three) months.

Hi,

If you are getting an error "The model backing the 'FeedbackDbContext' context has change", then Add-Migration Provider command should not generate empty classes.

Do you select "*.EntityFramework" project before running Add-Migration on the Package Manager Console ?

Showing 12261 to 12270 of 12740 entries