13
Answers

Bootstrap

Vignesh Babu

Vignesh Babu

10y
2.2k
1
Hello Friends
                                    How to use Bootstrap in asp.net ? whats the use of it ?
Thanks
Answers (13)
1
Ankur Jain

Ankur Jain

NA 816 187.1k 10y
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
Abhishek  Jaiswal

Abhishek Jaiswal

97 19.8k 9.7m 10y
0
Abhishek  Jaiswal

Abhishek Jaiswal

97 19.8k 9.7m 10y
Hey!
These are the best available tutorials for bootstrap over the internet (including function, demos, ref codes etc.)
try these links
http://getbootstrap.com/components/
http://getbootstrap.com/javascript/

#HappyCoding :)
0
Rajendra Tripathy

Rajendra Tripathy

NA 823 461.4k 10y
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
Vignesh Babu

Vignesh Babu

NA 61 25k 10y
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
Rajendra Tripathy

Rajendra Tripathy

NA 823 461.4k 10y
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
Vignesh Babu

Vignesh Babu

NA 61 25k 10y
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
Ankur Jain

Ankur Jain

NA 816 187.1k 10y
Yes, yes it is...
0
Vignesh Babu

Vignesh Babu

NA 61 25k 10y
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
Ankur Jain

Ankur Jain

NA 816 187.1k 10y
no for not responsive, you have to write css for other controls or other styling of your ui...bootstrap make it responsive automatically..
0
Vignesh Babu

Vignesh Babu

NA 61 25k 10y
Hi

          While I am using Bootstrap,I have to write separate CSS for responsive also in style sheet ? 


Thanks
0
Ankur Jain

Ankur Jain

NA 816 187.1k 10y
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
Vignesh Babu

Vignesh Babu

NA 61 25k 10y
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