Hello,
I need to use the Insert feature of RadGridView as dataentry for a splash screen I need to develop,
I've created the gridview schema, with the columns :
And I need to set the Societa and Fondo combobox based on a itemsource I get from WCF ... to be sincere the Fondo is a second wcf call passing the "societa" parameter... where should I set the itemsource? I've seen the RowLoaded event but it's not fired when I click on the new item of the gridview...
Can you provide me a sample, thanks
Paolo
I need to use the Insert feature of RadGridView as dataentry for a splash screen I need to develop,
I've created the gridview schema, with the columns :
<telerikGridView:RadGridView Grid.Row="6" Grid.ColumnSpan="2" x:Name="gvOrdini" AutoGenerateColumns="False" ShowGroupPanel="False" ShowInsertRow="True" AddingNewDataItem="gvOrdini_AddingNewDataItem" RowLoaded="gvOrdini_RowLoaded" CanUserInsertRows="True" > |
<telerikGridView:RadGridView.Columns> |
<telerikGridView:GridViewComboBoxColumn Header="Società " UniqueName="Societa" x:Name="cbSocieta"></telerikGridView:GridViewComboBoxColumn> |
<telerikGridView:GridViewComboBoxColumn Header="Fondo" UniqueName="Fondo"></telerikGridView:GridViewComboBoxColumn> |
<telerikGridView:GridViewBoundColumnBase Header="Seleziona Fondo"></telerikGridView:GridViewBoundColumnBase> |
<telerikGridView:GridViewDataColumn Header="Qty" UniqueName="Qty" x:Name="Qty"></telerikGridView:GridViewDataColumn> |
<telerikGridView:GridViewDataColumn Header="Ctv" UniqueName="Ctv" x:Name="Ctv"></telerikGridView:GridViewDataColumn> |
<telerikGridView:GridViewDataColumn Header="Nav" UniqueName="Nav" x:Name="Nav"></telerikGridView:GridViewDataColumn> |
<telerikGridView:GridViewDataColumn Header="Tipo Operazione" UniqueName="Side" x:Name="IDOrder" DataMemberBinding="{Binding IDOrder}"></telerikGridView:GridViewDataColumn> |
<telerikGridView:GridViewDataColumn Header="Note" UniqueName="Note" ></telerikGridView:GridViewDataColumn> |
</telerikGridView:RadGridView.Columns> |
</telerikGridView:RadGridView> |
And I need to set the Societa and Fondo combobox based on a itemsource I get from WCF ... to be sincere the Fondo is a second wcf call passing the "societa" parameter... where should I set the itemsource? I've seen the RowLoaded event but it's not fired when I click on the new item of the gridview...
Can you provide me a sample, thanks
Paolo