How to Edit and Updated the Record in RadGrid with help of Objectdatasource

Posted by Johnseelan under ASP.NET on 12/19/2013 | Points: 10 | Views : 2603 | Status : [Member] | Replies : 2
Hi All I am Using telerik RadGrid Informs inline editing,updating.But not working functionality.
<asp:ObjectDataSource ID="FolderPathODS1New" runat="server" SelectMethod="GetXMLFolderList"
UpdateMethod="Set_EDWExportPath" TypeName="OCA.BLL.EDW.EDWBLL">
<SelectParameters>
<asp:ControlParameter ControlID="ddlFrequency" Name="resultId" PropertyName="SelectedValue"
Type="Int32" />
<asp:ControlParameter ControlID="ddlProgram" Name="progValue" PropertyName="SelectedValue"
Type="Int32" ConvertEmptyStringToNull="true" />
<asp:ControlParameter ControlID="chbxbME" Name="bMEValue" PropertyName="Checked" Type="Int32"
ConvertEmptyStringToNull="true" />
<asp:ControlParameter ControlID="chbxShowActive" Name="activeIndValue" PropertyName="Checked"
Type="Int32" ConvertEmptyStringToNull="true" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="EDWExportPathID" Type="Int32" />
<asp:Parameter Name="RunParam" Type="Int32" />
<asp:Parameter Name="ProductListStr" Type="string" />
<asp:Parameter Name="EDWExportPathURL" Type="string" />
</UpdateParameters>
</asp:ObjectDataSource>
<telerik:RadGrid ID="grdFolderPath" DataSourceID="FolderPathODS1New" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true" runat="server"
GridLines="None" Font-Size="Smaller" Skin="Outlook"
Width="98%" Height="370px" AllowFilteringByColumn="false" CssClass="RadGrid"
AutoGenerateColumns="False" AllowMultiRowSelection="true" OnDataBound="grdFolderPath_DataBound"
OnItemUpdated="grdFolderPath_ItemUpdated" OnItemEvent="grdFolderPath_ItemEvent" OnCancelCommand="grdFolderPath_CancelCommand">

Please advise it




Responses

Posted by: Bandi on: 12/19/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-with-edit-template-using-an-objectdatasource.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Johnseelan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response