WebGrid Community Server
Welcome to WebGrid Community Server
Sign in
|
Join
|
Help
in
WebGrid general questions (forum)
WebGrid - plug and play datagrid (group)
(Entire Site)
Search
Home
Forums
WebGrid Community Server
»
WebGrid - plug and play datagr...
»
WebGrid general questions
»
Problem with closing the window button
Problem with closing the window button
Last post 08-10-2009, 7:49 by
admin
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-19-2009, 13:37
1027
rvellanki
Joined on 05-15-2009
Posts 4
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
Report abuse
08-10-2009, 7:49
1085
in reply to
1027
admin
Joined on 02-25-2006
Norway
Posts 627
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
Report abuse
2006 WebGrid. All rights reserved.