Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Calendar Cell Width

Posted on 2006-07-07
3
Medium Priority
?
678 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 1500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

704 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