User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43
Posted: August 22, 2011 5:48 PM

Hello Sachin,

I got your point now. I have successfully replicated your issue here.

However, I will need to discuss this issue futher with the developer team. Probably, they can come up with a better solution on how to overcome this issue.

I will let you know when I get any update from them.

Thank you.

 

Regards,
-Martin-

Hello Peter,

Sorry for late reply.

I've once again created a video recording and I'm following the steps given by you.

Could you please have a look at it and see whether the result suits your demand? During my testing, I'm not getting the slow script issue anymore. About the default height, please see the video and give a comment in case there are parts that I was missing.

The video can be downloaded from here. Select SlowScriptIssue to get the latest video.

Thank you.

 

Regards,
-Martin-

Posted: August 18, 2011 11:07 PM

Hello Sachin,

I've run your sample here. It seems that the selected subject and offset count have already displayed the correct number. The problem is only with the total loaded record in grid.

Basically, when you use WebGrid1.RootTable.Rows.Count.ToString(), it will count the total rows in the table. Let's say Customer table is bound to WebGrid, which has total 91 records. By using that method, you will get total 91 records.

If you use Virtual Load paging, it is recommended to obtain the total displayed row using client-side. Try to invoke the following code by using button click in client-side:

function DoCount()
{
   var grid = ISGetObject("WebGrid1");
   alert(grid.RootTable.GetRowsCount());
}

Invoke DoCount() function using button click like following:

<input type="button" id="button1" value="Get Rows from Client" onclick="DoCount()" />

With these codes, you are able to get the total rows count that is being displayed in the current state.

Hope this helps. Thank you.

 

Regards,
-Martin-

Posted: August 18, 2011 4:11 AM

Hello Sachin,

I believe you are using IsRowChecker column in your project.

I have created a sample that uses IsRowChecker along with VirtualLoad paging mode.

When I want to get total selected checkbox, I use a different approach like following:

WebGrid1.RootTable.GetCheckedRows().Count.ToString();

With the code above, I'm able to get the total checked rows according to the virual page size that is being loaded.

Attached is the sample for your reference.

Hope this helps. Thank you.

 

Regards,
-Martin-

Hello,

To set an alert to a node when it is selected, you can use OnNodeSelect Client-side event like following:

function WebTreeView1_OnNodeSelect(controlId, node)
{
   var WebTreeView1 = ISGetObject(controlId);
   if (node.Text == "Archive Folders")
      alert("This node cannot be selected")
   return true;
}

However, this event can only be applied in a single WebTreeView without integrating it into WebCombo. If you integrate WebTreeView with WebCombo, this event will never be invoked since combo will recognize the TreeView as the data item.

I haven't figured it out on how we can implement this when WebTreeView is integrated with WebCombo. I will try to discuss further with the developer team, whether this scenario is possible or not.

Thank you and have a nice day.

 

Regards,
-Martin-

Hello Jocelyn,

Please apply the latest build .431 using Update Manager.

To see the latest update for this issue, I've created a video for your reference. You can download the video from here. Then, please select SlowScriptingIssue to download the video.

Hope this helps. Thank you.

 

Regards,
-Martin-

Hello Peter,

Sorry for the late reply.

I've got an update for this issue. It seems that my suggestion to use <html xmlns="http://www.w3.org/1999/xhtml"> previously was incorrect. When you use HTML Transitional DocType, you are not allowed to mix it with XHTML. The rule of thumb is the xmlns should not be used in transitional DocType.

Therefore, after I modify your sample to use the following DocType, the slow scripting issue is gone:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">

 

Regarding the RowHeightDefault issue, it occurs due to the styling that you made in WebGrid. I have removed all the custom styling and use the default style instead, and the sample works fine. Also, you may want to download the latest build .413 that is officially available using Update Manager.

To see the latest update for this issue, I've created a video for your reference. You can download the video from here. Then, please select SlowScriptingIssue to download the video.

Thank you.

 

Regards,
-Martin-

Dear David,

First of all, let me introduce myselft to you. My name is Martin Lie, your sales representative from Intersoft Solutions.

In order to use WebCombo in the WebScheduler's editing form, you will need to purchase this control separately since it is not bundled with WebScheduler. The editing form that we provide is just an example to show how you can use your own custom editing form in WebScheduler.

For the pricing, I've sent an email to your inbox. Please have a look at it.

Thank you

 

Regards,
-Martin-

Hello Peter,

I'm sorry for any inconveniences this problem may have caused you.

I have raised up this issue to the developer team again. I hope they will get this issue fixed in this week. I have reminded them that there would be a possible regression bug in the latest build, since it was working fine in build 419.

I do hope they can fix this issue as soon as possible. I will keep updating the progress to you.

Thank you for your understanding.

 

Regards,
-Martin-

Hello,

Glad to hear that you guys have finally resolved this issue.

Should you have further inquiries about our products, please do not hesitate to post your question into this Community forum, and we will try our best to provide a solution towards your question.

Thank you and have a nice day.

 

Regards,
-Martin-

All times are GMT -5. The time now is 7:52 PM.
Previous Next