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.
Unfortunately, activation email could not send to your email. Please try again.

Unknown server tag in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

117199 Sep 2,2014 12:30 PM Apr 27,2016 03:34 AM ASP.NET Web Forms 10
loading
Tags: Grid
Roimer Machacón Otero
Asked On September 2, 2014 12:30 PM

Hi, I update essential studio to the version 12.2.0.36.

Now we are using the grid element of this example:
http://asp.syncfusion.com/demos/web/Grid/DefaultFunctionalities.aspx

But when implementing this example in our web site mark the following error:

Server tag 'ej:Column' unknown

Which may be the problem?

Attached a file showing the problem

Attachment: Server_tag_unknown_b209ac41.rar

Roimer Machacón Otero
Replied On September 2, 2014 03:04 PM

Hi, Now the problem is that in the console of the web browsers appears "Uncaught ReferenceError: ej is not defined "

Attached a file showing the problem.
Attachment: Error_grid_502e40fe.rar

Ragavee U S [Syncfusion]
Replied On September 3, 2014 05:27 AM

Hi Nestor Alvarado Namen

 

We have analyzed the issue that you have mentioned and suspect that the cause of the issue is that you may have missed out to refer the ej.web.all.min.js file in the sample project.

 

Also, it is necessary to add the Syncfusion.EJ namespace and assembly reference in the web.config page. Please refer the below code snippet.

 

<assemblies>

      <add assembly="Syncfusion.EJ.Web, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

      <add assembly="Syncfusion.EJ, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

      </assemblies>

 

<controls>

        <add  namespace="Syncfusion.JavaScript.Web" assembly="Syncfusion.EJ.Web, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>

        <add  namespace="Syncfusion.JavaScript.Web" assembly="Syncfusion.EJ, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>       

        <add  namespace="Syncfusion.JavaScript.Models" assembly="Syncfusion.EJ, Version=12.2400.0.36, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>       

      </controls>

 

For your convenience, we have created a simple sample and the same can be downloaded from the following location.

 

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/Sample1774740629.zip

 

Please try the above sample. If you still face difficulties, please reproduce the issue that you face in the above sample or provide us with your sample/master page and web.config page. The provided information will be helpful for us to analyze the issue and provide you with response as early as possible.

 

For more information in order to create an application in ASP.NET (latest) and configure the settings manually, please refer the following KB document

 

KB Document Link: http://www.syncfusion.com/kb/2504/how-to-migrate-from-asp-net-classic-to-asp-net

 

Please let us know if you need any further assistance.

 

Regards

Ragavee U S


Roimer Machacón Otero
Replied On September 10, 2014 12:52 PM

Hi. Thanks for the answer. This work in our project. Now for the grid exist a form to configure the language of this. In the grid always appear the information in english. Example: When no data this display: "No records to display", now a message in spanish how to configure???

Ragavee U S [Syncfusion]
Replied On September 11, 2014 02:21 AM

Hi Nestor Alvarado Namen

 

Thanks for the update.

 

We have analyzed your requirement and suspect that you have asked for Localization of the grid’s text “No Records to display”. We can achieve your requirement as in the code snippet below

 

<ej:Grid ID="OrdersGrid" runat="server" AllowGrouping="True" AllowPaging="True" Locale="es-ES">

. . .

</ej:Grid>

<script type="text/javascript">

ej.Grid.localization["es-ES"] = {

              EmptyRecord: "No hay registros para mostrar"

              }

</script>

 

Also, like this we can translate the content for the following too:

 

ej.Grid.localization["es-ES"] = {

        GroupDropArea: "Arrastre un encabezado de columna aquí",

        DeleteOperationAlert: "No hay registros seleccionados para la operación de eliminación",

        EditOperationAlert: "No hay registros seleccionados para la operación de edición",

        SaveButton: "guardar",

        CancelButton: "cancelar",

        EditFormTitle: "Editar detalles de",

        GroupCaptionFormat: "artículos",

        };

ej.Pager.localization["es-ES"] = {

        pagerInfo: "{0} de {1} páginas ({2} artículos)"

        firstPageTooltip: " Ir a la primera página ",

        lastPageTooltip: " Ir a la última página ",

        nextPageTooltip: " Ir a la página siguiente ",

        previousPageTooltip: " Ir a la página anterior",

        nextPagerTooltip: " Ir al siguiente Pager",

        previousPagerTooltip: " Ir a Pager anterior"

    };

 

For more information on the localization property, please refer the following links

 

Online Documentation Link: http://help.syncfusion.com/ug/js/default.htm#!documents/localization.htm

 

Online Sample Link: http://asp.syncfusion.com/demos/web/Grid/Localization.aspx

 

Please let us know if you require any further assistance.

 

Regards

Ragavee U S


Roimer Machacón Otero
Replied On September 25, 2014 06:19 PM

Hi, the example not working, appear this error in the console "Uncaught TypeError: Cannot set property 'es-ES' of undefined "

Attached image with the message error.

If is possible a example for this

Attachment: error_localization_463924ea.rar

Gowthami V [Syncfusion]
Replied On September 26, 2014 03:41 PM

Hi Nestor

Sorry for the inconvenience caused.

We have analyzed the issue that you have mentioned in the previous response and we would like to let you know that we are able to reproduce the reported issue.

We have mistakenly provided the code for Localization as “ej.Grid.localization[es-Es]” instead of “ej.Grid.locale[es-ES]” and please refer the below code snippet for more clarification.

<ej:Grid ID="OrdersGrid" runat="server"  Locale="es-ES" AllowGrouping="true" >

ej:Grid> 

 

    <script>

        ej.Grid.locale["es-ES"] = {

            EmptyRecord: "No hay registros que mostrar"

         };

       

        script>

    

 

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

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/Sample397366992.zip


Please try the above sample and let us know if you have any queries.

Regards,

Gowthami V.


Roimer Machacón Otero
Replied On September 30, 2014 05:46 PM

Hi, the last example work for me, now for have a complete translation missing information for the grid toolbar buttons, and the message confirm of save in the grid, these still appear in english 

Attached a image with the information required.

Thanks you!

Attachment: translation_8f44eeca.rar

Ragavee U S [Syncfusion]
Replied On October 1, 2014 07:21 AM

Hi Nestor Alvarado Namen

 

We are sorry for the inconvenience caused.

 

We have analyzed the screenshot that you have provided. In order to translate the alert messages during batch edit, we need to include the localization for the alert messages in the javascript. The toolbar button text can also be translated using localization. Please refer the below code snippet.

 

ej.Grid.locale["es-ES"] = {

            . . .

            BatchSaveConfirm: "¿Seguro que quiere guardar los cambios?",

            BatchSaveLostChanges: "Se perderán los cambios no guardados. ¿Seguro que quieres continuar?",

            Add: "Añadir",

            Edit: "Editar",

            Delete: "eliminar",

            Update: "actualización",

            Cancel: "Cancelar",

            };

 

For your convenience, we have modified the previously updated sample by including all the possible localization for the grid. The sample can be downloaded from the below location.

 

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/LocalizationSample1532011058.zip

 

Please try the above sample and get back to us if you need any further assistance.

 

Regards

Ragavee U S


Roimer Machacón Otero
Replied On April 26, 2016 07:12 PM

Hi, updating syncfusion version to 14.1.0.41 ej.Grid.locale["es-ES"] = {} It stopped working, in the previous version used for us 12.4.0.34 this work correctly. Now appear idiomaSyncfusion.js:1 Uncaught TypeError: Cannot set property 'es-ES' of undefined

Ragavee U S [Syncfusion]
Replied On April 27, 2016 03:34 AM

Hi Roimer Machacón Otero,  

We have made some changes in the Essential Studio V13.4.0.53 for the localization support of Syncfusion Controls and defined our own culture files. Please refer to the release notes for more information. 


Also, we changed the ej.Grid.locale to ej.Grid.Locale. So we suggest to use the following code example.   

ej.Grid.Locale["es-ES"] = {  . . . . };  

We have uploaded the predefined language packs for some commonly used cultures in the below github location. So refer to the below github location for getting the predefined language packs for the corresponding culture. The culture file has localized texts for all the Syncfusion controls.

https://github.com/syncfusion/ej-global/blob/master/localetexts

Please refer to the online sample link for more information.

Online Sample Link: http://asp.syncfusion.com/demos/web/grid/localization.aspx 
 
Regards,  
Ragavee U S.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;