Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Not able to use SharePoint DatePicker inside Update Panel

$
0
0

Hi,

I have a visual webpart page, in which I have added an update panel. Inside the Update Panel, I have added the SharePoint datetime picker. On clicking the datepicker, i am getting server error "in / Application."

I have tried like this:

<SharePoint:DateTimeControl ID="dtcDate" runat="server" ToolTip="Please enter Date" DateOnly="true" />

I have added this statement on top of the page,after the register scripts are added:

<script type="text/javascript" src="/_layouts/15/datepicker.js"></script>

How to use the Sharepoint datepicker inside an updatepanel?

Thanks



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>