User Profile & Activity

Yudi Member
Page
of 259
The grid is much slower to expand

This is due to the LoadOnDemand behavior where the child rows will be retrieved and loaded when user click the expand button.

the lowest level child nodes have a '+' icon until I try to expand them (at which point the remove themselves).

This how-to article shows how to remove the (+) sign for self reference LoadOnDemand rows that contain no child row. In InitializeRow event at the server side, use e.Row.SelfRefChildNotExpandable = true to remove the + button.

Hope this helps.

I modified SelfReferencingGrid.aspx sample file of WebGrid by enabling AllowAddNew, AllowDelete, and AllowEdit feature. Next, modify Steven Buchanan's city from London to Manchester.
And yes, the reported problem is reproducible. After update, it auto-expands the edited row & all children. and it leave the '+' icon on the newly expanded rows so that the user needs to click the icon twice to actually collapse each row.

I found that after enabling LoadOnDemand property of SelfReferencingSettings, the problem is no longer persist. Could you please try this solution and let me know how it works in your end?

I modified SelfReferencingGrid.aspx sample file of WebGrid by enabling AllowAddNew, AllowDelete, and AllowEdit feature. Next, modify Steven Buchanan's city from London to Manchester.
And yes, the reported problem is reproducible. After update, it auto-expands the edited row & all children. and it leave the '+' icon on the newly expanded rows so that the user needs to click the icon twice to actually collapse each row.

I found that after enabling LoadOnDemand property of SelfReferencingSettings, the problem is no longer persist. Could you please try this solution and let me know how it works in your end?

Posted: June 17, 2015 7:38 AM

I created a simple WebSite which only have one simple page, a page with unbound WebGrid. The WebSite doesn't use SmartWebResources at all.

Unfortunately, I was unable to replicate the problem. Could you please provide me with a step-by-step guide that I can use to observe the problem?

Note: I enclosed my project for reference.

Posted: June 16, 2015 3:21 AM
The only issue i wanted the fix is to set the web tab height to 100% of the page height. For your reference i have attached the screen shot that shows the actual issue.

Thank you for the explanation. It helps a lot to identify the problem.

Please follow the steps below in order to fix the problem.

  1. Open WorkFlowManagerFrame.aspx.
  2. Add following style.
    <style type="text/css">
        html, body, form
        {
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
        }
    </style>
  3. Set the height of div element as the container of table to 100%.
    <body id="body" runat="server" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"
        bgcolor="#BAD3F5">
        <form id="form1" runat="server">
        <div style="height: 100%;">
            <table style="height: 100%; table-layout: fixed; border-collapse: collapse; width: 100%;">
                ...
            </table>
        </div>
        </form>
    </body>

The result will look like following.

For your reference, I enclosed the modified project. Please give it a spin and let us know how it works on your end.

Thank you for sharing the solution with us.

Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.

Posted: June 15, 2015 1:28 AM

I'd like to inform you [Martin Fitzgerald] that hotfix of this problem will only available for WebGrid 9. When the nightly-build hotfix is ready, I'll update this thread.

Thank you for the report.

This problem has been resolved. Per my test (on June 13, 2015), the problem - image with broken link - is no longer persist.

Should you have different result, please let us know.

Posted: June 12, 2015 10:30 AM

Exception, "Integration Error: Can't find DesktopManager instance!", persist when I tried to open OpsCreate.aspx sample file. The exception is no longer persist if IntegratedToDesktopManager property of ProgressDlg WebDialogBox is set to False.

In this page web tab is occuppying the complete 100% height. I modified the styles still it is not coming perfect to me.

Please correct me if I'm wrong but there is no WebTab in OpsCreate.aspx page. Could you please inform me about the expected result of OpsCreate.aspx page so that I can assist you further.

Posted: June 8, 2015 2:09 AM

I enclosed my sample as attachment. Please have the sample evaluated on your end and let me know the result.

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