Solved

Calendar Cell Width

Posted on 2006-07-07
3
654 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now