Monday, December 15, 2014

kendo ui grid template if else

Use if else condition in kendo  UI template

 <script type="text/x-kendo-template" id="template">  
               <div id="details-container">  
                 <dt> Name:</dt> #= Name #  
                <br>   
                 <dt>Selected Device: </dt> iOS:-# if (PushToiOS == true) { #Yes# } else { #No# } #,  
                               Android:-# if (PushToAndroid == true) { #Yes# } else { #No# } #,  
                               WP:-# if (PushToWP == true) { #Yes# } else { #No# } #  
                <br>  
                 <dt>Expire Date:</dt> #= kendo.toString(ExpiredDate, "MM/dd/yyyy") #  
                <br>  
               </div>  
       </script>  


Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file

In my Xamarin form application their was dependency Restclient on Microsoft.Bcl.Build Microsoft.Bcl. i just remove all using nuget and ...