search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler Desing fails inside Dotnetnuke

Asked by Anonymous
16 years ago.

Hi,

I am using the scheduler inside a DotNetNuke portal (www.DotNetNuke.com). It always worked fine but since i changed to version 5 the layout hardly fail inside my DotNetNuke Modul.

I think it's because of the new div layout. You have any idea how to solve this problem. I need the performance boost of version 5.

Best regards

Torben

Comment posted by Anonymous
16 years ago.

In Firefox and Chrome it looks fine. Only the Internet Explorer destroys the layout when it's inside a dotnetnuke portal.

Comment posted by Dan Letecky
16 years ago.

Do you specify the width in percent? If so, have you tried switching to fixed width (pixels)?

Comment posted by Anonymous
16 years ago.

I tried both but it wont work.

Comment posted by Dan Letecky
16 years ago.

Have you tried both IE6 and IE7? Is there any difference?

IE6 uses the old rendering model (table-based). If it works with IE6 you could switch to the table-based model for IE7 as well (this requires a small change in the source).

Comment posted by Anonymous
16 years ago.

i changed thesource so it will only render the table layout.Now it works fine, thanks dan!

Comment posted by Dan Letecky
16 years ago.

I'm adding a new property to DayPilotScheduler, called Layout. It has three possible values:

1. LayoutEnum.Auto (default)

Corresponds to the behavior introduced in 5.0

  • for IE6 it renders table-based layout
  • for all other browsers it renders div-based layout

2. LayoutEnum.DivBased

Always renders the div-based layout.

3. LayoutEnum.TableBased

Always renders the table-based layout (layout used in 4.9 and previous versions).

Now you can apply your own rules for choosing the layout. Example:

protected void Page_Load(object sender, EventArgs e)
{
 if (Request.UserAgent.IndexOf("MSIE 7") != -1 || 
      Request.UserAgent.IndexOf("MSIE 6") != -1) {
 DayPilotScheduler1.Layout = LayoutEnum.TableBased;
 }
 else {
 DayPilotScheduler1.Layout = LayoutEnum.DivBased;
 }
}

This update will be released as DayPilot Pro 5.0 SP2.

Comment posted by Dan Letecky
16 years ago.
Comment posted by Anonymous
16 years ago.

great, thanks

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.