This is a migrated thread and some comments may be shown as answers.

RadGrid Edit Problem

13 Answers 233 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sam varg
Top achievements
Rank 1
sam varg asked on 17 Mar 2010, 06:35 PM

I am fairly new to telerik controls. I have a RadGrid where I need to Edit the data. I did the same thing as in the demo in 
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

I want to use the form edit. When I click on the Edit image on my grid nothing happens. Below is my Radgrid code. I am sure I am missing something. Please let me know.

Thanks in advance.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="Center"
                                LoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True">
                                <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
                                    CellPadding="1" Font-Strikeout="False" GridLines="None" GroupingEnabled="False"
                                    Width="100%" AllowAutomaticUpdates="True">
                                    <HeaderContextMenu EnableTheming="True">
                                        <CollapseAnimation Duration="200" Type="OutQuint" />
                                    </HeaderContextMenu>
                                    <AlternatingItemStyle Font-Size="X-Small" />
                                    <ItemStyle Font-Size="X-Small" />
                                    <MasterTableView CellSpacing="-1" ClientDataKeyNames="Origrec" DataKeyNames="ContactId"
                                        ShowFooter="true">
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="ContactType" HeaderText="Contact Type" UniqueName="columnContactType" ColumnEditorID="GridEditTxtContacttype">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="ContactName" HeaderText="Name" UniqueName="columnContactName" ColumnEditorID="GridEditTxtName">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" UniqueName="columnPhone" ColumnEditorID="GridEditTxtPhone">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="columnFax" ColumnEditorID="GridEditTxtFax">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="columnEmail" ColumnEditorID="GridEditTxtEmail">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Department" HeaderText="Department" UniqueName="columnDepartment" ColumnEditorID="GridEditTxtDepartment">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                                            </telerik:GridEditCommandColumn>
                                        </Columns>
                                        <EditFormSettings ColumnNumber="2" CaptionDataField="ContactName" CaptionFormatString="Edit {0}">
                                            <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                                            <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
                                                Width="100%" />
                                            <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" />
                                            <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"
                                                UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                                            </EditColumn>
                                        </EditFormSettings>
                                    </MasterTableView>
                                </telerik:RadGrid>
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtContacttype" runat="server" TextBoxStyle-Width="200px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtName" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtPhone" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtFax" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtEmail" runat="server" TextBoxStyle-Width="150px" />
                                <telerik:GridTextBoxColumnEditor ID="GridEditTxtDepartment" runat="server" TextBoxStyle-Width="150px" />
                            </telerik:RadAjaxPanel>
                            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Vista"
                                Direction="LeftToRight" HorizontalAlign="Center" IsSticky="True">
                            </telerik:RadAjaxLoadingPanel>

13 Answers, 1 is accepted

Sort by
0
sam varg
Top achievements
Rank 1
answered on 18 Mar 2010, 04:17 PM

Any Suggestions?
0
Tsvetoslav
Telerik team
answered on 19 Mar 2010, 06:28 AM
Hi sam,

As far as the provided mark-up is concerned, there is nothing wrong with it. Could you show how you are bindnig the grid? Could you paste your whole mark-up and code-behind - please, use the code-formatter tool of the ticket editor.

Thanks.

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
sam varg
Top achievements
Rank 1
answered on 19 Mar 2010, 05:53 PM
Here is the markup and code behind. This is a user control called from another page.

Aspx code. This is a user control.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="Center" 
 LoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True">  
 <telerik:RadGrid ID="RadGridLeadManager" runat="server" AutoGenerateColumns="False" 
  CellPadding="1" Font-Strikeout="False" GridLines="None" GroupingEnabled="False" 
  Width="100%" AllowAutomaticUpdates="True">  
  <HeaderContextMenu EnableTheming="True">  
   <CollapseAnimation Duration="200" Type="OutQuint" /> 
  </HeaderContextMenu> 
  <AlternatingItemStyle Font-Size="X-Small" /> 
  <ItemStyle Font-Size="X-Small" /> 
  <MasterTableView CellSpacing="-1" ClientDataKeyNames="Origrec" DataKeyNames="Origrec" 
   ShowFooter="true">  
   <Columns> 
    <telerik:GridBoundColumn DataField="ContactType" HeaderText="Contact Type" UniqueName="columnContactType" 
     ColumnEditorID="GridEditTxtContacttype">  
    </telerik:GridBoundColumn> 
    <telerik:GridBoundColumn DataField="ContactName" HeaderText="Name" UniqueName="columnContactName" 
     ColumnEditorID="GridEditTxtName">  
    </telerik:GridBoundColumn> 
    <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" UniqueName="columnPhone" 
     ColumnEditorID="GridEditTxtPhone">  
    </telerik:GridBoundColumn> 
    <telerik:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="columnFax" 
     ColumnEditorID="GridEditTxtFax">  
    </telerik:GridBoundColumn> 
    <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="columnEmail" 
     ColumnEditorID="GridEditTxtEmail">  
    </telerik:GridBoundColumn> 
    <telerik:GridBoundColumn DataField="Department" HeaderText="Department" UniqueName="columnDepartment" 
     ColumnEditorID="GridEditTxtDepartment">  
    </telerik:GridBoundColumn> 
    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">  
    </telerik:GridEditCommandColumn> 
   </Columns> 
   <EditFormSettings ColumnNumber="2" CaptionDataField="ContactName" CaptionFormatString="Edit {0}">  
    <FormTableItemStyle Wrap="False"></FormTableItemStyle> 
    <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White" 
     Width="100%" /> 
    <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" /> 
    <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record" 
     UniqueName="EditCommandColumn1" CancelText="Cancel edit">  
    </EditColumn> 
   </EditFormSettings> 
  </MasterTableView> 
 </telerik:RadGrid> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtContacttype" runat="server" TextBoxStyle-Width="200px" /> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtName" runat="server" TextBoxStyle-Width="150px" /> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtPhone" runat="server" TextBoxStyle-Width="150px" /> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtFax" runat="server" TextBoxStyle-Width="150px" /> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtEmail" runat="server" TextBoxStyle-Width="150px" /> 
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtDepartment" runat="server" TextBoxStyle-Width="150px" /> 
</telerik:RadAjaxPanel> 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Vista" 
 Direction="LeftToRight" HorizontalAlign="Center" IsSticky="True">  
</telerik:RadAjaxLoadingPanel> 
 
         
Code Behind  
 
         
protected void Page_Load(object sender, EventArgs e)  
        {  
   getFacilityContacts(Session["sFacilityId"].ToString());  
        }         
 
 
 protected void getFacilityContacts(string facilityId)  
        {  
   ChannelFactory<IConService> Factory = new ChannelFactory<IConService>("ConService");  
            IConService Server = Factory.CreateChannel();  
   using (LabCertServer as IDisposable)  
            {  
    EntityCollection facilityLeadManagerCollection = (EntityCollection)Server.getFacilityContactByType(facilityId, "MANAGER-LEAD");  
    RadGridLeadManager.DataSource = facilityLeadManagerCollection;  
    RadGridLeadManager.DataBind();  
   }  
  }  
 


0
sam varg
Top achievements
Rank 1
answered on 23 Mar 2010, 01:58 PM
any idea what's wrong?
0
Tsvetoslav
Telerik team
answered on 23 Mar 2010, 02:21 PM
Hi sam,

You need to use Advanced databinding as opposed to Simple databinding. Please, review the online examples and the related help articles.

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
sam varg
Top achievements
Rank 1
answered on 23 Mar 2010, 03:15 PM
the difference I see is the RadGrid1_NeedDataSource. So I added that. Below is my new code. Even after I added it it doing the same thing. I am not geeting the Edit mode. Whe I click on the Add/Edit icons the grid just blinks nothing else.
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="Center"    
 LoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True">     
 <telerik:RadGrid ID="RadGridLeadManager" runat="server" AutoGenerateColumns="False"    
  CellPadding="1" Font-Strikeout="False" GridLines="None" GroupingEnabled="False"    
  Width="100%" AllowAutomaticUpdates="True">     
  <HeaderContextMenu EnableTheming="True">     
   <CollapseAnimation Duration="200" Type="OutQuint" />    
  </HeaderContextMenu>    
  <AlternatingItemStyle Font-Size="X-Small" />    
  <ItemStyle Font-Size="X-Small" />    
  <MasterTableView CellSpacing="-1" ClientDataKeyNames="Origrec" DataKeyNames="Origrec"    
   ShowFooter="true">     
   <Columns>    
    <telerik:GridBoundColumn DataField="ContactType" HeaderText="Contact Type" UniqueName="columnContactType"    
     ColumnEditorID="GridEditTxtContacttype">     
    </telerik:GridBoundColumn>    
    <telerik:GridBoundColumn DataField="ContactName" HeaderText="Name" UniqueName="columnContactName"    
     ColumnEditorID="GridEditTxtName">     
    </telerik:GridBoundColumn>    
    <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" UniqueName="columnPhone"    
     ColumnEditorID="GridEditTxtPhone">     
    </telerik:GridBoundColumn>    
    <telerik:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="columnFax"    
     ColumnEditorID="GridEditTxtFax">     
    </telerik:GridBoundColumn>    
    <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="columnEmail"    
     ColumnEditorID="GridEditTxtEmail">     
    </telerik:GridBoundColumn>    
    <telerik:GridBoundColumn DataField="Department" HeaderText="Department" UniqueName="columnDepartment"    
     ColumnEditorID="GridEditTxtDepartment">     
    </telerik:GridBoundColumn>    
    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">     
    </telerik:GridEditCommandColumn>    
   </Columns>    
   <EditFormSettings ColumnNumber="2" CaptionDataField="ContactName" CaptionFormatString="Edit {0}">     
    <FormTableItemStyle Wrap="False"></FormTableItemStyle>    
    <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"    
     Width="100%" />    
    <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" />    
    <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"    
     UniqueName="EditCommandColumn1" CancelText="Cancel edit">     
    </EditColumn>    
   </EditFormSettings>    
  </MasterTableView>    
 </telerik:RadGrid>    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtContacttype" runat="server" TextBoxStyle-Width="200px" />    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtName" runat="server" TextBoxStyle-Width="150px" />    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtPhone" runat="server" TextBoxStyle-Width="150px" />    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtFax" runat="server" TextBoxStyle-Width="150px" />    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtEmail" runat="server" TextBoxStyle-Width="150px" />    
 <telerik:GridTextBoxColumnEditor ID="GridEditTxtDepartment" runat="server" TextBoxStyle-Width="150px" />    
</telerik:RadAjaxPanel>    
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Vista"    
 Direction="LeftToRight" HorizontalAlign="Center" IsSticky="True">     
</telerik:RadAjaxLoadingPanel>    
    
            
Code Behind     
    
            
protected void Page_Load(object sender, EventArgs e)     
        {     
   getFacilityContacts(Session["sFacilityId"].ToString());     
        }            
    
    
 protected void getFacilityContacts(string facilityId)     
        {     
   ChannelFactory<IConService> Factory = new ChannelFactory<IConService>("ConService");     
            IConService Server = Factory.CreateChannel();     
   using (Server as IDisposable)     
            {     
    EntityCollection facilityLeadManagerCollection = (EntityCollection)Server.getFacilityContactByType(facilityId, "MANAGER-LEAD");     
    RadGridLeadManager.DataSource = facilityLeadManagerCollection;     
    RadGridLeadManager.DataBind();     
   }     
  }  
 
 protected void RadGridLeadManager_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
        {  
        ChannelFactory<IConService> Factory = new ChannelFactory<IConService>("ConService");     
        IConService Server = Factory.CreateChannel();     
   using (Server as IDisposable)     
            {     
    EntityCollection facilityLeadManagerCollection = (EntityCollection)Server.getFacilityContactByType(facilityId, "MANAGER-LEAD");     
    RadGridLeadManager.DataSource = facilityLeadManagerCollection;     
   }     
}         
    
 
 
0
sam varg
Top achievements
Rank 1
answered on 23 Mar 2010, 03:19 PM
<telerik:RadGrid ID="RadGridLeadManager" runat="server" AutoGenerateColumns="False"    
  CellPadding="1" Font-Strikeout="False" GridLines="None" GroupingEnabled="False"    
  Width="100%" AllowAutomaticUpdates="True" 

OnNeedDataSource

 

="RadGridLeadManager_NeedDataSource">   


Grid is like this.
0
Tsvetoslav
Telerik team
answered on 24 Mar 2010, 10:04 AM
Hello sam,

Once again, there is nothing wrong with the code provided. As a proof of that I am sending you a small sample where I have practically incorporated your code snippets, however, with a different database. I suspect the problem lies elsewhere in your implementation, for which reason I'd suggest that you open up a formal support ticket and send a runnable test project for investigation on our side. This will facilitate us to a great extent in helping you out of this situation.

Greetings,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
sam varg
Top achievements
Rank 1
answered on 24 Mar 2010, 02:31 PM

I found the problem. As I mentioned earlier this was in an user control. This had a conflict with the 

RadAjaxManagerProxy on the page it was called from.

Thanks for all your time and I really appreciate all your help.

Thanks you very much.
Sam

0
cute gal
Top achievements
Rank 1
answered on 25 Mar 2010, 04:35 PM
hi iam new to telerik controls.
n m facing prb to edit contents in radgrid.
i want to make use of inline editing mode
i only want to update quantity field..
please help me...
thanxxx
 <asp:SqlDataSource ID="SqlDataSource1" runat="server" DataSourceMode="DataSet" ConnectionString="<%$ ConnectionStrings:sshopConnectionString %>" 
                    SelectCommand="SELECT ShoppingCartId, Product.ProductName, Picture.PictureBinary as ProductImage, Product.Cost as UnitPrice, ShoppingCart.Quantity, (ShoppingCart.Quantity * Product.Cost) as SubTotal FROM ShoppingCart, Product, Picture WHERE Product.ProductId=ShoppingCart.ProductId and Picture.PictureId in (select top 1 PictureId from Picture as pp where pp.ProductId=Product.ProductId ) and ([CartGUID] = @CartGUID)" 
                    UpdateCommand="Update ShoppingCart set Quantity=@Quantity where ShoppingCartId=@ShoppingCartId"
                    <SelectParameters> 
                        <asp:ControlParameter ControlID="lblCartid" Name="CartGUID" PropertyName="Text" Type="String" /> 
                    </SelectParameters> 
                    <UpdateParameters> 
                        <asp:Parameter Type="String" Name="Quantity" /> 
                        <asp:Parameter Type="Double" Name="ShoppingCartId" /> 
                    </UpdateParameters> 
                </asp:SqlDataSource> 
 
 
 
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" 
                    GridLines="None" AllowAutomaticDeletes="True" PageSize="10" AllowAutomaticUpdates="True" 
                    AllowPaging="True"
                      <PagerStyle Mode="NextPrevAndNumeric" /> 
                    <MasterTableView DataSourceID="SqlDataSource1" Width="100%" CommandItemDisplay="TopAndBottom" 
                        DataKeyNames="ShoppingCartId"
                        <Columns> 
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                            </telerik:GridEditCommandColumn> 
                            <telerik:GridBoundColumn DataField="ShoppingCartId" DefaultInsertValue="" HeaderText="ShoppingCartId" 
                                SortExpression="ShoppingCartId" UniqueName="ShoppingCartId" DataType="System.Int32" 
                                ReadOnly="True" Display="False" Visible="False"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="ProductName" DefaultInsertValue="" HeaderText="ProductName" 
                                SortExpression="ProductName" ReadOnly ="true" UniqueName="ProductName"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBinaryImageColumn DataField="ProductImage" UniqueName="ProductImage" 
                                HeaderText="Product Image" ImageAlign="Left" ResizeMode="Fit" ImageHeight="80px" 
                                ImageWidth="80px" ReadOnly="True" Resizable="False" ItemStyle-Height="80px" ItemStyle-Width="80px"
                            </telerik:GridBinaryImageColumn> 
                            <telerik:GridBoundColumn DataField="UnitPrice" DataType="System.Decimal" DefaultInsertValue="" 
                                HeaderText="UnitPrice" ReadOnly="true" SortExpression="UnitPrice" UniqueName="UnitPrice"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="Quantity" DataType="System.Int32" DefaultInsertValue="" 
                                HeaderText="Quantity" ColumnEditorID="GridTextBoxColumnEditor1" SortExpression="Quantity" UniqueName="Quantity"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="SubTotal" DataType="System.Decimal" DefaultInsertValue="" 
                                HeaderText="SubTotal" ReadOnly="True" SortExpression="SubTotal" UniqueName="SubTotal"
                            </telerik:GridBoundColumn> 
                        </Columns> 
                        <EditFormSettings> 
                            <EditColumn UniqueName="EditCommandColumn1"
                            </EditColumn> 
                        </EditFormSettings> 
                    </MasterTableView> 
                    <ClientSettings> 
                <ClientEvents OnRowDblClick="RowDblClick" /> 
            </ClientSettings> 
                </telerik:RadGrid> 


0
Insad
Top achievements
Rank 2
answered on 25 Mar 2010, 05:52 PM
Explaining your problem in more detail is helpfull. What you have done/tried sofar?
Writing in normal words will get more attention from the visitors here.

For the editing inline with automatic operations, that's what you need i think, is a nice example online:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

Cheers
0
cute gal
Top achievements
Rank 1
answered on 26 Mar 2010, 12:29 AM
hi Insad , thnx 4 ur post ..
prb was wit my datasource..i've nw chngd it to:
<asp:SqlDataSource ID="source1" runat="server" DataSourceMode="DataSet" ConnectionString="<%$ ConnectionStrings:sshopConnectionString %>" 
                    OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues" 
                    SelectCommand="SELECT ShoppingCartId, Product.ProductName, Picture.PictureBinary as ProductImage, Product.Cost as UnitPrice, ShoppingCart.Quantity, (ShoppingCart.Quantity * Product.Cost) as SubTotal FROM ShoppingCart, Product, Picture WHERE Product.ProductId=ShoppingCart.ProductId and Picture.PictureId in (select top 1 PictureId from Picture as pp where pp.ProductId=Product.ProductId ) and ([CartGUID] = @CartGUID)" 
                    UpdateCommand="Update [ShoppingCart] set [Quantity]=@original_Quantity where [ShoppingCartId]=@original_ShoppingCartId" 
                    DeleteCommand="DELETE FROM [ShoppingCart] WHERE [ShoppingCartId] = @original_ShoppingCartId"
                    <SelectParameters> 
                        <asp:ControlParameter ControlID="lblCartid" Name="CartGUID" PropertyName="Text" Type="String" /> 
                    </SelectParameters> 
                    <UpdateParameters> 
                        <asp:Parameter Type="Int32" Name="original_Quantity" /> 
                        <asp:Parameter Type="Double" Name="original_ShoppingCartId" /> 
                    </UpdateParameters> 
                    <DeleteParameters> 
                        <asp:Parameter Type="Double" Name="original_ShoppingCartId" /> 
                    </DeleteParameters> 
                </asp:SqlDataSource> 

nw m able 2 delete records bt still editing it is nt working...
ne ideas whts getting wrong???

0
cute gal
Top achievements
Rank 1
answered on 26 Mar 2010, 10:48 AM
hey i gt it.... my fault was i was updating quantity with original values only..
neways thnx 4 ur  response...
..
Tags
Grid
Asked by
sam varg
Top achievements
Rank 1
Answers by
sam varg
Top achievements
Rank 1
Tsvetoslav
Telerik team
cute gal
Top achievements
Rank 1
Insad
Top achievements
Rank 2
Share this question
or