issue with date column in safari date can not edit

2 replies. Last post: October 26, 2009 2:38 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Chetan PawarMember

Hello Support team,

I have implemented web grid sample and bind data using code behind. A column with edit type “CalendarDropdown” type is working fine on IE 6/7 and Mozilla but date picker not get displayed on Safari browser (version 3.1.2)

Please provide help on this issue.


my code is
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="471px" UseDefaultStyle="True"
Width="1261px" OnInitializeDataSource="WebGrid1_InitializeDataSource">
<RootTable>
<Columns>
<ISWebGrid:WebGridColumn DataMember="UserID" Caption="User ID"></ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn DataMember="UserName" Caption="User Name"></ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn DataMember="Description" Caption="Description"></ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn DataMember="IsDeleted" Caption="Checkbox" Bound="true" ColumnType="checkBox" EditType="checkbox"></ISWebGrid:WebGridColumn>
<ISWebGrid:WebGridColumn DataMember="Date input" Caption="Date input" ColumnType="Custom" EditType="CalendarDropdown" EditInfoText="hi"></ISWebGrid:WebGridColumn>
</Columns>
</RootTable>
<LayoutSettings AllowEdit="Yes" EditOnClick="true" AllowDelete="Yes"></LayoutSettings>
</ISWebGrid:WebGrid>

-----

protected void WebGrid1_InitializeDataSource(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)
{
SqlConnection con = new SqlConnection(connstr);
con.Open();
SqlDataAdapter da = new SqlDataAdapter(SqlStmt, con);
DataTable dt1 = new DataTable();
da.Fill(dt1);
e.DataSource = dt1;
//e.DataBind();

}

All times are GMT -5. The time now is 7:48 PM.
Previous Next