User Profile & Activity

Glenn Layaar Support
Page
of 99
Posted: January 20, 2010 12:00 AM

If you wish to maintain the order of the string in the list, you could try adding the item as shown in the provided WebCombo sample AddUnboundRow.aspx.

Posted: January 18, 2010 11:56 PM

My test show that the WebScheduler will need at least Events, Categories, and Resources table binding for the WebScheduler to works without any issue. An article regarding this issue has been detailed in the WebScheduler documentation, the article is titled "Walkthrough: Binding Access database to WebScheduler using ISDataSource"

The attached sample bin project folder is not using the latest WebUI R2 2009 release, I have taken the liberty in using the latest dll to test the issue.

#1 In which event handler / function do you wish to use the GetClientAction()? I did not see any usage of the GetClientAction in the attached project.

#2 and #3 Analyzing the OnForwardNavigation and OnBackNavigation event handler, it seems the error is caused by SetCalendarDate() function. In your configuration, you will not need to use the SetSelectedDate() function the SetSelectedDate property already suffice for navigating. Here is the modified event handler:

function DoForwardNavi(ControlID, ViewType, CurrentDate, PeriodStarDate, PeriodEndDate)
{
var WbSchdlr = ISGetObject("wbSchdlr");
WbSchdlr.AddInput("year", PeriodStarDate.getFullYear().toString());
WbSchdlr.AddInput("month", (PeriodStarDate.getMonth() + 1).toString());
WbSchdlr.AddInput("day", PeriodStarDate.getDate().toString());

WbSchdlr.ViewSettings.SelectedDate = PeriodStarDate;
WbSchdlr.RefreshAll();

return false;

}


You could bind data to ISDataSource using dataset or custom object. We already have provided this sample in the provided ISDataSource sample on the page BindingToDataList.aspx and BindingGenericCollection.aspx

Posted: January 17, 2010 10:03 PM

Unfortunately, we could not change the height of the caption area during export. However my test show that the available height is sufficient for 2 line of caption. For example, if we set the caption to: 

e.Table.Caption = "New Table Caption Line 1\r\nNew Table Caption Line 2\r\nNew Table Caption Line 3\r\nNew Table Caption Line 4";

The shown caption will be 

New Table Caption Line 1
New Table Caption Line 2

At the center of the exported PDF report.

Posted: January 17, 2010 8:30 PM

Our suggestion when applying a new build is to copy all the new dll to you project bin folder. If you are not using SmartWebResources, you will also need to copy the new javascript to your CommonLibrary.

A recommended step afterward is to clear your browser cache and temporary ASP .NET folder, default location in C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files, in order to remove any cache / reference to the previous build.

Posted: January 17, 2010 8:22 PM

You could modify the connection string programatically during ISDataSource object created server side event using reflection. However the DB you changed to must have the same structure with the one you assign in the design mode. Here is the snippet of object created server side event handler:

protected void ISDataSource1_ObjectCreated(object sender, ISNet.WebUI.DataSource.ISDataSourceEventArgs e)
{
OleDbConnection conn =
(OleDbConnection)e.ObjectInstance.GetType().GetProperty("Connection", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(e.ObjectInstance, null);
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\\WebScheduler_Software_2.mdb;Persist Security Info=True";
}

The original data source of the ISDS in the snippet is WebScheduler_Software.mdb


Posted: January 14, 2010 9:54 PM

The control with the same major version is designed to be backward compatible. For example updating from WebCombo 4 previous build to the latest build will not result in any issue. However, some issue might occurs if you are updating from previous version, for example WebCombo 3 to WebCombo 4.


Did you have any issue when updating from the previous build of WebCombo 4 and WebUI Framework 3?

Posted: January 14, 2010 9:46 PM

I tried to replicate the issue in the Timeline month view in ViewMode_Timeline_Month.aspx provided WebScheduler sample. The event has refresh successfully when we change month and hide certain resources without the need to click on the "Refresh View".

Please make sure you already have the latest WebScheduler 3 and WebUIFramework 3 build which is build 2 and build 750 respectively.

Posted: January 14, 2010 5:06 AM

I am having difficulty replicating the issue with the provided snippet in our environment. Do you mind sending us the complete code? How do you invoke the fnPopulateCombo function in order to fill in the wcBooks web combo?

All times are GMT -5. The time now is 8:10 PM.
Previous Next