1
Hi!
check out the following thread...
http://www.mytecbits.com/microsoft/dot-net/bootstrap-3-0-0-with-asp-net-web-forms
please mark it as answer if its helpful...
0
0
0
There could be instances where you do not want the user to select a day earlier than the current date. For example: when you are providing the user a form to book tickets, you would not like him to choose an earlier date. To achieve this kind of requirement, you can take reference from the below code.
// Prevent the User from selecting a Date Earlier than today
<head runat="server">
<title>Calendar Extender</title>
<script type="text/javascript">
function checkDate(sender,args)
{
if (sender._selectedDate < new Date())
{
alert("You cannot select a day earlier than today!");
sender._selectedDate = new Date();
// set the date back to the current date
sender._textbox.set_Value(sender._selectedDate.format(sender._format))
}
}
</script>
</head>
// Call the code:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1"
runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="TextBox1" />
</div>
</form>
Note: You may argue that the user can still change the date by typing into the textbox or entering an invalid date. Well that can be easily handled using a ValidationControl.

0
Thanks Rajendra
Let me Explain How to display the calendar Extender in Asp.net with Disable past dates and display only current and future dates ..plz guide me
Thanks
0
http://kiranpatils.wordpress.com/2014/02/15/bootstrap-with-asp-net-basics-and-learnings/
http://www.mytecbits.com/microsoft/dot-net/bootstrap-3-0-0-with-asp-net-web-forms
http://channel9.msdn.com/Events/Visual-Studio/Launch-2013/WC108
0
Hi
Thanks Ankur, let me tell where can I find the Tutorial for Bootstrap ? I want to know the usage and functions of this so guide me ...
Thanks
0
Yes, yes it is...
0
Hi
Well... Ok , My next question is Bootstrap helps me for Device Compatibility only like I pad,I phone,Android,Windows Devices. Can Bootstrap suits for Browser Compatibility like Mozilla,chrome,safari,IE ?
Thanks
0
no for not responsive, you have to write css for other controls or other styling of your ui...bootstrap make it responsive automatically..
0
Hi
While I am using Bootstrap,I have to write separate CSS for responsive also in style sheet ?
Thanks
0
Hi!
to use bootstrap you need to call it on your ui page, yes for RWD you have to write css seprately and bootstrap override css content automatically if needed..
0
Thanks Ankur
Let me explain Were to apply Bootstrap ? By using this for responsive designs for Mobile Devices, I have to write Responsive CSS seperately in CSS or not ?
Thanks