User Profile & Activity

Yudi Member
Page
of 259

Thank For the response Yudi. The Solution Provided is working.

Glad to know that the approach 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.

Hi Sreeji

We have an Intersoft Webgrid, when we try to update any information in the Grid, The Grid shows "Updating Row" Message and throws the below error in the browser console.

I tried to reproduce the reported problem in my local test by updating a row but my efforts were not successful. The update works without any issues.

For your information, I'm using WebGrid 10 (10.0.7200.24) and WebUI.NET Framework 3.0 (3.0.5000.976).

Based on the screenshot (updating Row.PNG), the test page uses ISDataSource as WebGrid's data source control and have its PagingMode set to VirtualLoad.

I'm willing to advise you further but in order to do so I would need you to elaborate on your specific scenario and possibly give us a simple sample and step-by-step guide that I can use to observe the problem.

I started my investigation by creating a simple WebApplication containing WebGrid then added confirmation alert oncellclick event of WebGrid.

Per my test, the reported problem doesn't persist. When the confirmation alert appear, after click on OK on alert, the grid doesn't crash.

Please find my project in the attachment and let me know if you find anything that I might miss during my attempt to reproduce the problem.

Thank you - that worked!

Glad to know that the updated css inside css.zip file 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.

Posted: December 20, 2016 6:41 AM

Please find attachment, Treeview_test_Modified.zip, which containing the modified sample to make it work with WebTreeView.

The WebTreeView sample implements advanced load-on-demand scenario for better performance. It allows you to add TreeViewNodes based on retrieved data.

Please have a look at the modified sample and let me know your response.

Thank you for the sample.

I’m currently still investigating this issue and need more time to provide you with solution, suggestion, or sample.

I’ll get back to you as soon as possible.

Thank you for the sent video. I was able to reproduce the problem after carefully following the steps shown in the video.

This problem has been forwarded to WebGrid development team to be investigated further. The report has been filed under ASPNET-410.

I will keep you informed with any news I heard from the team related to ASPNET-410.

Posted: December 19, 2016 2:48 AM

I have sent you a message to your registered email address. Please kindly check your inbox and let me know your response.

From the screenshot, the error happen on GetTranslatedString function of WebGrid_Context.js. One of the events that trigger this function is: when AutoFilterSuggestion is enabled (WebGrid - LayoutSettings - AutoFilterSuggestion) and user right-click on WebGrid column header.

The error happen because h is undefined or null. Since h is the parameter passed by following expression (from GetBasicFilterColumns): d.GetString(b + f[e].Name.substring(3))

The above should expression should return something like: "Equals {0}".

In my opinion, the error might happen if ISGetObject("WebGrid1").GetString("ContextMenu/FilterSuggest/ET") returns undefine or null.
*Please note that the "ET" in string "ContextMenu/FilterSuggest/ET" might vary with: ET, NET, Contain, NotContain, LTET, GTET, and so on.

If you are using custom localization for your WebGrid, please ensure that the xml node under "FilterSuggest" is not left empty/blank.

<Localization culture="default" description="Default Language">
  ...
  <ContextMenu>
    ...
    <FilterSuggest>
      <ET>Equals {0}</ET>
      <NET>Does Not Equal {0}</NET>
      <Contain>Contains {0}</Contain>
      <NotContain>Does Not Contain {0}</NotContain>
      <LTET>Less Than or Equal To {0}</LTET>
      <GTET>Greater Than or Equal To {0}</GTET>
      <OnBefore>On or Before {0}</OnBefore>
      <OnAfter>On or After {0}</OnAfter>
      <Checked>Is Checked (True)</Checked>
      <NotChecked>Is Not Checked (False)</NotChecked>
      <Tomorrow>Tomorrow</Tomorrow>
      <Today>Today</Today>
      <Yesterday>Yesterday</Yesterday>
      <NextWeek>Next Week</NextWeek>
      <ThisWeek>This Week</ThisWeek>
      <LastWeek>Last Week</LastWeek>
      <NextMonth>Next Month</NextMonth>
      <ThisMonth>This Month</ThisMonth>
      <LastMonth>Last Month</LastMonth>
      <Past>Past</Past>
      <Future>Future</Future>
      <Blank>Blank</Blank>
    </FilterSuggest>
    ...
  </ContextMenu>
  ...
</Localization>

Hope this helps.

This problem has been forwarded to WebGrid development team. The report is filed under ASPNET-409.

I'll keep you updated with any news I heard from the team regarding ASPNET-409.

Sorry for any inconvenience this problem may have caused you.

All times are GMT -5. The time now is 3:37 PM.
Previous Next