Multiple lookup control instances of the same lookup field on CRM 2011 Form

I have a CRM 2011 form with multiple control instances of the same lookup field. Each of these instances is included in a different **section**. Only one section is visible on form load, depending on a category data field, by applying the `setVisible` attribute appropriately on the sections in the onLoad javascript function. In this situation, every time I change the visible lookup field, all the other lookup controls, which have the same control attribute, are also getting updated automatically, even if they are disabled and not visible. And this is causing a long delay when selecting a lookup value in the lookup field. What I want is to only update the visible lookup control, and not the other 'not visible' lookup controls, in order to avoid the slow performance. Is there any efficient way to do this?
Are the controls actually "not visible" themselves, or are they only hidden because they are in a section which is not visible? This may make a big difference - making the fields / controls themselves not visible as well as the sections may fix the performance issue. But this won't fix the fact that your design sounds unwieldy and unsustainable.

以上就是Multiple lookup control instances of the same lookup field on CRM 2011 Form的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏