User Profile & Activity

Handy Surya Support
Page
of 223
Posted: October 22, 2010 3:09 PM

Hello,

Unfortunately, this is the default behaviour when using another edit column type besides TextBox.
Not only WebCombo, you can also try to use another edit type such as dropdownlist. When you type 'a' at first, it would not respond immediately. It is because the other edit type needs to initialize the control for the first input.

Regards,
Handy

Hello Adam,

I can also replicate the issue in here. I will report this issue to our developer teams. Thank you for your information.

Regards,
Handy

Posted: October 22, 2010 9:43 AM

Hello Frank,

Would mind to guide me how to do it? E.g in video recording. This approach can avoid missunderstanding when replicate your issue.
Also, Please let me know if it is reproducable in our sample (which sample) or not.

Default behaviour
WebGrid would ignore the other process when the current process has not finished yet. 
It will show dialog box about that. So, I need to know in detail how you replicate the issue.

Regards,
Handy

Posted: October 22, 2010 9:38 AM

Hello Eric,

Our hierachical sample, you should be able to do sorting in their child. Same result should show in LoadOnDemand scenario.
At least we need to replicate your issue. Is it possible for you to send me a simple sample that replicates your issue?
FYI, you can also apply a customSort. Please open our WebGrid documentation and search about "CustomSort".
Hope this helps.

Regards,
Handy

Hello Maged,

Thank you for your response.
To investigate your issue, we need able to replicate your issue first.
In my sample, it also used checkbox boolean type (database) with using client binding WebService.
However, it works fine.
Is it possible for you to create a simple runable project or modify my sample so we can replicaet your issue in here? We need this to investigate your issue.

Regards,
Handy

Posted: October 21, 2010 3:30 PM

Hi Piere,

Ok, thank you. I can see what you tried to explain in here.
I think it is not a bug. It is a default behaviour.
If you set all row ForceNoEdit as true, it should have the same behaviour as AllowEdit = No
The only difference, you still can navigate the cell (force no edit).

Regards,
Handy

Hello,

I attached my sample. It works fine. Please paste into our WebGrid sample.
I added my update,insert and delete WebMethod in webservice.cs.
Also, please ensure that you did not forget to define the boolean value type in your javascript.

e.g

I use table product in Northwind database. When specify ItemTypeName, we also need to define the value.

    function Product() {
            this.ProductID = 0;
            this.ProductName = "";
            this.SupplierID = 0;
            this.CategoryID = 0;
            this.QuantityPerUnit = "";
            this.UnitPrice = 0;
            this.UnitsInStock = 0;
            this.UnitsOnOrder = 0;
            this.ReorderLevel = 0;
            this.Discontinued = false;
        }

 

Regards,
Handy

Posted: October 21, 2010 2:51 PM

Hello Piere,

It should not hang in there. It should skip the Non Edittable cells and go into the next editable cell.
If you set force no edit into the last cell of row, it should skip that cell and move into the next row.

Regards,
Handy

Posted: October 21, 2010 11:08 AM

Hello Steve,

Please see my attached sample. I also used ISRowChecker and it persists well when do FullPostBack. Please ensure you also set PersistRowChecker properties as true.

Regards,
Handy

Posted: October 21, 2010 10:18 AM

Hello Frank,

Unfortunately, you could not do that if WebCombo has not loaded the data yet. It will only load the data after you clicked to show the drop down.
However, you can trigger this at OnInitialize clientside event.
After it loaded the data, you can access the rows.
Below, is the attached code. 

function WebCombo1_OnInitialize(controlId)
{
       var combo = ISGetObject("WebCombo1");
       combo.ShowDropDown();
       return true;
}
 function Button1_onclick() 
{
            var combo = ISGetObject("WebCombo1");
            alert(combo.GetRows()[0].Value);
} 


Hope it helps.

Regards,
Handy

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