Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
206 views
Hi,

I always get a pop up window with the error for the ToolTip. I added a function like this, but it still pops up !

 
function OnClientResponseError(sender, args) { 
                args.set_cancelErrorAlert(true); 
            } 
 

 The error :
RadToolTipManager response error:
 Exception=Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

Details: Error parsing near 'Telerik.Web.UI 2010.'.

How to solve such problem?
Petio Petkov
Telerik team
 answered on 28 Jul 2010
5 answers
140 views
Hi, my first issue is that I have an update link being generated even though there is no specified update image or text. How can I get rid of this?

Also, in its place I would like to have a custom button that is just a linked image to a new page.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" EnableAJAX="true" LoadingPanelID="RadAjaxLoadingPanel1" ClientEvents-OnRequestStart="onRequestStart" >
        <telerik:RadGrid ID="gridUsers" DataSourceID="srcUsers" runat="server" AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" PageSize="10" AutoGenerateColumns="false">
            <GroupingSettings CaseSensitive="false" />
            <HeaderStyle Font-Bold="true" />
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" Visible="true" EnableSEOPaging="true"/>
            <MasterTableView CommandItemDisplay="Top" AllowNaturalSort="false" DataKeyNames="distinguishedName">
                <CommandItemSettings RefreshImageUrl="~/images/refresh_button.gif" ShowExportToWordButton="false" ShowExportToExcelButton="false" ShowExportToCsvButton="true" ShowExportToPdfButton="false" ExportToWordText="" ExportToExcelText="" ExportToCsvtext="" ExportToPdfText="" ExportToWordImageUrl="~/images/export_to_doc.gif" ExportToExcelImageUrl="~/images/export_to_xls.gif" ExportToCsvImageUrl="~/images/export_to_csv.gif" ExportToPdfImageUrl="~/images/export_to_pdf.gif" />
                 
                <Columns>
                    <telerik:GridHyperLinkColumn HeaderText="Edit"  DataNavigateUrlFormatString="EditUser.aspx?user={0}" DataNavigateUrlFields="objectGUID" UniqueName="link" ShowFilterIcon="false"/>
                    <telerik:GridBoundColumn HeaderText="First Name" UniqueName="givenName" DataField="givenName" FilterListOptions="VaryByDataType" FilterImageUrl="~/images/filter_icon.gif" />
                    <telerik:GridBoundColumn HeaderText="Last Name" ItemStyle-Width="100%" HeaderStyle-Width="100%" UniqueName="sn" DataField="sn" FilterListOptions="VaryByDataType" FilterImageUrl="~/images/filter_icon.gif" />
                    <telerik:GridBoundColumn HeaderText="Created" ItemStyle-Wrap="false" UniqueName="whencreated" DataField="whencreated" FilterListOptions="VaryByDataType" FilterImageUrl="~/images/filter_icon.gif" />
                    <telerik:GridBoundColumn HeaderText="distinguishedName" UniqueName="distinguishedName" DataField="distinguishedName" Visible="false" FilterListOptions="VaryByDataType" FilterImageUrl="~/images/filter_icon.gif" />
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </telerik:RadAjaxPanel>


Help please!
Iana Tsolova
Telerik team
 answered on 28 Jul 2010
1 answer
204 views
I'm having a problem calculating my custom aggregate sum function for nested groups.

For example, I have a product group, a product, and then several rows pertaining to that product (so there are two groupings: the main product group > then the individual product and its data). Then, for each grouping I have a footer which calculates the sum of the column based on the value of another column in that row.

What I'd like to see is something like this assuming a product group with 2 products. It would calculate the footer total for each product in that column if the first column's value is say 'Row 3' or 'Row 4' and then for the top product grouping (for 'Product Group 1') would calculate the values from the other footers.

Product Group 1
    Product 1
        Row 1 | 1 | 1 | 1 | 1 |
        Row 2 | 1 | 1 | 1 | 1 |
        Row 3 | 2 | 2 | 2 | 1 |
        Row 4 | 2 | 2 | 1 | 1 |
   [Footer]   | 4 | 4 | 3 | 2 |
    Product 2
        Row 1 | 1 | 1 | 1 | 1 |
        Row 2 | 1 | 1 | 1 | 1 |
        Row 3 | 2 | 2 | 2 | 1 |
        Row 4 | 2 | 2 | 1 | 1 |
   [Footer]   | 4 | 4 | 3 | 2 |
[Footer]      | 8 | 8 | 6 | 4 |

I have it set up so each product's footer calculates the individual product's footer correctly, but not the top most group footer (the product grouping), it only calculates the last individual product's total as in the screenshot I attached. I'm not quite sure how to grab the totals from previous footers of the same grouping.

Here is my custom aggregate function as is now:
Protected Sub RadGrid1_CustomAggregate(ByVal sender As Object, ByVal e As GridCustomAggregateEventArgs) Handles RadGrid1.CustomAggregate
 
        If e.Column.UniqueName = "Row" Then
            e.Result = ""
        Else
            Dim length As Integer = RadGrid1.MasterTableView.GetItems(GridItemType.GroupHeader).Length
            For i As Integer = 0 To length - 1
 
                Dim total As Double = 0
 
                Dim groupHeader As GridGroupHeaderItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.GroupHeader)(i), GridGroupHeaderItem)
                Dim children As GridItem() = groupHeader.GetChildItems()
 
                For Each child As GridItem In children
                    If TypeOf child Is GridDataItem Then
                        Dim childItem As GridDataItem = TryCast(child, GridDataItem)
 
                        Dim rowText As String = childItem.Item("Row").Text
 
                        If rowText = "Row3" OrElse rowText = "Row4" Then
                            total += childItem.Item("Value").Text
                        End If
                    End If
                Next
                e.Result = total
            Next
        End If
    End Sub

Sorry if this is a dumb question, but I'm a little stuck here.
Martin
Telerik team
 answered on 28 Jul 2010
1 answer
86 views
Hi,

actually I'm looking for a method for loading data in a control with  most minimal action on the server. (Means, when possible, only the control that needs to be refreshed should go through its lifecycle, not the rest of the pages controls).

I found some Information that it should be possible to handle this problem with RadXMLHttpPanel, but no exact information how to ensure that only the refreshed control goes through its lifecycle.

Any hints ?

As additional Information: We have a page that is build by WebParts encapsulating usercontrols. Our need ist to force single webparts/usercontrols to refresh by button/timer etc.

Pero
Telerik team
 answered on 28 Jul 2010
4 answers
406 views
hello,

I have used Telerik RadEditor in my site and I load content dynamically and then I store RadEditor.Content in a string variable and then if I dont make changes even, I get when comparing two strings the difference not identical. I have then watched both strings the thing is the white space <br> tag is rendered differently, the sequence in attributes of HTML tags has been changed in both string (Editor's Content).

Is there any thing I can load the content and save it and then if any changes occurs I track that as well and do the things?

It would be great even if I can programmatically call changes tracking button and proceed further

Thanks,
Sunny
Sunny
Top achievements
Rank 1
 answered on 28 Jul 2010
5 answers
83 views
I would like to change the tooltip for InsertTable and InsertForm in the ToolsFile.xml.

<tool name="ForeColor" text="Font colour" />

works but

<tool name="InsertTable" text="Table manager" />

or

<EditorToolStrip name="InsertFormElement" text="Form manager" />

do not.

Your help would be much appreciated.

Thanking you in anticipation.

Roger
Dobromir
Telerik team
 answered on 28 Jul 2010
2 answers
83 views
Hi
(sorry about my english)

i use the Scheduler and each appointment can by default to change the time by drag and drop or change the duration by drag the splitter. (in the butoom of the appointment)

hoe can i disable this two options.

10x
shlomo
Top achievements
Rank 1
 answered on 28 Jul 2010
2 answers
264 views
Hello
A RadDatePicker control with simple definition(<telerik:RadDatePicker runat="server" ID="myPicker"/>)  consumes about ~15 Kb of page size.
On my page I have two grids, two asp combos, two text boxes and rendered page size is 70Kb,  I need to place four date pickers and they consume about ~60Kb, the page size is increasing up to ~130 Kb and that is very much....
Please provide any solutions/examples how to reduce the RadDatePicker control size.

Thanks
Roman
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
136 views
Hi, I have 4 radDatePicker in a form say start date from, start date to, end date from and end date to. the scenario is if i select something in start date from or start date to both end date from and end date to should be disabled viz. when i clear the values all four radDatePicker should be enabled..
any body have any suggestions how to do this??
Shinu
Top achievements
Rank 2
 answered on 28 Jul 2010
2 answers
135 views
I'm looking at a migration from SharePoint 2007 to SharePoint 2010, where the 2007 site is using the RadEditor for MOSS v5.x, and the update path to the SharePoint 2010 version of the RadEditor is very easy, which is nice :o)

But when editing a page in SharePoint 2010 which utilizes the RadEditor, then all RadEditor menus are rendered as the previous version (old fashion Office 2003 style) instead of moving the elements to the Ribbon UI as everywhere else in SharePoint 2010.

Is there any plans of implementing the RadEditor menus (e.g. formatting, inserting, etc) as elements of the Ribbon UI instead?

/Brian
Brian Krainer Jacobsen
Top achievements
Rank 1
 answered on 28 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?