Home > DeveloperSection > Forums > How do I remove a listbox new item placeholder?
Samuel Fernandes
Samuel Fernandes

Total Post:159

Posted on    September-24-2013 8:35 AM


 1 Reply(s)
 3347  View(s)
Rate this:

I have been scratching my head for a while with an extra item in a wrap panel for content in a ListBox.

I finally striped back my code and discovered the LixtBox itself has a New Item Placeholder at the end of the data I have bound to it.

I haven't been able to figure out how to disable the New Item Placeholder. Any suggestions?

Pravesh Singh

Total Post:412

Posted on    September-24-2013 8:52 AM

Hi Samuel,
I discovered that the data source was being affected by a DataGrid. Within the same screen I am displaying detailed data in a DataGrid and also summary data in a ListBox.

We don't allow users to add items to the DataGrid so after I set the DataGrid's CanUserAddRows="False" my problem went away.

Don't want to miss updates? Please click the below button!

Follow MindStick