User Profile & Activity

Glenn Layaar Support
Page
of 99

Using the latest build of WebGrid and WebUI Framework we could not replicate the issue in our environment. Attached is the sample we use to replicate the scenario in our environment. On of the parent row is set to have an empty string as the key.

Posted: October 1, 2009 11:04 PM

In a grouped WebGrid you will need to iterate the TR element and get the row object of each TR element which has the Record type in order to retrieve all the IDs. Here is the snippet:

var grid = ISGetObject("grdObj");

var Message = "";
var tbl = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE);
var rowList = tbl.getElementsByTagName("tr");

for (var i = 0; i < rowList.length; i++) {
var tr = rowList[i];
if (tr.getAttribute("type") == "Record") {
Message += grid.GetRowByElement(tr).GetCell("id").Text + "\n";
}
}

alert(Message);

Regarding the GetCheckedRows issue, we are not able to replicate it in our environment. Under group or ungroup WebGrid the GetCheckedRows function will always return the correct collection of checked TR element in the WebGrid.

Posted: October 1, 2009 5:32 AM

Did your environment is using a proxy to connect to the internet? If it does, you will need to fill in your proxy information in the provided Proxy setting windows.

Based on the sample created using the scenario you describe, the issue could not be replicated. Feel free to modify the sample in order to replicate the sample. 


Posted: October 1, 2009 3:39 AM

Based on the error,

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Printer does not support Letter papersize. Please use PaperKind.Custom in your PageSettings or specify a papersize supported by the current printer ---> DataDynamics.ActiveReports.ReportException: Printer does not support Letter papersize. Please use PaperKind.Custom in your PageSettings or specify a papersize supported by the current printer


We already have a KB article for such an issue. You will need to set the printer name to empty in the PrepareExportExecute server side event. Here is the snippet

private void WebGrid1_PrepareExportExecute (object sender, ISNet.WebUI.WebGrid.PrepareExportExecuteEventArgs e) 
{
e.ReportObject.Document.Printer.PrinterName = "";
}

You could read the complete KB article in the support page, Under WebGrid >> Knowledge Base >> Exporting >> Fixes for printer problem exporting data into Excel


Posted: October 1, 2009 3:33 AM

I have inquired our developer regarding this issue and have also mention all the latest finding, works in English windows but on the Spanish windows teh issue still occurs, based on your test. We will inform you if there is any update or progress regarding this issue.

The current version of WebScheduler has not support custom configuration of days number of event to show. Currently it is always set to 10 days.

However, the feature is planned to be implemented on the next major version of WebScheduler, which is WebScheduler v3

Posted: October 1, 2009 12:07 AM

In the scenario of RowChecker feature and WebGrid with AddNew feature enabled, you will need to implement the OnRowValidate client side event to resolve this issue.

Here is the snippet of the OnRowValidate client side event, in this snippet the RowChecker column is located in column position 1 of the WebGrid:

function WebGrid1_OnRowValidate(rowObject)
{
rowObject.childNodes[1].innerHTML = '<input class="DefChkBox" type="checkbox" rowchecker="1" hidefocus="hideFocus"/>';
return true;
}





Posted: September 30, 2009 11:50 PM

There is an option available in the WebGrid to preserve the expanded child after refresh. The property is RestoreExpandedChildRows under LayoutSettings. If you wish to preserve the expanded child state please set the RestoreExpandedChildRows to true.

Posted: September 30, 2009 10:42 PM

We have successfully replicated the issue in our environment. A bugreport has been submitted to our developer. We will inform you if there is any update or progress regarding this issue.

All times are GMT -5. The time now is 6:39 AM.
Previous Next