Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in calender control all the cell display in one row .
how to change the format.like as

XML
<tabel>
    <tr>
    <td>1
    </td>
    <td>2
    </td>
    <td>3
    </td>
    <td>4
    </td>
    <td>5
    </td>
     <td>up to 30
    </td>
    </tr>
    </tabel>


above calendar display only months and Dates but hides DayHeader
or any other solution suggest.

Thanks
Posted
Updated 28-Jan-14 17:43pm
v3
Comments
JoCodes 28-Jan-14 9:14am    
Not clear what you trying to achieve
Ashvinrajkot 28-Jan-14 9:29am    
in calander control 4 rows display .but i can display in one rows all dates.
like as 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15...30
Sergey Alexandrovich Kryukov 28-Jan-14 10:50am    
First, will you answer: what is "chane"? What is "calander"? What is "conrol".
And I can guess what is "formate", don't worry about it.
—SA
JoCodes 29-Jan-14 0:03am    
:)
Lin Jiamei 28-Jan-14 12:30pm    
Do you mean, you want all the numbers in the in the calendar control to be in a row? What do you mean by "above display only months and dates ."?

1 solution

Refer - Declare a Calendar control in its simplest use.[^]
Here DayHeader is showing.

Go to the bottom of the article ("Try it Yourself - Examples" Section) - ASP.NET Calendar Control[^]. You can check the Examples.
 
Share this answer
 
Comments
Ashvinrajkot 29-Jan-14 0:03am    
no i not use it
So, what are you using? Why are you not using this?
Ashvinrajkot 29-Jan-14 0:17am    
in asp.net Calendar control use and show in browser then display all the dates in one by one row.ex. four row display .but i can do like this all the four row date in one rows.and also DayHeader not visible. how can do it
As I have given the examples, it is ASP.NET Calendar control and it is displaying correctly. Please use that.
Ashvinrajkot 29-Jan-14 0:31am    
<table class="style1">
<tr>
<td colspan="7">
January2014</td>
<td>
 </td>
<td colspan="9">
Febuary 2014</td>
</tr>
<tr>
<td>
 </td>
<td>
 </td>
<td>
1</td>
<td>
2</td>
<td>
3</td>
<td>
4</td>
<td>
5</td>
<td>
1</td>
<td>
2</td>
<td>
3</td>
<td>
4</td>
<td>
5</td>
<td>
6</td>
<td>
7</td>
<td>
8</td>
<td>
9</td>
<td>
10</td>
</tr>
</table>

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