This is a migrated thread and some comments may be shown as answers.

[Solved] Some button is not working

1 Answer 34 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Selçuk
Top achievements
Rank 1
Selçuk asked on 11 May 2011, 08:58 AM

Hi,

I applied the instructions of documentation of Telerik ASP.NET MVC Editor. ( http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-editor-introduction.html )

Some buttons work correctly but some buttons are not.

I don't have any idea why that happened.

Offical Examples working correctly on my computer.

I tried several way to achive this goal but all results are same..

Is there anybody who has any idea or suggest to solve this problem ?

1 Answer, 1 is accepted

Sort by
0
Selçuk
Top achievements
Rank 1
answered on 11 May 2011, 01:41 PM
Hi again,

I solved this problem. 

1. Editor need a folder named Editor sub folder under Script folder. I copied it from Example Application.

2. In addition Editor need some web.config element such as

<configSections>
  <sectionGroup name="telerik">
    <section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc" requirePermission="false"/>
  </sectionGroup>
</configSections>
<appSettings>
  <add key="ClientValidationEnabled" value="false"/>
  <add key="UnobtrusiveJavaScriptEnabled" value="false"/>
</appSettings>
<telerik>
  <webAssets useTelerikContentDeliveryNetwork="false"/>
</telerik>

 

3. My ASP.NET Mvc Application has different page life cycle.  All my content pages call by an ajax method. If I call  Html.Telerik().ScriptRegistrar() method only Master Page Editor is not working correctly. I have to run this method every ajax call so I added end of every content pages.

 

It is solved my problem.

Documentation is not have any information about Step 2 and 3. It needs up to date.

 

Tags
Editor
Asked by
Selçuk
Top achievements
Rank 1
Answers by
Selçuk
Top achievements
Rank 1
Share this question
or