User Profile & Activity

Glenn Layaar Support
Page
of 99

Good to hear that you could pinpoint the cause of the issue and solve it

Posted: January 26, 2010 5:18 AM

Analysing the attached page, I found out the culprit of the issue is the VisibleStartTime property. I have reported this issue to the developer as a bug.

I will inform you if there is any update or progress regarding this issue.

Posted: January 26, 2010 5:15 AM

Thank you for the sample. I have successfully replicate the issue in our environment.

I will need to consult the developer for a solution for this issue. I will inform you after I finish consulting the developer.

Posted: January 26, 2010 5:10 AM

I have reported this issue and the workaround to the developer. I will inform you if this fix will be included in the next hot patch. 

Edited 01/27/2010: The developer has agree to include the fix in the next hotfix

Posted: January 26, 2010 4:44 AM
Using WebCallOutWithGroupName.aspx sample which already provided in the WebDesktop sample, I could not replicate the issue.

In my test, I tried to hide the image element initially or using a HTML button by setting the image element style to visibility hidden and display none. None of the scenario result in the issue you mention.

Do you mind providing us with a simple sample in order to replicate the issue?
Posted: January 26, 2010 4:17 AM

You will need to modify the window onload function to pass the WebGrid rowIndex to the display function. Here is the snippet:

var i;
var j;

var grid = ISGetObject("WGActivity");
var tblElm = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE);

var no = tblElm.rows.length;
for (i = 0; i < tblElm.rows.length; i++) {
for (j = 1; j < tblElm.rows[i].cells.length; j++) {
var val = tblElm.rows[i].cells[j].innerText;
if (tblElm.rows[i].cells[j].innerText != " ") {
tblElm.rows[i].cells[j].innerHTML = "<INPUT id='h' TYPE=CHECKBOX onClick='display(" + i + ");'>" + val;
}
}
}

return true;

The display function wil be responsible to add, modify, delete the item in the ListBox when user checked the CheckBox. Here is the snippet: 

function display(idx) {
var grid = ISGetObject("WGActivity");
var tblElm = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE);

var selRow = tblElm.rows[idx];
var optText = "";
var optVal = "";

for (j = 0; j < selRow.cells.length; j++) {
var val = selRow.cells[j].innerText;
if(j == 0)
optVal = optText = val;
if (val != " " && j > 0 && selRow.cells[j].getElementsByTagName("input")[0].checked)
optText += " " + val;
}

var listBox = document.getElementById("lbactivity");
var doAdd = true;

for (var i = 0; i < listBox.options.length; i++)
{
if (listBox.options[i].value == optVal) {
doAdd = false;
listBox.options[i].text = optText;
if (optText == optVal)
listBox.remove(i);
break;
}
}

if (doAdd)
document.getElementById("lbactivity").add(new Option(optText, optVal));
}


Based on the given snippet, I suspect the deletion is only done on the WebGrid object level not on the database level. When you refresh, the WebGrid will load the data from the database again which will show the deleted WebGrid data since it was not deleted from the database.

Attach is a simple sample of the scenario you wish to achieve, during the Add, Update, and Delete WebGrid event handler the data operation is done to the database. The sample will require dsNorthwind.xsd which already supplied in the WebGrid sample


Posted: January 26, 2010 2:17 AM

Have you used all the latest version of the dll? Our latest WebUI Framework is version 3 build 750 and ISDataSource version 1 build 211

If you already use all the latest version and build, please send us a sample project so we could analyse the issue further.

Posted: January 26, 2010 2:13 AM

An article titled "IIS 6 and IIS 7 Integrated mode support" has been provided in the WebTextEditor documentation. The article already detailed the necessary configuration and steps needed to run the WebFileUploader in both the IIS6 and IIS7

Posted: January 22, 2010 2:55 AM

Based on my analysis of the snippet, I suspect that you are missing some field and table in the DataBinding propterty. Please compare it to one of the WebScheduler provided sample, such as Agenda_Navigation.aspx

The ISDS markup already contains a Category table, however you are not binding this table to the WebScheduler. The WebScheduler alsio already refrence the Categories table in the CategoriesDataMember.

In the RecurringEventsBinding property, some attribute is not assigned, such as EventIDField and ReminderDismiss.

I also see that the RecurrenceInfo table and RecurringEvents table contains a ScheduleID field in the ISDs which is not bound in the WebScheduler databinding.

All times are GMT -5. The time now is 9:03 AM.
Previous Next