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

Icons break application

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
King Wilder
Top achievements
Rank 2
King Wilder asked on 25 Jun 2008, 09:42 PM
I'm using RadControls for ASP.NET Q3 2007, and when I look at the provided examples that use icons for edit, update, cancel commands, the application always breaks.

Anyway around that?

Here's the error message:

Server Error in '/NET2' Application. 
Input string was not in a correct format. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 
Exception Details: System.FormatException: Input string was not in a correct format. 
 
Source Error: 
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
 
Stack Trace: 
 
[FormatException: Input string was not in a correct format.] 
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599 
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112 
   System.Web.UI.WebControls.ImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection) +138 
   System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +12 
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +661 
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194 
 
 
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433  

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Jun 2008, 06:11 AM
Hi,

Try implementing Grid with Insert/Update/Delete functionalities as shown in the following demo.
Automatic operations

Shinu.
Tags
Grid
Asked by
King Wilder
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or