创建日历用户控件但在sharepoint webpart中使用两次时无效 [英] Created calendar user control but not working when used twice in sharepoint webpart

查看:84
本文介绍了创建日历用户控件但在sharepoint webpart中使用两次时无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我。



我已经创建了日历控件并在webpart中使用了2次但是它无法正常工作。如何多次使用同一个控件?



在我的webpart中,我使用了以下步骤:



自定义控件在webpart中添加了两次,并将它们命名为strDt1和strDt2

单击strDt1控件,将在文本框下方显示日历

选择日期并显示日期strDt1的文本框

现在点击stDt2控件

日历将出现在strDt1控件下面

选择日期和日期将出现在strDt1的文本框中

please help me for this.

I have created calendar control and used it 2 times in a webpart but its not working properly. how can I use the same control multiple times?

In my webpart i used below steps:

The custom controls added two times in webpart and named them as strDt1 and strDt2
Click on strDt1 control, below the textbox calendar will appear
Select date and the date will appear in strDt1’s textbox
Now click on stDt2 control
Calendar will appear below the strDt1 control
Select the date and the date will appear in strDt1’s textbox

推荐答案

我从以下链接获取代码:

SharePoint自定义日历 [ ^ ]



来自同一网站
I took the code from below link:
SharePoint Custom Calendar[^]

this is from the same site


这篇关于创建日历用户控件但在sharepoint webpart中使用两次时无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆