This is a migrated thread and some comments may be shown as answers.

Show Footer Works on Local But not on Server.

8 Answers 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 31 Oct 2008, 05:41 AM
hi

I have unique situation here.

I have a radgrid which has Showfooter = True in the pageload event, to show the aggregate value at the footer.

I tested on my local machine running XP pro sp2 and it works fine. It show the total value at the footer. But the moment i copy and pasted on to the server 2003 SP1. It didn't work. It just didn't show anything on the grid.

I went to the server and i comment out the Showfooter=true and it works, but of course no aggregates.

How do i solve this? Thanks

8 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 03 Nov 2008, 08:02 AM
Hello Lui,

This is strange indeed. Could you provide more information about the scenario in which the Grid is used? When you deploy the website on the Windows Server 2003, does the page throw any errors when loaded? Can you reproduce the problem with this sample page from our demos? Any other information that might be relevant is welcome.

Best wishes,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
L
Top achievements
Rank 1
answered on 03 Nov 2008, 09:55 AM
hi

There is an error at the status bar of the IE browser " Error on Page"

I am using  ASPNET AJAX Q1 2008.

Here is my code:

<

telerik:RadGrid ID="grdRevenue" runat="server" GridLines="None"

 

 

AutoGenerateColumns="False" AllowPaging="True" >

 

 

<MasterTableView>

 

<

RowIndicatorColumn Visible="False">

 

<

HeaderStyle Width="20px"></HeaderStyle>

 

</

RowIndicatorColumn>

 

<

ExpandCollapseColumn Visible="False" Resizable="False">

 

<

HeaderStyle Width="20px"></HeaderStyle>

 

</

ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="NO"

 

 

HeaderText="NO" UniqueName="NO">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="SDate"

 

 

HeaderText="SDate" UniqueName="SDate" DataFormatString= "{0:dd/MM/yyyy}">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Company"

 

 

HeaderText="Company" UniqueName="Company">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Code"

 

 

HeaderText="Code" UniqueName="Code">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn Aggregate="Sum" DataField="Amt"

 

 

HeaderText="Amt" UniqueName="Amt">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn Aggregate="Sum" DataField="Fee"

 

 

HeaderText="Fee" UniqueName="Fee">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn Aggregate="Sum" DataField="Membership"

 

 

HeaderText="Membership" UniqueName="Membership">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn Aggregate="Sum" DataField="Value"

 

 

HeaderText="Value" UniqueName="Value">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

<

EditFormSettings>

 

<

PopUpSettings ScrollBars="None"></PopUpSettings>

 

</

EditFormSettings>

 

</

MasterTableView>

 

</

telerik:RadGrid>

 



And my code behind on page load:

 

If Not IsPostBack Then

 

grdRevenue.DataSource = datatable

 

grdRevenue.DataBind()

 

End

If

 


0
Sebastian
Telerik team
answered on 03 Nov 2008, 10:03 AM
Hello Lui,

Can you please specify what the details of the javascript error say? Additionally, I recommend you upgrade to the latest version 2008.2.1001 of RadControls for ASP.NET AJAX (Q2 2008 SP2) and switch to advanced binding with NeedDataSource event handling (which requires no additional coding for paging/sorting/etc. operations) instead of simple binding with DataBind() calls.
 
Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
L
Top achievements
Rank 1
answered on 03 Nov 2008, 10:52 AM
hi

There isn't any javascript error. I also turn off the show friendly error messages in IE but no JS error. 

Is there any documents that shows me how to upgrade to Q2 2008 sp2?

Since i have deployed some of the pages the server and i do not want to have errors here and there after upgrade. Thanks
0
Sebastian
Telerik team
answered on 03 Nov 2008, 11:21 AM
Hi Lui,

You can refer to the online resources linked below for detailed upgrade instructions:

http://www.telerik.com/support/kb/article/b454K-kad-b454T-a-b454c-a.aspx
http://www.telerik.com/help/aspnet-ajax/installupgrading.html

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
L
Top achievements
Rank 1
answered on 03 Nov 2008, 12:48 PM
hi

I will try to upgrade to Q2 2008 Sp2. Meanwhile, can you replicate the problems that i have? It seems so strange. thanks
0
Accepted
Sebastian
Telerik team
answered on 04 Nov 2008, 09:12 AM
Hello Lui,

Unfortunately I cannot recreate the issue locally and without the error details it would be very hard to provide more definite explanation/solution for your case. If the problem persists after the update, this information will be very important in our effort to locate the source of the issue and eliminate it.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
L
Top achievements
Rank 1
answered on 04 Nov 2008, 12:07 PM
hi

So sorry. Is my mistakes. i have null value in the DB and therefore it cannot sum up. Thanks so much
Tags
Grid
Asked by
L
Top achievements
Rank 1
Answers by
Pavel
Telerik team
L
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or