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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid With Unobtrusive support

Thread ID:

Created:

Updated:

Platform:

Replies:

117825 Dec 22,2014 07:51 PM UTC Dec 23,2014 02:16 PM UTC ASP.NET MVC 3
loading
Tags: TreeGrid
Andrea Perazzolo
Asked On December 22, 2014 07:51 PM UTC

Hi,
I just tried to render a TreeGrid using one of your examples.
The result I achieved is an empty Grid with many rows and empty cells.
I worked a little and discovered that this behavior seems to happen when there is the UnobtrusiveJavascript enabled.
If I disable this flag the data appears in the treeGrid.
I need to use the unobtrusive feature enabled because I am using a Treeview in another page with Drag & Drop that works only with that flag enabled.
I tried to disable the UnobtrusiveJavascript flag for only a page but doesn't work.
I'll be glad to know if there is a workaround.

    Thanks

   Andrea Perazzolo

John Rajaram [Syncfusion]
Replied On December 23, 2014 12:16 PM UTC

Hi Andrea,

 

Thanks for using Syncfusion product.

 

Could you please share us the Syncfusion Product version that you are using now? This would be helpful for us to provide you the sample with corresponding DLL version.

 

Please let us know if you require further assistance on this.

Regards,

John R


Andrea Perazzolo
Replied On December 23, 2014 12:35 PM UTC

Hi Andrea,

 

Thanks for using Syncfusion product.

 

Could you please share us the Syncfusion Product version that you are using now? This would be helpful for us to provide you the sample with corresponding DLL version.

 

Please let us know if you require further assistance on this.

Regards,

John R


Hi,
I am using the latest version (12.3.0.38) on MVC 5 and .NET Framework 4.5
The Project has the unobtrusive Javascript Enabled by default (I need it for the reload of a TreeView after an Ajax load)

   Andrea Perazzolo


John Rajaram [Syncfusion]
Replied On December 23, 2014 02:16 PM UTC

Hi Andrea,

 

We regret for the inconvenience caused.

 

We would like to let you know that, currently we have achieved your requirement through workaround sample by enabling UnobtrusiveJavascript. Please refer the following code snippets.

 

Code Snippets:

 

 

<script type="text/javascript">

 

     $.extend(true,ej.TreeGrid.prototype.dataTypes,{dataSource:"data"})

 

</script>

 

 

We have also prepared a sample based on this and you can find the sample under the following attachment.

Now we have logged an issue report on “DataType issue in UnobtrusiveJavascript enabled mode”. The fix for this issue will be available in our upcoming service pack release and we would let you know once it is rolled out.

 

Please let us know if you need more information on this.

 

Regards,
John. R


Attachment: MvcApplicationTreeGrid_d61d77ec.zip

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.

Warning Icon 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.Close Icon

;