DetailsView 中 EditItemTemplate 中的 AutoCompleteExtender 有问题
我有 2 个相同的 AutoCompleteExtender - 一个处于 DetailsView 的插入模式(默认模式),另一个处于编辑模式。还有另一个DetailsView,它仅在勾选复选框时显示(并且页面回发),它也隐藏了前一个。
当模式为“插入”时,即使勾选复选框以隐藏带有 AutoCompleteExtender 的 DetailsView 并显示另一个(顺便说一句,它没有 AJAX 控件),也不会出现任何问题。但是,当模式更改为编辑,并且用户勾选复选框以更改为其他详细信息视图(没有ajax)时,我收到此错误:
扩展器控件“autoNom”不是 注册扩展器控制。延长器 控件必须使用注册 之前注册ExtenderControl() 调用 RegisterScriptDescriptors()。 参数名称:extenderControl
大家有什么想法吗?
谢谢
I have 2 identical AutoCompleteExtender's - one is in the Insert mode of my DetailsView, which is the default mode, and one is in the Edit mode. There is also another DetailsView, which only shows when a Checkbox is ticked (and the page posts back), which also hides the previous one.
When the mode is Insert, there are no issues at all, even when ticking the checkbox to hide the DetailsView with the AutoCompleteExtender in and show the other one (which has no AJAX controls btw). But when the mode changes to Edit, and the user ticks the checkbox to change to the other details view (with no ajax), I get this error:
Extender control 'autoNom' is not a
registered extender control. Extender
controls must be registered using
RegisterExtenderControl() before
calling RegisterScriptDescriptors().
Parameter name: extenderControl
Any ideas guys?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题不在于其他详细信息视图。尝试删除编辑模式的扩展器并重新配置。因为看起来编辑更多中有一些与 Ajax 配置相关的内容。确保命名。
The problem is not with the other DetailsView. Try deleting the extender for the edit mode and and configure it again. Because it looks like there is something with the Ajax config in the edit more. Make sure about the namings.