User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43

Hello Robert,

I understand your point here, but it seems that using custom aggregate is not available for GroupRowInfoText in the group header.

The sample shows the implementation custom aggregate on a column footer. You only need to set FooterText, i.e "Count = " and set AggregateFunction to custom.

However, this is not applicable in Group header since it can be only used for built-in aggregate function only. Therefore, if you set GroupRowInfoFormat to [custom], it will display custom instead of the value being generated in custom aggregate.

Hope this helps. Thank you.

 

Regards,
-Martin-

Hello Peter,

I have tested your provided sample here.

This is what I get from my test:

When using

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

<html xmlns="http://www.w3.org/1999/xhtml" >

The project works fine including the normal RowHeightDefault. However, I did encounter the slow scripting error when I perform grouping in the sample.

However, the project works perfectly when we use XHTML DocType, which is not a preferable way for you.

I think the latest hotfix build 431 has already fixed the slow scripting issue, but it is only applicable when you use XHTML DocType.

Probably, the developer missed to have a fix on HTML Doctype.

Again, I have reported back this issue to the developer team, including your sample and some error screenshots. I have stated this issue as urgent and I believe they will handle and fix the issue as soon as possible.

I will get back to you as soon as I get the hotfix from them.

Thank you.

 

Regards,
-Martin-

Hello Peter,

The issue is replicated on my end using the sample that you sent previously (intersoft.431). If I create a new project using the same DocType and set the autofitcolumns to true, there is no RowHeight issue happening on my project.

Therefore, the issue only happens on the project that you sent me. And, I have tried to modify your sample, that is by removing RowHeightDefault that is already set to -1px initially. When I remove the RowHeightDefault property from your project, then it works fine. The RowHeight 30px issue that you mentioned before was gone. I'm modifying WebForm1.aspx sample in your project.

Have you managed to remove the RowHeightDefault property and see the result?

Thank you.

 

Regards,
-Martin-

Hello,

Glad that you have resolved the issue!

Yes, initially there is ";" in the SelectCountMethod = "GetWebComboCount", but I thought it is accidentally my mistake. That's why I just remove it since I was unable to run the project before.

Now I just know that it is originally came from you :)

Thank you.

 

Regards,
-Martin-

Hello Peter,

I just modified your project and now it works fine using

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
and autofitcolumns="True" 

I notice that you set RowHeightDefault to -1px and you didn't specify the WebGrid's width and height.

After I remove RowHeightDefault and set grid's width and height to 100%, the project works fine.

Here is the following property that I set in the grid:

<ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1"
UseDefaultStyle="True" DataMember="DefaultView" Width="100%" Height="100%">

Hope this helps. Thank you.

 

Regards,
-Martin-

Hello Michal,

I've tried your published solution and got the same error like you mentioned.

However, it's difficult to trace the error if the issue could not be reproduced on my end and it seems that your project only produces the error on a few computers.

I'm using the same WebCombo version like yours.

So for now, I think we should try to find a way to reproduce your issue on my end. Could you provide any help?

Thank you.

 

Regards,
-Martin-

Hello,

I've tried to run your sample but I couldn't replicate your issue on my end. Could you guide me on how to reproduce the issue?

I've created a video recording to show how the project works. You can download the video from the following link:
http://www.intersoftpt.com/tdn/downloads/combo.zip

Thank you.

 

Regards,
-Martin-

Hello Peter,

In your sample, you were using:

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

 

You should use

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

 

Therefore, leave the <html> like it is. Then try to run the project. It works fine on my end.

Thank you.

 

Regards,
-Martin-

Hello Peter,

I sent you a message to your registered email account that shows step-by-step to get the latest nightly build of WebGrid.NET 7.0 and WebUI.NET Framework 3.0 including the link to dowload.

Please kindly check your inbox and let us know if you have different result.

Thank you.

 

Regards,

-Martin-

Posted: July 15, 2011 11:30 AM

Hello,

Glad to hear you have resolved the issue.

I suggest you to use the latest IE9 browser in order to avoid the error.

Thank you.

 

Regards,

-Martin-

All times are GMT -5. The time now is 12:41 AM.
Previous Next