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.

sfUtility

Thread ID:

Created:

Updated:

Platform:

Replies:

108954 May 22,2013 09:45 AM May 28,2013 10:15 AM ASP.NET MVC (Classic) 4
loading
Tags: Grid
Carl Bates
Asked On May 22, 2013 09:45 AM

I've been trying to get the MVC Grid component to work but I keep on getting an error that sfEvalScripts isn't defined. It looks like I'm missing a reference to sfUtility.js but I can't find the file anywhere or the means to include it in my Razor View.

Can somebody help please?

Carl Bates
Replied On May 22, 2013 09:59 AM

Right, using a network monitor I've seen that the function is defined in some script that's being sent from the MvcResourceHandler but by the time I come to consume it the function isn't defined. does anybody have any idea what's going on with this please?

Hariharan J V [Syncfusion]
Replied On May 23, 2013 09:03 AM

Hi Carl,

Thanks for using Syncfusion products.

We have updated the response for your query in the incident 108640. Please follow the same for further details.

Please let us know if you have any other concerns.

Regards,
Hariharan J.V.

Ron Mendoza
Replied On May 27, 2013 03:36 AM

Hi, i am also this kind of issue. i have attached the error. i rendered the grid with sytle: visibility=hidden.
i tried putting the header scripts in the partial view that i am rendering but to no avail. can you give me idea on this. thanks.
here is my script code:

$.ajax({
url: '/ModalDialog/FindReferralCustomer',
type: 'post',
data: JSON.stringify({
Criteria: {
LastName: $('#Criteria_LastName').val(),
Address: $('#Criteria_Address').val(),
Phone: $('#Criteria_Phone').val(),
City: $('#Criteria_City').val()
}
}),
datatype: 'html',
contentType: 'application/json; charset=utf-8',
success: function (responseHtml) {
$('#gridReferralCustomers')[0].innerHTML = responseHtml;
$.fn.sfEvalScripts(responseHtml);
}




syncfusion_77aa9226.rar

Hariharan J V [Syncfusion]
Replied On May 28, 2013 10:15 AM

Hi Ron,

Thanks for your update.

We are sorry for the inconvenience caused. 

Before start analyzing this could you please provide more information on your requirement and your product version so that we could able to provide you a better solution quickly?.

Please let us know if you have any other concerns.

Regards,                                                                                     
Hariharan J.V.


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.

;