On Wed, May 14, 2008 at 9:45 AM, Stephen Price <[EMAIL PROTECTED]>
wrote:

> Hey all,
>
> I have a question on Databindings.
>
Your question is not really clear. I think you have assigned the
DataTemplate to the wrong property (ItemContainerStyle). This property has
to be used to give a <Style> to the item container. You have to assign the
data template to the same ItemTemplate property.

<ListBox x:Name="pageList" SelectionChanged="pageList_SelectionChanged"
ItemTemplate="{StaticResource PageListBoxItem}" />

But I'm not sure about your question... Is PageListBoxItem the DataTemplate
you have put in the Resources section?
If I didn't  understand please post a little more code.

Bye

-- 
Andrea Boschin
Microsoft(R) MVP - [Visual Developer - ASP/ASP.NET]
http://blog.boschin.it
http://www.xedotnet.org
http://mvp.support.microsoft.com/profile/Andrea.Boschin



------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

Reply via email to