ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to use in existing project with webapi datasource
Title:
B
I
{code}
?
I have a project with asp.net MVC 5 Razor with angular.js and bootstrap. Now I want to use aspnetawesome angular or MVC components in my existing project. Please let me know the steps. Is there any document available ? Kindly help.
Save Changes
Cancel
SK
asked at 23 May 2020
Answers
B
I
{code}
?
for *ASP.net MVC* you can follow the steps here: https://www.aspnetawesome.com/learn/mvc/Installation#ASPnet-MVC-543 there's also a video tutorial here https://www.youtube.com/watch?v=CeM5aVA_zwQ (it's for asp.net core but it's similar) if you want to use only aweui (without ASP.net MVC helpers) you can follow the instructions here: https://www.aspnetawesome.com/learn/aweui/Installation
Save Changes
Cancel
Omu
answered at 23 May 2020
I need further help. In our project we used to fetch data through Webapi method and calling that web api method from javascript controller. And then storing that data into `$scope.dada` . now I wanted to fill that data to aspnetawesome drop-down or combo box. What will be the syntax.
at 28 May 2020
SK
instead of `.Url` you need to use `.DataFunc("getData")` and in getData you need to return an array of keycontent, example: function getData(){ return [{k:'k1', c:'content1' }]; }
at 28 May 2020
Omu
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK