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
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.
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
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.
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
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.
I will try to upgrade to Q2 2008 Sp2. Meanwhile, can you replicate the problems that i have? It seems so strange. thanks
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.
So sorry. Is my mistakes. i have null value in the DB and therefore it cannot sum up. Thanks so much