Hi,
I have never posted before, I hope this is the correct place. My markup is below. When I click the edit button on a row and make a change in the Edit form, no update events are raised on the datasource . I have copied the sample several times from the website but I still cannot get my events wired up properly. I am using WCSF and am quite familiar with this framework. The datasource seems to work fine if I use an asp.net GridView. Any help would be appreciated.
Thanks
I have never posted before, I hope this is the correct place. My markup is below. When I click the edit button on a row and make a change in the Edit form, no update events are raised on the datasource . I have copied the sample several times from the website but I still cannot get my events wired up properly. I am using WCSF and am quite familiar with this framework. The datasource seems to work fine if I use an asp.net GridView. Any help would be appreciated.
Thanks
<pp:ObjectContainerDataSource ID="ds1" runat="server"
DataObjectTypeName="Foo.Infrastructure.Interface.Object"
ondeleted="ds1_Deleted" UsingServerPaging="True" UsingServerSorting="True"
oninserted="ds1_Inserted" onselecting="ds1_Selecting" onupdated="ds1_Updated" />
<telerik:RadGrid
ID="grid" runat="server" GridLines="None" AutoGenerateColumns="False"
AllowAutomaticInserts="True"
AllowAutomaticUpdates="True"
PageSize="100" AllowPaging="True" AllowSorting="True"
Width="100%"
AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="ds1">
<MasterTableView CommandItemDisplay="Top" EditMode="EditForms" HorizontalAlign="NotSet"
AllowAutomaticInserts="false" AllowAutomaticUpdates="true" InsertItemDisplay="Top"
runat="server" DataSourceID="ds1">
<Columns>
<telerik:GridBoundColumn DataField="Id" HeaderText="Id" DataType="System.Int32" />
<telerik:GridBoundColumn DataField="Name" HeaderText="Name" DataType="System.String" />
<telerik:GridBoundColumn DataField="ApplicationDomain" HeaderText="Domain" DataType="System.String" />
<telerik:GridBoundColumn DataField="DefaultTheme" HeaderText="Theme" DataType="System.String" />
<telerik:GridBoundColumn DataField="DateCreated" HeaderText="Created" DataType="System.DateTime" DataFormatString="{0:MMM dd yyyy}" />
<telerik:GridBoundColumn DataField="DateOnline" HeaderText="Online" DataType="System.DateTime" DataFormatString="{0:MMM dd yyyy}" />
<telerik:GridBoundColumn DataField="DateOffline" HeaderText="Offline" DataType="System.DateTime" DataFormatString="{0:MMM dd yyyy}" />
</Columns>
</MasterTableView>
</telerik:RadGrid>