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.
Syncfusion Feedback

Issues rendering a button using asp.net mvc (NOT classic version) v12.1500.0.43

Thread ID:

Created:

Updated:

Platform:

Replies:

116235 Apr 30,2014 12:13 PM UTC May 16,2014 02:46 AM UTC ASP.NET MVC 5
loading
Tags: Button
Razvan Catrina
Asked On April 30, 2014 12:13 PM UTC

Hello,

I am trying to integrate the new asp.net mvc controls v12.1500.0.43 (e.g. @Html.EJ().Button) and I have some problems:

the code that I am using in cshtml page is : @Html.EJ().Button("All").Text("[ALL]").RoundedCorner(true).Size(ButtonSize.Small).ClientSideEvents(eve => { eve.Click("onclick"); }).Render()

I also included @(Html.EJ().ScriptManager()) before the end of the html body tag and ej.web.all.js as a script reference.

The problem is that the script that should be included in the page and should look like: "$(function($){$("#All").ejButton({roundedCorner:true,size:"small",text:"[ALL]",click:"onclick"});});" is not included at all.

Can you please help me with this?

Thank you for your time,
Razvan

Harikrishnan P [Syncfusion]
Replied On May 1, 2014 11:22 AM UTC

Hi Razvan,

Sorry for the inconvenience caused. Change the value of ‘UnobstrusiveJavascriptEnabled’ to “false”, in the web.config file as below to generate the script for Button control,

 

<add key="UnobtrusiveJavaScriptEnabled" value="false" />

 

 

 

If ‘UnobtrusiveJavaScriptEnabled’ value is set to true some controls not rendering properly or scripts not generated. This is a known issue, and the fix for this issue will be available in our upcoming main release vol 2 2014. If still you face the problem, please get back to us.

 

Please let us know if you have further queries.

Regards,

HariKrishnan.


Razvan Catrina
Replied On May 14, 2014 08:50 PM UTC

Hello HariKrishnan,

Thank you for your response. I'll try again and let you know if I still have problems.

Regards,
Razvan

Harikrishnan P [Syncfusion]
Replied On May 16, 2014 02:45 AM UTC

Hi Daniel,

Our upcoming main release vol 2 2014 is expected to be rolled out by the end of June. If you need any assistance please feel free to ask us we will be happy to serve you.

Please let us know if you have further queries.

Regards,

HariKrishnan.


Harikrishnan P [Syncfusion]
Replied On May 16, 2014 02:46 AM UTC

Hi Razvan,

Thanks for the update. Please get back to us if you have further queries.

Regards,

HariKrishnan.


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

;