WebGrid Community Server

Welcome to WebGrid Community Server Sign in | Join | Help
in Search

Problem with closing the window button

Last post 08-10-2009, 7:49 by admin. 1 replies.
Sort Posts: Previous Next
  •  05-19-2009, 13:37 1027

    Problem with closing the window button

    When i close the window or save the window after getting data in the grid i'm getting java script error saying 'Anthem ajax error message:BADRESPONSE' . Also I'm not able to delete even a single row from the grid because it shows the following error:



    Anthem ajax error message:
    WebGrid.Design.GridException: A empty or null row identifier was passed to DeleteRow method. Make sure WebGrid has a primary key.

       at WebGrid.Data.Table.DeleteRow(String rowID)

       at WebGrid.Grid.RecordDeleteClickEvent(String[] eventArguments)

       at WebGrid.Grid.RaisePostBackEvent(String eventArgument)

       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



    Can any one help me out here......



    Thanks & Regards,
    -Ravi Vellanki
  •  08-10-2009, 7:49 1085 in reply to 1027

    Re: Problem with closing the window button

    Hi,

    As it says in the error description 'make sure WebGrid has a primary key'. This should fix this issue.


    Olav Botterli, WebGrid Founding Developer

    Learn more with WebGrid Support Kit or Subscribe to WebGrid Announcements
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems