Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Kentico 7 + update pannel View modes: 
User avatar
Member
Member
mauricio-thewebsitemarketinggroup.com - 4/1/2013 9:43:52 PM
   
Kentico 7 + update pannel
Version Kentico: v7.0.26

I have tried to use the option of the web-parts "Use update panel:" but it doesn't work

I have tried:

1. Enable update panel in a ZONE, within the zone I set a repeater with pagination and every time I click on the next page it refresh all the page

2. I tried to put the update panel just to the repeater it doesn't work. it refresh all the page

3. I create my own webpart with filters and enabled the update pannel option it doesnt worked.

So

Do I have to modify my web.config. or install ajax toolkit or something like that.

Or someone has a manual how to enable ajax in Kentico.

Any advise, I'll appreciate it.




User avatar
Kentico Support
Kentico Support
kentico_romank - 4/2/2013 1:54:33 AM
   
RE:Kentico 7 + update pannel
Hi,

could you please tell me, what approach you are using when developing your web site (ASPX page templates or Portal engine)? If you are using portal approach it is not necessary to modify anything and it should work. All you have to do is check "Use update panel" checkbox, described here AJAX support

But you could try to add this code snippet into your web.config file to make ajax works:

<httpHandlers>

<remove verb="*" path="*.asmx"/>

<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

</httpHandlers>

<httpModules>

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</httpModules>


If that does not work, you could try to develop this simple custom web part and try to use update panel there, to see if the update panel works with simple web part.

Best regards,
Roman Konicek

User avatar
Member
Member
mauricio-thewebsitemarketinggroup.com - 4/2/2013 5:41:30 PM
   
RE:Kentico 7 + update pannel
Thank you is working now