Solved

Calendar Cell Width

Posted on 2006-07-07
3
675 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:radhakrishan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Expert Comment

by:pradeepsudharsan
ID: 17057500
Hi,

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


Regards
pradeep
0
 
LVL 7

Accepted Solution

by:
pradeepsudharsan earned 500 total points
ID: 17057505
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
 

Author Comment

by:radhakrishan
ID: 17057556
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

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question