怀疑在ajax日历 [英] Doubts in ajax calendar

查看:61
本文介绍了怀疑在ajax日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<ajax:CalendarExtender ID="Calendarextender1" runat="server" Format="dd/MM/yyyy" PopupPosition="BottomRight"

                          TargetControlID="txtBxDay" Enabled="true" PopupButtonID="imgSearch">
                      </ajax:CalendarExtender>







我正在使用ajax日历extendar。在这里,我使用了上面在代码中提到的几个属性。

我无法在ajax日历中选择日期来更新我的表单。仅当我在日历中更改日期时,其余字段(例如文本框,复选框)才会更新。我可以不,如果我错过了任何我不应该再次选择日期进行更新的属性。




I am using ajax calendar extendar. In this, I m using few properties which is mentioned above in the code.
I cant able to update my form without selecting date in ajax calendar. Only if i change date in calendar, remaining field such as textboxes,checkbox are updating. May I no, if I miss any property which I should not select dates again for updating.

推荐答案

您的财产没有任何问题。在更新之前使用IF条件检查它



Nothing wrong with your property.Before updating check it using IF condition

if(txtBxDay.text !="")
{
//your update query with date

}
else
{
//your update query without date
}


这篇关于怀疑在ajax日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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