Archivi tag: ListView

WP8.1 ListView set item alignment with HorizontalContentAlignment Stretch

In Windows Phone 8.1 (WP8.1) the new ListView controls work different respect ListBox. In ListBox to stretch the child items it’s necessary use this code: In ListView this property don’t work as expected. To fix this behavior use this trick:

Pubblicato in Store Apps, Windows 8, windows phone, WP8, wp8.1, xaml | Contrassegnato , , , , , , | Lascia un commento

ASP.Net Binding Parser Error

I received some request about binding in ASP.Net so now I’ll explain when use ” or ‘ in binding If the control has the attribute runat=”server” like Literal1 notice that after Text= I used ‘ and not “. Instead if … Continua a leggere

Pubblicato in .Net, Asp.Net, c# | Contrassegnato , , , | Lascia un commento

ASP.Net ListView call method or pass row object

Anyone knows how to bind a property in a list view, but someone doesn’t knows that it’s possible to call a method with a property value or a method with row object as parameter As you can see I create … Continua a leggere

Pubblicato in .Net, Asp.Net, c# | Contrassegnato , , , , , , | Lascia un commento

ASP.Net ListView call javascript, css class

Today I’ve used the Asp.Net ListView control, It’s very easy to use but there are many thing to know to obtain the best result. In this post I’ll explain how to bind the value to show and how to call … Continua a leggere

Pubblicato in Asp.Net, c#, MVC | Contrassegnato , , | 1 commento