Welcome Guest Search | Active Topics | Sign In | Register

Grid Control Possibalities - Copy from Excel and Paste into ASP Grid Options
Anirudh
Posted: Tuesday, February 3, 2015 7:22:09 AM
Rank: Newbie
Groups: Member

Joined: 2/3/2015
Posts: 1
http://demo.essentialobjects.com/Demos/Grid/Features/Edit%20Grid%20Data%20-%20Excel%20Style/Demo.aspx

Hi There,

I was exploring an option if its possible to copy from excel (certain rows and columns) and paste it on the ASP .Net grid from the above link. I was thinking, if we are able to find the clicked 'cell' on the grid then we should be able to loop from the copied data (by splitting it into rows and tabs, and populate the ASP grid with the selected cell as the starting cell. I have given an example of another grid where we are able to paste the data to populate an entire grid. We want to fine tune this functionality to suit our needs,

http://www.aspsnippets.com/Demos/863/default.aspx

Question: Is it possible to achieve the above using the essential objects grid?
eo_support
Posted: Tuesday, February 3, 2015 2:39:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

EO.Web Grid does not provide any direct support for that. What you can do is to:

1. Place a "Paste into Grid" button in your page;
2. When user clicks that button, display a dialog with a textbox prompting user to paste into the textbox;
3. Use JavaScript to parse the text user entered, then use the Grid's client side API to add data into the Grid.

You can find more information about how to use our client side API here:

http://www.essentialobjects.com/doc/1/clientapi_howto.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.