Nov 11, 2010, 10:00 AM
Upgrade Error 0.8.2 to 1.0
Hi all ,
I upgraded my site with Ext.Net from Coolite.Ext.Web.
Im unable to get row selection model property.
Please find the below code.
when im accessing ID_Mapping , im getting null value... In Previous version i got selected row ID.
Please let me know the solution.
<ext:Store ID="MappingDataStore" runat="server" DataSourceID="sqlMappingData" OnRefreshData="MappingDataStore_Refresh">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="ID" />
<ext:RecordField Name="Source" />
<ext:RecordField Name="Destination" />
<ext:RecordField Name="To" />
<ext:RecordField Name="From" />
</Fields>
</ext:JsonReader>
</Reader>
<BaseParams>
<ext:Parameter Name="ID_Mapping" Value="#{MapGrid}.getSelectionModel().hasSelection () ? #{MapGrid}.getSelectionModel().getSelected().id : -1"
Mode="Raw" />
</BaseParams>
<Listeners>
<LoadException Handler="Ext.Msg.alert('Products - Load failed', e.message || response.statusText);" />
</Listeners>
</ext:Store>
I upgraded my site with Ext.Net from Coolite.Ext.Web.
Im unable to get row selection model property.
Please find the below code.
when im accessing ID_Mapping , im getting null value... In Previous version i got selected row ID.
Please let me know the solution.
<ext:Store ID="MappingDataStore" runat="server" DataSourceID="sqlMappingData" OnRefreshData="MappingDataStore_Refresh">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="ID" />
<ext:RecordField Name="Source" />
<ext:RecordField Name="Destination" />
<ext:RecordField Name="To" />
<ext:RecordField Name="From" />
</Fields>
</ext:JsonReader>
</Reader>
<BaseParams>
<ext:Parameter Name="ID_Mapping" Value="#{MapGrid}.getSelectionModel().hasSelection () ? #{MapGrid}.getSelectionModel().getSelected().id : -1"
Mode="Raw" />
</BaseParams>
<Listeners>
<LoadException Handler="Ext.Msg.alert('Products - Load failed', e.message || response.statusText);" />
</Listeners>
</ext:Store>