Datagrid not accepting any special characters


hi using silverlight 2 march tool kit.

i have datagrid bound data source column bound class property of type string.

now when type text , go next column, if has special characters cell content erased. if contains characters or number or alpha numeric contents retained.

is normal behaviour or missing out something.


xaml:
<data:datagridtextcolumn header="description" width="150" binding="{binding mode=twoway, path=slname}" >
     <data:datagridtextcolumn.elementstyle>
          <style targettype="textblock">
               <setter property="textwrapping" value="wrap" />
          </style>
     </data:datagridtextcolumn.elementstyle>
</data:datagridtextcolumn>
<
data:datagridtextcolumn header="description" width="150" binding="{binding mode=twoway, path=sldescription}" >
     <data:datagridtextcolumn.elementstyle>
          <style targettype="textblock">
               <setter property="textwrapping" value="wrap" />
          </style>
     </data:datagridtextcolumn.elementstyle>
</data:datagridtextcolumn>

c#:
public
class details
{
     public string slname { get; set; }
     public string sldescription { get; set; }
}

public list<details> detailslist= new list<details>();
dgdetails.itemssource = null;
dgdetails.itemssource = detailslist;


hi,

what kind of special characters trying enter?



Silverlight  >  Silverlight Controls and Silverlight Toolkit



Comments

Popular posts from this blog

more indexes

ActiveDirectory

Virtual Channel