User Profile & Activity

Glenn Layaar Support
Page
of 99
Posted: October 8, 2009 2:46 AM

Using the latest hotfix, I could not replicate the issue using the steps you describe. Please update your component to the latest build to fix the issue

Posted: October 6, 2009 4:05 AM

This issue has been fixed in WebGrid 7 for the next hotfix, the workaround described in the previous post will not be needed using the next hotfix.

We failed to open the Database you attach in the previous post. However, using the setting in the code we are able to replicate the issue in our environment. An issue report has been sent to our developer.

In order to solve this issue, we suggest to set the UseValueListForSorting property on the individual column that has WebValueList. For example in the first sample the code used:

grdObj.RootTable.Columns[1].UseValueListForSorting = ValueListSorting.Yes;
grdObj.RootTable.Columns[2].UseValueListForSorting = ValueListSorting.Yes;

Instead of:

grdObj.RootTable.UseValueListForSorting = ValueListSorting.Yes;
Posted: October 6, 2009 12:28 AM

The developer has just updated me regarding the issue, for ASP table, you will need to mark the container type in the FlyPostBackManager like so:

fpb.ClientAction.MarkTypeAsContainer(typeof(Table));
fpb.ClientAction.MarkTypeAsContainer(typeof(TableRow));
fpb.ClientAction.MarkTypeAsContainer(typeof(TableCell));

These line should be executed before triggering the WebInput and WebCombo RequireUIRefresh.


Posted: October 5, 2009 11:29 PM

OnRowValidate will only trigger after the user leave a row. For your scenario, during OnRowValidate client side event you could check if there is certain value of the cell is prohibited and returning false to abort the operation. Here is the snippet that show how to abort the operation if the ContactTitle cell has the value of Owner1 and set the focus to ContactTitle cell:

function grdObj_OnRowValidate(rowObject)
{
var grid = ISGetObject("WebGrid1");

var cellName = wgGetCellByName(rowObject, "ContactTitle");
if (cellName.cellValue == "Owner1") {
grid.GetRowByElement(rowObject).GetCell("ContactTitle").ActivateEdit();
return false;
}

return true;
}



Posted: October 5, 2009 10:55 PM

Based on the discussion with the developer, the licenses.islicx should be generated fron the root application, the application which contains the root visual, and added as a resource to the root application as well.

If the above suggestion does not work, please send us a simple sample of your project to let us replicate the issue in our environment.

Posted: October 5, 2009 10:32 PM

You could try using the client side event AfterItemSelected for such scenario. Here is the snippet:

function cmb_OnAfterItemSelected(controlId)
{
var cmb = ISGetObject(controlId);

var msg = "Selected item \n" +
"Value: " + cmb.Value + "\n" +
"Text: " + cmb.Text + "\n" +
"Index: " + cmb.SelectedIndex;

alert(msg);

return true;
}



Posted: October 5, 2009 10:07 PM

The update manager should be automatically installed when you install WebUI Studio, the default location is C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\UpdateManager

If you could not find the update manager, please inform us which option you are using when installing the WebUI Studio to let us analyze the issue further.

In the mean time, you could try using the manual update by logging in to our TDN using the credential in the purchase order and downloading the update manually in the My Components window

Posted: October 5, 2009 5:27 AM

Our common scenario for WebValueList column is using WebCombo edit type. For example, our EditorTypes.aspx page in WebGrid sample which WebValueList in SupplierID and CategoryID column. Please enable filtering by setting the AllowFilter property to true.

We could also use CustomFiltering which already explained in the WebGrid Documentaion under the article "CustomFilter Event". However, using this approach you will need to have the DataText WebValueList as a hidden column. 

Posted: October 2, 2009 6:15 AM

A bug report has been submitted regarding the example #3, controls in a Table within a Panel. We will inform you if there is any update or progress regarding the issue.

All times are GMT -5. The time now is 3:56 AM.
Previous Next