Base solution for your next web application
Open Closed

Picklist Option is available in boilerplate #2738


User avatar
0
velu created

Please give us any example for picklist.

Please check attached screen shot. Actually we required pick list for Pin Code. When we select pin code "District, State, Country" auto-fill required. Provide us any example.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Our application does not contain an example of it, but you can implement it in two ways.

    1. You can open a modal when user wants to pick countr/city/district etc. In that modal, list locations. When user clicks a record on the list, set the value of opener component. You can check ui-bootstrap's modal for how to do it.

    2. You can use select2 component which you can see here <a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_4_material_design/components_select2.html">http://keenthemes.com/preview/metronic/ ... lect2.html</a>.

    Please take a look at "Remote Data Fetching Via Ajax" section. When user writes any text in this component it gets matched records from server and displays records as a dropdown. Of course you will need to write server side code as well.

    Sorry, we cannot provide full example of every usage but we can try to help you if you have any problems while applying one of these solutions.

    Thanks.

  • User Avatar
    0
    velu created

    <cite>ismcagdas: </cite> Hi,

    Our application does not contain an example of it, but you can implement it in two ways.

    1. You can open a modal when user wants to pick countr/city/district etc. In that modal, list locations. When user clicks a record on the list, set the value of opener component. You can check ui-bootstrap's modal for how to do it.

    2. You can use select2 component which you can see here <a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_4_material_design/components_select2.html">http://keenthemes.com/preview/metronic/ ... lect2.html</a>.

    Please take a look at "Remote Data Fetching Via Ajax" section. When user writes any text in this component it gets matched records from server and displays records as a dropdown. Of course you will need to write server side code as well.

    Sorry, we cannot provide full example of every usage but we can try to help you if you have any problems while applying one of these solutions.

    Thanks.

    How Can i open two modal?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which template do you use ? Angular2, Angular1, ASP.NET Core with jQuery or ASP.NET MVC 5.x with jquery ?

  • User Avatar
    0
    velu created

    <cite>ismcagdas: </cite> Hi,

    Which template do you use ? Angular2, Angular1, ASP.NET Core with jQuery or ASP.NET MVC 5.x with jquery ?

    ASP.NET MVC 5.x & Angularjs 1.x

  • User Avatar
    0
    velu created

    <cite>velu: </cite>

    <cite>ismcagdas: </cite> Hi,

    Which template do you use ? Angular2, Angular1, ASP.NET Core with jQuery or ASP.NET MVC 5.x with jquery ?

    ASP.NET MVC 5.x & Angularjs 1.x

    Any Update?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I have sent you an email about an example implementation of this. If it is not good for you, you can implement another solution because AspNet Zero does not have picklist implementation.

    Thanks.