Archivi del mese: gennaio 2016

ASP.Net MVC client side validation with Bootstrap Select Picker

On my bootstrap template I use bootstrap select picker Using this plugin in DropDownList the validation client side not works. I found a great solution on stackoverflow and I report it here to share with you Add the class selectpicker … Continua a leggere

Pubblicato in jquery, MVC | Contrassegnato , , , | Lascia un commento

Entity Framework left outer join

Many times I talked about Entity Framework join by linq. Today I show how to do LEFT OUTER JOIN or LEFT JOIN. Notice the end of line “join sve”, you’ll notice “into sveList” Then I call DefaultIfEmpty on this var … Continua a leggere

Pubblicato in c#, Entity Framework, SQL | Contrassegnato , , , | Lascia un commento

LDAP SSL check authentication C#

To connect to LDAP I found many developer that use DirectoryEntry and I think this is the most popular solution. This solution works good if the LDAP is not on SSL or if the certificate is signed by a certification … Continua a leggere

Pubblicato in Active Directory, c# | Contrassegnato , , , | Lascia un commento

Convert SVG to font icon

I work many times with the .svg file. I suggest it because they could be resized without quality loss. But if you need to use the svg file as icon I suggest instead to use the font as font awesome … Continua a leggere

Pubblicato in HTML5 | Contrassegnato , , | Lascia un commento

Entity Framework Many to Many join

If you use Entity Framework 6 (EF) design first to create the domain classes if you have a relationship many to many without any extra field inside the join table, EF will avoid to create the join table model. On … Continua a leggere

Pubblicato in c#, Entity Framework, SQL | Contrassegnato , , , , | Lascia un commento

Bootstrap smooth animation change column width

In bootstrap there is a great grid layout system. My request today was to resize a column dynamically I found this sample: http://jsfiddle.net/tolginho/EBqZv/5/ My target was collapse a right column like a sidebar: this is the result: http://jsfiddle.net/0gg8ych3/1/ Here my … Continua a leggere

Pubblicato in Bootstrap, HTML5 | Contrassegnato , , , , , | Lascia un commento