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

hi guys

1 Answer 67 Views
Editor
This is a migrated thread and some comments may be shown as answers.
andrea
Top achievements
Rank 1
andrea asked on 23 Jan 2009, 05:01 PM
Hi guys can you please help me to find out this issues:
i am using radgrid with a webuserForm but when i click on Update button i can't get the values of the control of the row that i've already selected

on the radgrid  itemCommand event I have this code

 

protected void lstCompetitions_ItemCommand(object source, GridCommandEventArgs e)

 

{

 

    switch (e.CommandName.ToString())

 

    {

 

        case "Update":

 

        {

 

        GridEditableItem editedItem = e.Item as GridEditableItem

 

 

        string cell = (editedItem["txtdescription"].Controls[0] as TextBox).Text;

 

 

 

 

        break;

 

    }

 

 

}

and this is the  error
base {Telerik.Web.UI.GridException} = {"The current EditFormType does not support the requested editing capabilities."}

what's wronge?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Jan 2009, 05:00 PM
Hello Andrea,

I answered your support ticket but for the convenience of our community I pasted the same snippet here.<EditFormSettings EditFormType="WebUserControl" />Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
andrea
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or