Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
282 views
Searched everywhere for a good example where a column with Aggregate = "Custom" performs a calculation based on the values of 2 or more other group footer values

Plenty of requests for help but replies don't really seem to get the issue and keep referring to online help/samples which don't appear to address the problem other than identifying the OnCustomAggregate event.

The closest useful example I have seen is:-

http://www.telerik.com/community/forums/aspnet-ajax/grid/how-do-the-built-in-footer-aggregate-functions-work.aspx but this only deals with manipulating the group footer value based on the line item value.


What I am interested in is to have a grid calculate the Cancel % in each footer based on values in the group footer for Total & Cancel:

Group 1
Total    Complete    Cancel    Cancel %
100            50               50         50% 
200           180              20         10%
300            225            75          25%
Group Footer 1
600            455            145        24.2%

Group 2
Total    Complete    Cancel    Cancel %
200           150             0           50% 
300           270             30         10%
400           320            80          20%
Group Footer 2
900            740          110        12.2%

Thanks

Thai
Top achievements
Rank 1
 answered on 14 May 2011
1 answer
79 views
Hello,

I am creating a radchart runtime. Observed that after binding the data chart flows out of the canvas. See the attached image.

How to restrict the chart to be in the assigned height and width ?
prayag ganoje
Top achievements
Rank 1
 answered on 14 May 2011
1 answer
66 views
When using the AutoInsert / AutoUpdate functions on a RadGrid, the iAuditable method is not being called. However if I intercept the onInsert / onUpdate calls, and manually perform the Insert / Update then the iAuditable method fires correctly. I'm trying to limit the amount of code to ZERO on several simple admin screens by utilizing the base Grid Functions available, any help would be greatly appreciated.
Ryan
Top achievements
Rank 1
 answered on 13 May 2011
8 answers
138 views
Hi,

Am trying to use the HeaderContextMenu for RadGrid to provide application-specific options. When I try to remove all the pre-defined options using this solution - http://www.telerik.com/community/forums/aspnet-ajax/grid/headercontextmenu-add-remove-items-vb-net.aspx#1284516 , the menu is not displayed at all. Specifically, when I remove the "Columns" option.

Is there any other way to do this? Or can I add in a HeaderContextMenu of my own to a specific column?

And I also tried to display the menu on left click using this snippet

function OnColumnClick(sender, args)
{
args.get_gridColumn().showHeaderMenu(args.domEvent);
}

But the menu doesn't stay expanded. It collapses immediately after it expands. Any ideas on how to make that work?

Thanks!

KC
Top achievements
Rank 1
 answered on 13 May 2011
2 answers
120 views
Just realized that while our custom file provider for the various managers like image, documents, etc is working in that it's returning the correct directory structure and I can navigate the tree on the left, it doesn't matter which node on the left I click, when our custom FileBrowserContentProvider class is called at the server, it's always requesting the root directory, so I can't browse any files below the root directory.

What should I look for? What piece of data is the client telerik image manager using to call back to the server? Where is that data coming from?

Frustrating cause the tree on the left is correct, while debugging, I see it loading the tree correctly and also loading all the files for those directories, just that the interface only ever requests the root node.

It use to work, just can't figure out what I changed.
Pat
Top achievements
Rank 1
 answered on 13 May 2011
3 answers
328 views

hi my dear friends :

i am using RadListBox in my Project (asp.net with c# with vs2010)

also i am using some link buttons in itemTemplate...

i want to change the color of these LinkButtons when we hover or select an item in ListBox! (Client Side Programming)

my RadListBox Is Like This :

            <telerik:RadListBox ID="RadlbOfImageGroup" runat="server" DataKeyField="ID" DataSortField="Title"
                DataSourceID="sdsImagesGroup" DataTextField="Title" DataValueField="ID" Skin="BlackByMe"
                EnableEmbeddedSkins="False" EmptyMessage="No Records!">
                <ButtonSettings TransferButtons="All" />
                    <HeaderTemplate> <div id="Header_RadlbOfImageGroup"><h5>Header Area</h5></div>
</HeaderTemplate>
 
                <ItemTemplate>
                    <asp:LinkButton ID="lbTitleOfIG" CssClass="lbTitleOfIGclass" runat="server" CausesValidation="False"><%# Eval("Title") %></asp:LinkButton>
                    <asp:Label ID="lblTitleOfIG" CssClass="lblTitleOfIGclass" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                         
                    <asp:LinkButton ID="lbEditOfIG" CssClass="lbEditOfIGclass" runat="server" CausesValidation="False"
                        CommandName="Edit">Edit</asp:LinkButton>
                       
                    <asp:LinkButton ID="lbDeleteOfIG" CssClass="lbDeleteOfIGclass" runat="server" CausesValidation="False"
                        CommandName="Delete">Delete</asp:LinkButton>
                </ItemTemplate>
            </telerik:RadListBox>

i want to change the color of lbTitleOfIG during hover and select of an item !

how can i do this job?

thanks for attention

Majid Darab
Top achievements
Rank 1
 answered on 13 May 2011
3 answers
111 views
I have ran into an issue where the color picker popup will overflow when placed in a jquery dialog.
Is there a way i can manually align the popup? I tried KeepInScreenBounds to no avail.

Thanks
Rafal
Niko
Telerik team
 answered on 13 May 2011
2 answers
229 views
Hi,

I created a new project with only one RadComboBox.
I added the RadScriptManager, set EnableScriptCombine to true and ran with YSlow.

The result is shown below.
I expected all the JS to be combined to one.
What am I doing wrong?

The page has a total of 14 components and a total weight of 145.5K bytes
TYPE SIZE
(KB)
GZIP
(KB)
COOKIE RECEIVED
(bytes)
COOKIE SENT
(bytes)
URL EXPIRES
(Y/M/D)
RESPONSE
TIME (ms)
ETAG
doc 6.3K http://localhost:49573/Default.aspx no expires 1949
js 21.7K http://localhost:49573/WebResource.axd?d=C65kFO8Zbyr7oEK88I4nwkCFF2wi8YUppZCA1-hPbGEC9Dh-au8RfX-Tno5[snip] 2012/5/11 65
js 142.1K 40.0K http://localhost:49573/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compre[snip] 2012/5/11 72
js 36.1K 8.9K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/Core.js 2020/11/9 112 "2c2cea13c88f37aca1fe21374c6f214b"
js 78.0K 26.8K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/jQuery.js 2020/11/9 117 "d433bf28fe6035d33e275884802fb720"
js 0.1K 0.1K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/jQueryInclude.js 2020/11/9 127 "b2469851ca7b21412c32dfde156114d5"
js 30.8K 7.4K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Ajax/Ajax.js 2020/11/9 126 "7f4540a8b019e15b2e124127fbcae158"
js 6.0K 1.8K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/jQueryPlugins.js 2020/11/9 130 "dc318c0bd343b121210cb177c45ef98f"
js 8.4K 2.2K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/TouchScrollExtender.js 2020/11/9 131 "29a9ff6a5a9813a9cfd806c8ad50815c"
js 37.3K 7.8K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/Navigation/NavigationScripts.js 2020/11/9 133 "6923509a1cf8a149eaa9ea38498db3a5"
js 74.8K 15.9K http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/ComboBox/RadComboBoxScripts.js 2020/11/9 137 "16e6cef878b58e2ab55d7293f814476d"
css 7.3K 1.5K http://aspnet-skins.telerikstatic.com/ajaxz/2010.3.1109/ComboBox.css 2020/11/9 34 "07b73c2be12eff7b36213d328919d1fb"
css 6.4K 0.9K http://aspnet-skins.telerikstatic.com/ajaxz/2010.3.1109/Default/ComboBox.Default.css 2020/11/9 37 "76949e19a5ef0d7e8a37f62fb495e5cb"
cssimage 3.6K http://aspnet-skins.telerikstatic.com/ajaxz/2010.3.1109/Default/ComboBox/rcbSprite.png 2020/11/9 4 "1d50330b9e536d8fc173120fceda6c88"

Chen
Top achievements
Rank 1
 answered on 13 May 2011
8 answers
234 views
Hi, I wanted to add sort to my dynamic column. Where can I find any documentation code on how to accomplish this. Any inputs would be appreciated.

Thanks in advance,
RJ
Pavlina
Telerik team
 answered on 13 May 2011
3 answers
106 views
I noticed that GridView in contentTemplate of PanelBar becomes visible during expending/collapsing animation.
It seems that sequence of events for onClick is as follows:
Expanding:
  1. show content (overlayed on top of panelbar)
  2. start animation
  3. animation completed
Collapsing:
  1. start collapsing
  2. end collapsing
  3. hide the content

Question: Is it possible to make PanelBar show content in a sliding-exposing fashion?

UPDATE: THIS ONLY HAPPENS IN IE7. in FF everything slides down/up very nicely.

Thanks!
Simon
Telerik team
 answered on 13 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?