In silverlight 2, you could add new rows to a collection through a DataGrid. But in silverlight 3, I cannot figure out how to do this without using a DataForm. Any idea?
Add an empty source to the source
lst = New genericList With { _ .field1 = "", _ .field2 = "", _ .field3 = "", _ .field4 = ""} rtnlst.Add(lst)
In the past, I was lucky just adding an empty string to the data source and then checking for non-zero values โโwhen updating the datagrid. The user can simply click on an empty line and add information, and the update procedure can insert values โโfrom there.
Source: https://habr.com/ru/post/1710558/More articles:StructureMap: EqualToAppSetting ั ะฐัะณัะผะตะฝัะพะผ ะบะพะฝััััะบัะพัะฐ non string - inversion-of-controlStuck with BinaryExpression in C # - c #LDAP AD - range attribute, how to use it? - ldapNHibernate: These classes referenced by "extends" not found - nhibernateSQL 2005 random connection timeouts / best practice regarding db timeouts - c #call Type.MakeGenericType () with zero arguments - genericsHow to stop closing mfc application when pressing ESC key - visual-c ++How can I create an object whose derived class is specified implicitly by the creation properties? - inheritanceReturn class from a nested collection using NHibernate - nhibernateThe difference between Subversion and MKS - svnAll Articles