iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Team,
I am getting an error while using "paste multiple rows from clipboard" in webgrid from context menu.
Paste multiple rows from clipboard in webgrid crashing if containing a numeric column and MyColumn.EditType = EditType.NoEdit
Attached a video for your refrence.
Points To Remember :
I have a column with Numeric Type and its EditType = NoEdit
Steps to replicate.
The Properties of this Column are :
In database, table is having column(having datatype float and supports null).(DB.png File attached for example)
1. Fetch DataTable from database.
2. Bind the DataTable into webgrid.
3. Copy the row from the context menu option "Copy this row".
4. Paste the row using context menu option "Paste multiple rows from clipboard".
5. you will get an error "Unable to get property Inner text of undefined or null reference".(grid.png attached for example)
Points To Remember :I have a column with Numeric Type and its EditType = NoEdit
I was unable to reproduce the problem by using CopyPasteMultipleRows.aspx sample file of WebGrid. Please see attached video which shows how the reported problem is evaluated in my end.
Thank you and have a nice day.
Hi Yudi,
Can you please make "UnitinStocks" Colunm as System.Decimal instead of Int and try to replicate. Because my colunm is decimal type.
Thanking You
Thank you for the hint. Instead of changing "UnitInStock" column as System.Decimal, I'm using "UnitPrice" column which by default has decimal data type.
The reported problem occurs if the following conditions are met:
If your grid's structure met the above condition, the steps below can be used as workaround in order to avoid the problem.
I have tested this workaround and found that the exception is no longer persist when user paste multiple rows from clipboard. Please let me know whether this helps or not.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname