User Profile & Activity

Glenn Layaar Support
Page
of 99

In order to enable spell checker, the toolbar will have to have a spell checker button, as demonstrated in the IntegrationWithWebSpellChecker.aspx sample. In the ToolBar_SaveAndLoadStructure.aspx, please use the Rich toolbar setting in order to solve the issue.

<ToolBarSettings ToolBarMode="Rich" />


Posted: November 9, 2009 9:26 PM

I still suspect the issue is caused by missing resources required by the WebGrid, in this case some JS file.

If you are not using SmartWebResource, you must have a virtual directory for the resources which refered in the ScriptDirectory, SharedScriptDirectory, and WebDesktopScriptDirectory property. By default these properties will point to CommonLibrary folder, default location in C:\Program Files\Intersoft Solutions\CommonLibrary


Posted: November 8, 2009 11:28 PM

If you already set the FreezePaneSetting during design time, you could use this snippet to Freeze or Unfreeze the pane on the client side:

function FreezeGrid() {
var grid = ISGetObject('WebGrid1');
grid.LayoutSettings.FreezePaneSettings.ActiveFrozenColumns = 2;
grid.FreezePane(true);
}

function UnfreezeGrid() {
var grid = ISGetObject('WebGrid1');
grid.UnfreezePane();
}


The function will be similar with the Freeze Pane and Unfreeze Pane in the WebGrid context menu.

Posted: November 8, 2009 11:03 PM

If you wish to keep a hidden data in the WebGrid you could use the HiddenDataMember on the column level, the HiddenDataMember will work if the datasource contains the column with the value you wish to hide. Here is the snippet if you wish to hold the Title value in the FirstName column:

<ISWebGrid:WebGridColumn Caption="FirstName" DataMember="FirstName" Name="FirstName"
Width="100px" HiddenDataMember="Title">
</ISWebGrid:WebGridColumn>

The HiddenDataMember will be assigned automatically during the add row process.

In order to access the value in the client side, here is the snippet:

WebGridRowObject.GetCell('FirstName').CellElement.getAttribute('id')




The snippet you found is still using previous WebGrid reference. If you are using WebGrid 6 or 7, please use this snippet to achieve the same functionality:

function checkAll() {
// get an instance of the WebGrid
var grid = ISGetObject('grdObj');

//Header processing
var RowHeader = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE).getElementsByTagName("tr")[0]
RowHeader.getElementsByTagName("td")[1].getElementsByTagName('input')[0].checked = true;

// collect all checkboxes
// get all rows element of the WebGrid
var rows = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLTABLE).getElementsByTagName("tr");

// iterate through all rows
for (var i = 0; i < rows.length; i++) {
if (rows[i].type == "Record") {
// get the first column of the current row (checkbox)
var cell = grid.GetRowByElement(rows[i]).GetCell(0).CellElement;
cell.childNodes[0].checked = true;
}
}
}

I also attached a sample that I used to test the snippet.

Posted: November 8, 2009 10:05 PM

You could use the TaskBarLeftTemplate in the WebDesktopManger to simulate the Start menu button and using WebDialogBox to pop up the option window.

Integrating label in the taskbar could be achieved by using the TaskbarRightTemplate. In the sample, the label content is set during onInitialize client side event. 

The sample use resource available in the WebDesktop provided sample.

Posted: November 8, 2009 9:15 PM

Thank you for the correction, I will update the bug report note with the new information.

Posted: November 8, 2009 9:12 PM
This case is usually caused because you are missing some required dll, especially the resources one. My guess is you are using SmartWebResources, the default, in order to run your project.

For WebGrid, you will require these DLL in your project bin folder

  • ISNet.WebUI.WebGrid.dll
  • ISNet.WebUI.WebGrid.ISChartEngine.dll
  • ISNet.WebUI.WebGrid.Resources.dll
  • ISNet.WebUI.WebDesktop.Resources.dll
  • ISNet.WebUI.Resources.dll
  • ISNet.dll (in development environment should already be in GAC, not needed in the project bin folder)
  • ISNet.WebUI.dll
  • ISNet.dll (in development environment should already be in GAC, not needed in the project bin folder)
You also need to register SmartWebResources in your project by right clicking in our component in Design mode and click the Register SmartWebResource option in the context menu.
Posted: November 8, 2009 8:58 PM

In order to add the runtime license key easily, please use the Deployment Manager, default location in C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\DeploymentManager\ISNet.WebUI.DeploymentManager.exe. If you would like to add it manually in the web.config, you will need to add the key under appSettings tag.

<appSettings>    <add key="ISNet.WebUI.WebGrid.v7_0_7200.RunTimeLicenseKey" value="xxxxx-xxxx-xxxxx" />
</appSettings>

 

The runtime license key could be viewed in TDN, http://dev2.intersoftpt.com,  under the My Components window.

Posted: November 6, 2009 2:39 AM
Based on our correspondence through email on 28-29 Oct. 2009, you have reported the spinning issue in the WebInput. I have added the notes you reported on the email correspondence to the bug report.

Thank you for the detailed issue and videos that depict the issue. I have included this issue list in the bug report as well.
All times are GMT -5. The time now is 5:38 PM.
Previous Next