AjaxControlToolkit ReorderList not working
I have a custom control that allows reordering of items inside an UpdatePanel. If I put the control on a test ASPX page, it works fine. But inside SF, I can't reorder the items. They show up correctly, but when I try to drag them, it's as if they were just in a plain old repeater.
Any thoughts?
Hi Eric,
Thank you for using our services.
It is a bit hard to determine what the problem might be. I am thinking that it is related to a problem which we have with view state, however I am not very sure as I do not know how you have created your control. If possible can you please show us some sample of code and markup which you use in your control?
Regards,
Radoslav Georgiev
the Telerik team
Deleted post: long and not relevant
Hi Eric,
Interesting, I am not quite able to make this work in a normal .aspx page either. Can you please show me the markup of your .aspx page?
Best wishes,
Radoslav Georgiev
the Telerik team
Deleted post: long and not relevant
Deleted post: long and not relevant
Hi Eric,
Thank you for providing the code.
I think I have been able to resolve the problem with the control. It seems that the problem is related to this issue with the ReorderList control when working in .NET 4.0. Changing the ClientIDMode in the web.config as bellow made the reorder list appear correctly:
<
pages
clientIDMode
=
"AutoID"
>
<
controls
>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI"
assembly
=
"System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI.WebControls"
assembly
=
"System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
tagPrefix
=
"telerik"
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
/>
<
add
tagPrefix
=
"sitefinity"
namespace
=
"Telerik.Sitefinity.Web.UI.Fields"
assembly
=
"Telerik.Sitefinity"
/>
</
controls
>
</
pages
>