Nopes. I include that in the cshtml being rendered by Angular?
Hello, I need a way to generate around 3000 GUIDs so that the user of my app would generate some QR Codes based on those GUIDS. Then later, I can import some data coming from an Excel sheet, each record with a GUID that was generated before and mapped to a QR Code.
So in my case, I need to have primary key for an entity as Int while adding a property of type Guid (Coming from backlog of records and later on when new records are created through the system).
Does the Abp Framework support this scenario? Does it offer any tools for GUID generation with uniqueness, etc.
If not, what's the alternative for my case? I appreciate if you can help.
Thanks
Hello, How to use Abp Permissions framework on columns? I need to return specific columns per permission.
Thanks
Hello, How to include some jQuery plugins or angular plugins on specific pages and not all? I am using cshtml files in an MVC 5 / Angular 1.x app.
Thanks
It's a huge form. I can share the application by email.
I read somewhere ng-if would remove the element from DOM, which is better so that the element will be submitted to server as empty.
The problem I believe is due to so many digest cycles.
Thanks
Hi Ismail,
The problem was the bootstrap-select expects values to be "strings". In my case, I retrieve the value as Int from the server. I had to convert those values to strings, then they work fine. Is that normal?
Something else I got, the form was hanging and getting angular errors of infinite $digest cycles. I was creating functions to control ng-show, and inside those functions I am resetting fields to be hidden, but that was causing many $digest cycles. How would I control show/hide and when hidden to clear the value so that it doesn't get submitted to server?
Thanks
Hi, I am using bootstrap-select in an angular js project.
Loading data inside the select control works fine. Now it is time to set a value from backend angular js.
The problem is the angular model is changing, but the change is not reflected on the client UI. Here is the code.
...
vm.poc = poc;
//Refresh all selects
refreshSelects();
var selectIds = {
shelters: '#Shelter',
...
};
function refreshSelects() {
//Loop over all select ids from the selectIds
//and trigger a refresh
.each(selectIds, function (value) {
$timeout(function () {
$(value).selectpicker('refresh');
}, 0);
});
}
As usual, thank you so much :)
Thanks I will check it.
Thanks :)