Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "bilalhaidar"

That's interesting! First time I know about that. Thanks :)

I didn't add anything, I kept things as is. I will check how the css is loading. Thanks

Thanks guys!

Regards Bilal

Thanks Ismail. Well received.

regards Bilal

Hello Ismail, Can you please illustrate more?

Some of the components used in Angular 1 are not angular components? So you can use bootstrap components in metronic for Angular 1

How to use them? I know I should include files (js, css), but if a component is jquery, how can I assign ng-model to it?

I saw something ui-jq, what is that? Does it allow me to use jQuery plugins in Angular? Is it the same thing you are referring to?

Thanks Bilal

Hello, This date picker is a bootstrap one and not angular.

Any idea if this same datepicker is available for angular 1.x?

Thanks

Seems the ng-include is failing silently with no hope to make it work.

However, with MVC, I could do something like this given I am using .cshtml views for Angular:

@Html.Partial("~/App/tenant/views/refdata/shelters/_createOrEditModal.cshtml")

This works perfect.

Question, can you please tell me, how does Angular capture a request for .cshtml (how does it deal with it) and how is i tbeing served on server? Maybe some references in the source code to look at and see how it works.

Regards Bilal

No exceptions are generated.

Also, looking at Chrome Developer Tools, no request is sent to server.

I tried with .html and same issue.

Can you try it at your end?

Regards Bilal

Even with this, it doesn't work:

<div ng-include src="/App/tenant/views/refdata//createOrEditModal.cshtml" />

Thanks Ismail,

Once I reach the stage of deciding which way to go, I will rethink it more.

So my options are:

  1. Extend base view page in Razor and include a method to be used in Razor to decide if a field is to be shown or hidden
  2. Other option, bring in those rules to angular and then based on them, I show/hide fields on client side.

Maybe for the second option and to avoid showing fields all at once before the rules are loaded, is to resolve a property by calling server side to bring in the rules.

Regards Bilal

Showing 381 to 390 of 461 entries