Calendar Cell Width

Hi Guys,

I am building a calendar functionality,
and in day render i wrote e.cell.wrap = true, so that text does not resize the cell.

This seems to work fine in IE, but the size of cells go funny in FireFox eg: for some reasons Friday cells are bigger then any other.

Could anyone pls suggest, how i can solve this problem

Cheers
radhakrishanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
pradeepsudharsanConnect With a Mentor Commented:
private void Calendar1_DayRender(object sender, System.Web.UI.WebControls.DayRenderEventArgs e)
            {
                  e.Cell.Width=25;
                  e.Cell.Wrap=true;

            }


If you use vb.net ,remove the ;
0
 
pradeepsudharsanCommented:
Hi,

Server side
---------------------
In day render event hander add this
e.Cell.Width=25


Regards
pradeep
0
 
radhakrishanAuthor Commented:
Hi Pradeep,

Trying that thing it does not work properly as i got data coming from database and its different for different day.
Though I got cell wrap true works, but width does not work as expected.

Also, do I need to do any settings so that the text entered goes from right end to left end.
In my case, it seems to write only half way thru and go to next line.
0
All Courses

From novice to tech pro — start learning today.