We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

About encapsulating

Hi Syncfusion team!

I would like to know if there is any problem with encapsulating 
some of the Essentials Live Syncfusion controls for easier use 
from our developers and also easier deployment on client.

Artur Trapp

12 Replies

KS Kathiresan Subramaniam Syncfusion Team March 23, 2015 04:18 AM UTC

Hi Artur,

Thank you using our Syncfusion products.

We would like to inform that there is no issue to deployment with our Syncfusion controls.

Please refer the below KB article link to deploy the Syncfusion controls in client machine.
http://www.syncfusion.com/kb/2110

Could you please mention what are all the controls you are trying to deploy?

In case of any problem, while deploying the Syncfusion controls, then kindly share us the detailed information about the problem which you have faced.

Please let us know if you have any quries.

Regards,
Kathiresan S.



AR Artur March 23, 2015 07:42 PM UTC

Hi Syncfusion support!

I'm very grateful for your reply, and happy to know that there are no issues!

I am actually facing a problem on the grid, which does not let me edit
in any edit mode, and I noticed that if I set the EditMode to Batch,
everytime I navigate across the grid with arrow keys, it gives me this 
error on console, could you help me?

Regards 

Artur Trapp

Attachment: Err_Grid_481717b.zip


AS Alan Sangeeth S Syncfusion Team March 24, 2015 11:43 AM UTC

Hi Artur,

Thanks for using Syncfusion products.

Query 1: “Could not edit in any EditMode”

Please ensure that you enabled the “isPrimaryKey” property of Grid Columns. Please refer the following KB link.

http://www.syncfusion.com/kb/2675/cant-edit-any-row-except-the-first-row-in-grid

Also please refer the following documentation for further details on Grid Editing.

http://help.syncfusion.com/ug/js/documents/editing2.htm

If you still face issues with Editing then please get back to us with the following information

Please explain in detail about the issue you are facing while editing

Grid view page code snippets

Essential studio product version which you have installed in your machine.

Query 2: “script error throws in Batch Edit Mode”

We are sorry to let you know that we are unable to reproduce the issue in our end. We have created a simple sample and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/118606/EJGrid1446986453.zip

Please replicate the issue in the above sample and send us back or send the information which we asked in the above Query so that we could provide you a response as early as possible.

Information provided would be great helpful for us to resolve the issue.

Please let us know if you have any queries.

Regards,
Alan Sangeeth S




AR Artur March 24, 2015 06:19 PM UTC

Hi Syncfusion,

Im sorry to say that i'm not using MVC, and just ASP.NET.

Still couldn't get the grid to work.

I will send some printscreens of what exactly i am doing.

I instantiated the Syncfusion.JavaScript.Web.Grid inside my
class "GridEditavel", so I can translate the properties, and put
some more validations. Then I created this testing page, 
"wPonto_teste.aspx" to test the grid, and start encapsulating
the properties, but it still gives me the errors that I was 
mentioning before, but I still can't edit. Yes, I did set the
"IsPrimaryKey" property.

Regards, Artur Trapp


AR Artur March 24, 2015 06:22 PM UTC

Sorry, I forgot the prints.

Attachment: Imagens_19774286.zip


AS Alan Sangeeth S Syncfusion Team March 25, 2015 12:13 PM UTC

Hi Arthur,

We deeply regret to let you know that we are unable to reproduce the issue in our end. We have created a sample in Asp.Net with the video demonstration of working sample and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/118606/Sample437231906.zip

Video: http://www.syncfusion.com/downloads/support/forum/118606/batch1361821908.zip

In the screenshot you have shared, you have just shown the code snippets of creating new instance of Grid and did not show the code snippets where you define properties of Grid.

So please share the code snippets where you define the properties of Grid and the stack-trace of the script error which would be helpful for us to resolve the issue.

If possible, please replicate the issue in the above sample and send us back.

Also please ensure that you have referred the necessary scripts and CSS as mentioned in below link

http://help.syncfusion.com/ug/js/documents/addingthecssandscrip1.htm

Please let us know if you have any queries.

Regards,
Alan Sangeeth S




AR Artur March 25, 2015 12:43 PM UTC

Hi Syncfusion support!

I'm very very happy to say that I could fix
all the current issues, and will keep on 
encapsulating the grid, thanks to your 
awesome support! Really, you guys rock!
Even sent me a video haha!

Regards, Artur Trapp :)


AS Alan Sangeeth S Syncfusion Team March 26, 2015 03:53 AM UTC

Hi Artur,

Thanks for the update.

We are happy to hear that your issues has been resolved.

Please let us know if you have any queries.

Regards,
Alan Sangeeth S


AR Artur March 27, 2015 03:45 PM UTC

Hi Syncfusion!

The grid was working fine, but today I
turned my pc on and this error kept 
happening, yesterday it was working
perfectly..

Regards, 
Artur Trapp

Attachment: executelocal_83105509.zip


AS Alan Sangeeth S Syncfusion Team March 30, 2015 11:42 AM UTC

Hi Artur,

Thanks for the update.

We suspect that you have given null value as Grid Datasource and set “DropDown” EditType for one of the Grid columns which may be the cause of the issue.

For your information, by default, for “DropDown” EditType columns we populate list for DropDown Control’s datasource from Grid datasource. And as you have given null value as Grid datasource, the datasource for DropDown Control could not be generated and so this issue occurs.

When we have Grid column as Dropdown Edit, it is necessary that Grid datasource should not be empty at initial load.

If you are in need to set Dropdown Edit for a Grid column with Grid datasource as ‘null’ then we suggest you to use “DataSource” property of Grid Columns to bind external dataSource for the corresponding Column Dropdown.

Please refer the following code snippets.

private List<object> customers = new List<object>();

var grid = new Grid();

grid.Columns.Add(new Syncfusion.JavaScript.Models.Column() { HeaderText = "Order ID", IsPrimaryKey = true, Field = "OrderID", Width = 100 });

grid.Columns.Add(new Syncfusion.JavaScript.Models.Column() { HeaderText = "Customer ID", Field = "CustomerID", EditType = EditingType.Dropdown, DataSource = customers, Width = 100, });

For your convenience we have created a sample and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/118606/Sample-397274717.zip

Please let us know if you have any queries.

Regards,
Alan Sangeeth S



AR Artur March 30, 2015 03:38 PM UTC

Hi Syncfusion support,

Thanks for the help, it worked.

Regards, Artur Trapp


AS Alan Sangeeth S Syncfusion Team March 31, 2015 06:00 AM UTC

Hi Artur,

Thanks for the update.

We are happy to hear that your issues has been resolved.

Please let us know if you have any queries.

Regards,
Alan Sangeeth S



Loader.
Live Chat Icon For mobile
Up arrow icon