User Profile & Activity

Yudi Member
Page
of 259
Posted: June 5, 2015 8:35 AM

I created a simple sample of WebGrid with the following detail:

  • WebGrid is bound to Tests table of DummyDb database.
  • Tests table has 5 columns: TestID1; TestID2; TestName; TestDescription; and TestNote.
  • TestID1 and TestID2 columns are primary key. The ColumnTypes are Guid.
  • The other columns are text.
  • Batch-update is enabled in WebGrid.
I use Multi primary key column, and enable batch update , it occurs the problem as above.I found this problem have not been solved at Intersoft Premier Studio 2014 R1 SP1...

I was able to reproduce the above problem, The pending changes already contain a record with key '', when adding two records.

Could you please confirm whether you have similar scenario to my sample or not? If you have any additional information to add to this case, please feel free to let me know. I can provide my simple sample to be evaluated on your end if necessary.

Look forward to hearing back from you.

Posted: June 4, 2015 3:22 AM

Thank you for providing the hint to CreatingSimpleDialogBox.aspx in WebDesktop tutorial. I also get the same result when view the page in IE 11 browser.

I made a minor modification to the tutorial page. The detail is as follow:

Step 1 - Change doctype to html5 doctype.

Original:

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

Modified to:

<!DOCTYPE HTML>
<html>

Step 2 - Set RenderingMode to HTML5.

<ISWebDesktop:WebDialogBox ID="WebDialogBox1" runat="server" DialogBoxImage="Information"
    Height="150px" Width="400px" RenderingMode="HTML5">
    ...
</ISWebDesktop:WebDialogBox>

Step 3 - Enable ContentScrollable of WebDialogBox.

<ISWebDesktop:WebDialogBox ID="WebDialogBox1" runat="server" DialogBoxImage="Information"
    Height="150px" Width="400px" ContentScrollable="True" RenderingMode="HTML5">
    ...
</ISWebDesktop:WebDialogBox>

Step 4 - Add css selector for html, body, and form element.

<style type="text/css">
    html, body, form
    {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }
</style>

Save the changes and view the page in IE 11 browser. The result is as shown in the screenshot below.

For your reference, I enclosed the modified version of CreatingSimpleDialogBox.aspx as attachment. Please have the page evaluated on your end and let me know whether this helps or not.

Posted: June 4, 2015 2:26 AM

I created a simple sample of WebGrid based on the provided snippet code. However, I was unable to reproduce the reported problem in my local end.

I enclosed my simple sample as attachment (Sample_PagerIsNotShowing.zip). Extract the zip file and add the sample file (PagerIsNotShowing_WebTab.aspx and PagerIsNotShowing_WebGrid.aspx) into WebGrid sample website in your development machine.

Could you please modify this sample so it replicates the reported problem? I will continue my investigation from the modified sample.

Look forward to hearing back from you.

I have forwarded this problem to WebScheduler development team to be investigated further. The report is filed under ASPNET-173.

I will keep you informed with any news I heard from the team regarding ASPNET-173.

Posted: June 3, 2015 1:42 AM

I tried to replicate the reported problem by viewing WebGrid sample (FirstExperience.aspx) in IE 11 browser. Everything worked smoothly and the page was rendered without any issues.

Please feel free to let me know if you find anything that I might miss during my attempt to reproduce the problem.

Posted: June 3, 2015 1:32 AM

Glad to hear the good news.

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 3, 2015 1:27 AM

Glad to hear that the snippet code helps.

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.

I created a simple sample of WebGrid where its data source is bind using ISDataSource. The ISDataSource uses custom object Schema type. The grid is configured to Read, Update and Insert data.

However, I was unable to reproduce the reported problem: "System.OutOfmemoryeEception" exception thrown when trying to insert a new line or update an existing line.

I enclosed my simple sample as attachment. Simply add my sample into WebGrid samples then view the page in browser. Please feel free to let me know if you find anything that I might miss during my attempt to reproduce the problem.

Posted: June 1, 2015 3:22 AM

Please ensure that you have updated ISNet.dll; ISNet.WebUI.dll; and ISNet.WebUI.Resources.dll in your project's bin folder. Other things to check is (based on the information that 2014 R2 trial has been downloaded): ensure that you have applied latest build of WebGrid; WebDesktop; etc to your project's bin folder too.

Hope this helps.

Posted: May 29, 2015 9:37 AM

Sorry for the delay in sending this.

You can try to disable the toolbar command and then re-enable the command until some condition met.

function DisableToolbarItem()
{
    var toolbar = ISGetObject("wtcTray");
    toolbar.DisableCommand(toolbar.Commands[0]);

    // uncomment following line to enable toolbar command
    // toolbar.EnableCommand(toolbar.Commands[0]);

    return true;
}

Hope this helps.

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