User Profile & Activity

Glenn Layaar Support
Page
of 99

You are correct, under the scenario, the cursor will be overlapped by the border. In order to show the cursor please add 1px padding right to the input element during onfocus client side event, as shown in this snippet:

function WebInput1_OnFocus(controlId)
{
var WebInput1 = ISGetObject(controlId);

WebInput1.GetControlElement().style.paddingRight = "1px";

return true;
}


It seems there is an issue with WebGrid BatchUpdate and multiple column composite key. I am currently logging this as a bug. I will inform you if there is any update or progress regarding this issue.

In some cases, the property of the component will be written as an element style, such as width in WebInput. In those cases, you will need to use the width property of the component to modify the width. The cssClass property will be overridden by the element style.

A bug report has been submitted for the calendar with UseDefaultStyle="false". We will inform you if there is any update or progress regarding this issue.

Posted: January 7, 2010 9:36 PM
You could try handling all the database operation manually as shown in a sample, DatabaseUpdates.aspx, in the provided WebGrid tutorial. However, you need to use the InitializeDataSource server side client to bind the data.

The DatabasesUpdates.aspx tutorial is under the V3.1 folder.

The "Review Changes" issue seems to be caused by a bug. A bug report has been submitted to the developer.

Regarding the BatchUpdate issue, please provide us with your WebGrid setting you are using and a few row data of the problematic table. What kind of composite key you are using? The column data type?

I have sucessfully replicate the issue. It seems the issue is caused by a bug. A bug report has been submitted to the developer.

Since WebInput already been enhance to have OnBeforeValueChanged and OnAfterValueChanged, the OnChange client side function is deprecated.

The OnChange property will be removed in the next version of WebInput.

Using your suggestion, I modified the ClientBinding_WcfServices.aspx to use columnset (sample attached). However, I could not reproduce the issue "SynchornizeCells failed". The sample runs without any issue even with the column set feature.  

Regarding the error, I suspect based on the error message it is caused by the composite primary key of the table. Do you mind sending us the a few row of the problematic table and the setting you are using for the WebGrid?

In my test, using the BatchUpdate_Enterprise.aspx sample in the WebDesktopWindow does not result in any error.

The latest WebGrid 7 and WebUI Framework 3 build is build 400 and build 750 respectively. Please confirm that you already have the latest build in your project bin folder.

Posted: January 5, 2010 11:30 PM

For row validation in WebGrid, you are correct, please use the OnRowValidate event to handle any row validation that you will require.

An article titled "How-to: Validate that a selected column cannot be empty when adding a new row using OnRowValidate" in the WebGrid documentation has already been provided for handling an empty column during row insertion. The article handle the error by showing an alert message when the validation fails. In your case, you will need to update the error panel control if the validation fails.

All times are GMT -5. The time now is 11:24 PM.
Previous Next