Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a link button.
XML
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Issue
        Date</asp:LinkButton>


C#
protected void LinkButton1_Click(object sender, EventArgs e)
     {
         Calendar1.Visible = true;
     }

I want visible false the calender1 control after selection of date.
Posted

You can write it in

Calender_Selectionindexchanged event
 
Share this answer
 
set Calendar1.Visible = false; in the selectedindexchanged of the calendar control
 
Share this answer
 
it is pretty easy..

C#
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
        {
            Calendar1.Visible = false;
        }


then it will hide the calendar control. i hope from the start Calendar1 property Visible = false

hope this will help...
 
Share this answer
 
C++
Calendar1_SelectionChanged(sender As Object, e As EventArgs)
{
 Calendar1.Visible = false;
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900