You must Sign In to post a response.
  • Category: ASP.NET

    How to create own datepickar control in asp.net?

    I want to create my own datepickar control(or dll),so can use it another project.How to create that?
  • #765127
    Hi,
    Please go through following URL's, here datepicker control is added to a page and that page is referred in another project:
    http://www.codeproject.com/Articles/21930/Date-Picker-User-Control
    http://www.codeproject.com/Articles/5881/Web-DatePicker-Control
    Hope it helps.
    Regards,
    Shashikant Gurav
    shashikantgurav22@gmail.com

  • #765133
    Hi Pinky,

    If you want to create your custom control for maintain the unique style for your project always suggest to create your own custom controls, in your example you want to create date picker with your own style then refer below links here they provide some sample custom datepicker controls.

    http://www.codeproject.com/Articles/360837/ASP-NET-MVC-Create-a-custom-calendar-datepicker
    http://www.codedigest.com/Articles/ASPNET/247_DatePicker_Control_in_ASPNet.aspx

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #765136
    There is inbuilt datetimepicker control exist in asp.net, ajax and JQuery you can simple use them.
    They are light weight and tested by millions of developer.
    Why you want some customized control ? look at below link it is a good datetime picker in JQuery
    http://jqueryui.com/datepicker/
    Jquery datetime picker, is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765146
    Lot of date time picker are available. If you like to use any one of the date picker to your entire application. you can create the user control.

    1. Create user control.
    2. Design the date picker.
    3. Place all the code related to the date picker. Ex. If you want to use JQuery date picker place the code in the user control. and design the DP based on your requirement.
    4. You can handle the event by creating the delicate.
    5. Now you can use this Datepicker user control anywhere in your application.

    By Nathan
    Direction is important than speed

  • #765154
    Please Explain all the dot net techniques in detail.

  • #765157
    Thanks for this forum. This questions and answer is needed for me. Thank you for useful information.
    <a href="http://www.thinkittraining.in/selenium">Think IT Training in Chennai</a>


Sign In to post your comments