I have added datepickerprovider in the webdatagrid. But the Calendar control is not showing the date column .
Hi Shanthi,
I could not understand what is exactly your issue. Could you please clarify? However, you can check this sample of DatePickerProvider used in WebDataGrid which could help - http://ko.infragistics.com/products/aspnet/sample/data-grid/editing-editor-providers.
Let me know if you have any questions.
I was having this issue as well. I tried to put a DatePicker into the datagrid using the VB code behind, I can't find any supporting documentation online to help with this, and the drop down is not actually displaying anywhere on the page that I can see.
//use like this from client side
<body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="upd" runat="server"> <ContentTemplate> <ig:WebDataGrid AutoGenerateColumns="False" EnableDataViewState="True" EnableAjax="False" DataKeyFields="HiddenID" ID="WebDataGrid1" runat="server" Height="350px" Width="800px" HeaderCaptionCssClass="HeaderCaptionClass" ItemCssClass="NewItemClass"> <Columns> <ig:BoundDataField Header-Text="HiddenID" DataFieldName="HiddenID" Key="HiddenID" Hidden="false" CssClass="ColumnLevelCssClass"> <Header Text="HiddenID"></Header> </ig:BoundDataField> <ig:BoundDataField Header-Text="Serial Number" DataFieldName="SerialNumber" Key="SerialNumber"> <Header Text="Serial Number"></Header> </ig:BoundDataField> <ig:BoundDataField Header-Text="Mode Number" DataFieldName="ModelNumber" Key="ModelNumber"> <Header Text="Model NUmber"></Header> </ig:BoundDataField><ig:UnboundField Key="Date" DataType="System.DateTime" DataFormatString="{0:d}" > <Header Text="Date" /> </ig:UnboundField> </Columns> <Behaviors> <ig:Activation Enabled="true" ActiveCellCssClass="ActiveCellClass" ActiveRowCssClass="ActiveRowClass" > <ActivationClientEvents /> </ig:Activation> <ig:EditingCore AutoCRUD="False"> <Behaviors> <ig:CellEditing Enabled="true"> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="SerialNumber" EditorID="WebTextEditProvider1" /> <ig:EditingColumnSetting ColumnKey="ModelNumber" EditorID="WebTextEditProvider2" /> <ig:EditingColumnSetting ColumnKey="Date" EditorID="wdate" /> </ColumnSettings> <EditModeActions MouseClick="Single" EnableOnActive="true" /> <CellEditingClientEvents ExitedEditMode="Cell_ExitedEditMode" /> </ig:CellEditing> </Behaviors> </ig:EditingCore> <ig:Selection CellClickAction="Row" RowSelectType="Single" SelectedCellCssClass="SelectedCellClass"> </ig:Selection> </Behaviors> <EditorProviders> <ig:TextEditorProvider ID="WebTextEditProvider1"> <EditorControl ID="EditorControl1" ClientIDMode="Predictable" runat="server"> </EditorControl> </ig:TextEditorProvider> <ig:TextEditorProvider ID="WebTextEditProvider2"> <EditorControl ID="EditorControl2" ClientIDMode="Predictable" runat="server"> </EditorControl> </ig:TextEditorProvider> <ig:DatePickerProvider ID="wdate"></ig:DatePickerProvider> </EditorProviders> <ClientEvents AJAXResponse="WebDataGrid1_AJAXResponse" /> </ig:WebDataGrid> </ContentTemplate> </asp:UpdatePanel> </div>
<script type="text/javascript" language="javascript"> AjaxPro.timeoutPeriod = 60 * 60 * 1000; </script>
</form></body>