here u can find very good time picker build in jquery.
http://pttimeselect.sourceforge.net/example/index.html
date and time picker using user control (very good)
http://www.markbeaton.com/DateTimePicker.aspx
this is also good: http://plugins.jquery.com/project/anyti...
Tuesday, July 27, 2010
Disable all controls of asp.net page
call it like this: DisableControls(Page ,false);below code is to disable all controls of a asp.net page.protected void DisableControls(Control parent,bool status) { foreach (Control ctrl in parent.Controls) { if (ctrl is TextBox) ((TextBox)ctrl).Enabled = status; else if (ctrl is Button) ((Button)ctrl).Enabled = status; else if (ctrl is RadioButton)...
Labels:
ASP.NET
Sunday, July 25, 2010
set date format in ajax CalendarExtender
you can set date format in ajax's calendar extender using below way:just specify your required format and its done:< cc1:CalendarExtender ID="txtrequiredby_CalendarExtender" Format="dd/MM/yyyy" runat="server" Enabled="True" TargetControlID="txtrequiredby" >< /cc1:CalendarExtender &g...
Wednesday, July 21, 2010
Attach double click event on listbox in asp.net
when we want to attach double click event on asp.net listbox we can make by using javascipt.protected void Page_Load(object sender, EventArgs e){if (Request["__EVENTARGUMENT"] != null && Request["__EVENTARGUMENT"] == "myListBox_Dblclk") { //your code to perform task or to call desired function } myListBox.Attributes.Add("ondblclick", ClientScript.GetPostBackEventReference(myListBox,...
Labels:
ASP.NET,
java script
Thursday, July 15, 2010
Code to download a file on Buttton click
Some times we have need like when user click on a button then we want to perform some server side operation and then a automatic download file prompt should be shown to user to download a file.. below code will help you in above situation:write it at server side on any event.create below class or place functions in same page but its recommended to take separate class for itclass DownloadLibrary{ public static string getContentType(string...
Labels:
ASP.NET
Wednesday, July 14, 2010
Commonly Used Types and Namespaces of .NET Framework 3.5 :
Microsoft.Aspnet.Snapin Contains classes that are necessary for the ASP.NET management console application to interact with the Microsoft Management Console (MMC).Microsoft.Build.BuildEngine Contains the classes that represent the MSBuild engine.Microsoft.Build.Framework Contains classes that make up the tasks, loggers, and events of MSBuild.Microsoft.Build.Tasks Contains the implementation of all tasks shipping with...
Labels:
Framework
Subscribe to:
Posts (Atom)