Click here to Skip to main content
15,905,420 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWindows 2000 Password. Pin
SatyajitV19-Jun-06 1:13
SatyajitV19-Jun-06 1:13 
AnswerRe: Windows 2000 Password. Pin
Vasudevan Deepak Kumar19-Jun-06 1:53
Vasudevan Deepak Kumar19-Jun-06 1:53 
AnswerRe: Windows 2000 Password. Pin
Mircea Grelus19-Jun-06 3:15
Mircea Grelus19-Jun-06 3:15 
GeneralRe: Windows 2000 Password. Pin
SatyajitV21-Jun-06 2:49
SatyajitV21-Jun-06 2:49 
QuestionCalender Control In ASP.NET Pin
varshavmane19-Jun-06 1:10
varshavmane19-Jun-06 1:10 
AnswerRe: Calender Control In ASP.NET Pin
Joshua Lunsford19-Jun-06 10:50
Joshua Lunsford19-Jun-06 10:50 
GeneralRe: Calender Control In ASP.NET Pin
varshavmane19-Jun-06 20:21
varshavmane19-Jun-06 20:21 
GeneralRe: Calender Control In ASP.NET [modified] Pin
Joshua Lunsford20-Jun-06 12:31
Joshua Lunsford20-Jun-06 12:31 
the most basic:

in the aspx page:
<code><table>
<tr>
<td>
<asp:LinkButton id="LinkButton1" runat="server">lastyear</asp:LinkButton></td>
<td>
<asp:Calendar id="Calendar1" runat="server"></asp:Calendar></td>
<td>
<asp:LinkButton id="LinkButton2" runat="server">nextyear</asp:LinkButton></td>
</tr>
</table></code>

in the code behind:

<code>private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
Calendar1.SelectedDate = DateTime.Now;
}

private void LinkButton1_Click(object sender, System.EventArgs e)
{
Calendar1.SelectedDate = Calendar1.SelectedDate.AddYears(-1);
Calendar1.VisibleDate = Calendar1.SelectedDate;
}

private void LinkButton2_Click(object sender, System.EventArgs e)
{
Calendar1.SelectedDate = Calendar1.SelectedDate.AddYears(1);
Calendar1.VisibleDate = Calendar1.SelectedDate;
}</code>

-- modified at 18:31 Tuesday 20th June, 2006
GeneralRe: Calender Control In ASP.NET Pin
varshavmane20-Jun-06 18:57
varshavmane20-Jun-06 18:57 
QuestionTabStrip Pin
Mansurali19-Jun-06 1:09
Mansurali19-Jun-06 1:09 
AnswerRe: TabStrip Pin
minhpc_bk19-Jun-06 10:29
minhpc_bk19-Jun-06 10:29 
QuestionFrom where to start : Beginner Pin
alwz_nikhil19-Jun-06 1:03
alwz_nikhil19-Jun-06 1:03 
AnswerRe: From where to start : Beginner Pin
albCode19-Jun-06 1:11
albCode19-Jun-06 1:11 
AnswerRe: From where to start : Beginner Pin
minhpc_bk19-Jun-06 10:26
minhpc_bk19-Jun-06 10:26 
Questiongridview Pin
fmardani19-Jun-06 0:59
fmardani19-Jun-06 0:59 
AnswerRe: gridview Pin
minhpc_bk19-Jun-06 10:25
minhpc_bk19-Jun-06 10:25 
Questionvery very urgent [modified] Pin
sasi bhushan19-Jun-06 0:31
sasi bhushan19-Jun-06 0:31 
QuestionEvent wiring in a custom control's control Pin
Aleemulhaq19-Jun-06 0:30
Aleemulhaq19-Jun-06 0:30 
AnswerRe: Event wiring in a custom control's control Pin
Mircea Grelus19-Jun-06 0:47
Mircea Grelus19-Jun-06 0:47 
GeneralRe: Event wiring in a custom control's control Pin
Aleemulhaq19-Jun-06 0:52
Aleemulhaq19-Jun-06 0:52 
GeneralRe: Event wiring in a custom control's control Pin
l0kke19-Jun-06 0:57
l0kke19-Jun-06 0:57 
GeneralRe: Event wiring in a custom control's control Pin
Aleemulhaq19-Jun-06 1:03
Aleemulhaq19-Jun-06 1:03 
GeneralRe: Event wiring in a custom control's control Pin
Mircea Grelus19-Jun-06 0:59
Mircea Grelus19-Jun-06 0:59 
GeneralRe: Event wiring in a custom control's control Pin
Mircea Grelus19-Jun-06 1:02
Mircea Grelus19-Jun-06 1:02 
GeneralRe: Event wiring in a custom control's control Pin
Aleemulhaq19-Jun-06 1:13
Aleemulhaq19-Jun-06 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.