User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: May 28, 2013 10:54 PM
Hello,

Thank you for your question.

Please ensure you have added all assembly file that you need in your application’s bin folder.

Could you inform me more detail about our current scenario / application?
What Intersoft control that you use in your application / page?
So I can help you to investigate this issue further more.

For further information about deploying your application, please kindly follow this link.

Regards,
Hans.
Hello,

I am really happy to hear that the workaround works for your current scenario.
Thank you very much.

Regards,
Hans.
Posted: May 28, 2013 12:05 AM
Hello,

I have replied your email.
Please kindly check your email and let me know your response.

Regards,
Hans.

Posted: May 27, 2013 10:13 PM

Hello,

I apologize for delay sending this.

Thank you for your sample. I have tried to run your sample on my end, but unfortunately, I didn’t get any issue. Please kindly have review on my video once again, perhaps there are missing or wrong steps when I attempt to reproduce your issue.

I also can’t find any WebInput in your sample, I just found WebCombo.

Regarding your question about changing doctype, I recommend you to use the same doctype in your application; this will reduce the occurrence of errors or issues while using Intersoft control.

Talk about doctype, I see in your sample, there is line of comment code above HTML5 doctype.
I suggest you to not add any line of comment code above HTML5 doctype.

<%--You shouldn’t any comment here (above <!DOCTYPE HTML>) --%><!DOCTYPE HTML>
Thank you for your help.

Regards,
Hans.
Hello,

I made a workaround to get “DepartmentId” value that you might try.
I set the ComboMode to “MultipleColumns” and I add “DepartmentId” column to WebCombo as well.
In OnEnterEditMode client side event, I add a couple line of code the get the “DepartmentId” value.

Please kindly have review on the modified sample to see the result.

Thank you.

Regards,
Hans.
Posted: May 23, 2013 5:31 AM

Hello,

I attached the video how I run your modified sample and the result when I run the sample in IE9 and IE10.
In this video, first of all, I will show you the sample that I use, just to ensure we are using the same sample.
Then I run the sample in IE10 mode and IE9 mode.

Please correct me, if I wrong.

Regards,
Hans.

Posted: May 22, 2013 10:33 PM

Hello,

Thank you for your reply.

I have tried to group the Name Column in IE 9 and IE 10 with your sample, but unfortunately, it works fine on my end.

Have you try to modify the doctype of your web page as well?
Please try to modify from HTML4 doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html></html>

To HTML5 doctype:

<!DOCTYPE HTML>
<html></html>

Regards,
Hans.

Posted: May 21, 2013 7:06 AM
Hello,

Thank you for your reply and the sample.

From the sample that you provide to me you use HTML4 doctype in your page.
Please kindly try to modify your doctype to HTML5 and then set the “RenderingMode” property to “HTML5”

I have modified your sample as well. Please kindly have review on the sample and let me know your response.

Thank you.

Regards,
Hans.
Hello,

Thank you for your reply.

Please kindly ensure that you are using the right browser mode.
To know your browser mode information, you could press F12 in your Internet Explorer.
Then check, whether your “Browser Mode” use “IE9” and your “Document Mode” use “IE9 Standards” or not? (IE9Mode.jpg)
If not, perhaps there is a line of code in your page that set the Browser Mode and Document Mode to another value.

Could you inform me your current WebDesktop assembly version and Intersoft Framework assembly version?

Regards,
Hans.
Hello,

I apologize for keep you waiting.

Basically, The SetAdditionalFilters() method can’t be used in Unbound WebCombo indeed. So it will make the issue occurs.

However, I have a workaround that you might try. I modified your validation code in OnEnterEditMode WebGrid’s client side event.
In that event, I try to get all rows in WebCombo result box and then I try to hide the row that doesn’t have the same value with WebCombo value.

Here’s the example snippet validation code:
function WebGrid1_OnEnterEditMode(controlId, TableName, editObject) {    var _WebGrid = ISGetObject(controlId);
    var _WebGridCell = editObject.ToCellObject();
    if (_WebGridCell.Name == "Roles") {
        var _WebCombo = editObject.element;
                
        //So I can get WebCombo rows
        _WebCombo.ShowDropDown(); 
                
        window.setTimeout(function () {
            //To get WebCombo value
            var WebComboValue = _WebCombo.Values[0].Value; 
            //To get WebCombo rows
            var WebComboRows = _WebCombo.GetRows();
            var RowsLength = WebComboRows.length;
                    
            for (i = 0; i < RowsLength; i++) {
                var Row = WebComboRows[i];
                var RowValue = Row.Value;
                        
                if (RowValue != WebComboValue)
                    Row.RowElement.style.display = "none";
            }
            //To hide the dropdown again
            _WebCombo.HideDropDown();
        }, 500);
    }
    return true;
}

I attached the modified sample as well. Hope this helps.
Thank you.

Regards,
Hans.


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