Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 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
63 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
132 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
112 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
320 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
84 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
222 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
194 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
99 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
5 answers
104 views
I have added JavaScript to my pages that will detect if the user has made a change to a field and prompts the user to save those changes when they perform an action that will take them away from the page.

To do this, I'm performing 2 basic steps:

  1. On the input keyup event, I'm setting a "dirty" variable to "true"
  2. On the document.ready event, I'm prompting the user to "save changes" (if dirty = true) on the window.onbeforeunload event.

This has been working for all pages in my project, until I began using the RadTreeView.  When I make a change on a page that has a RadTreeView, and then click on a Node that takes the user to a new page, they are prompted.  If the user clicks "Cancel", the following error is thrown:

"htmlfile: Unspecified Error"

I have created a basic example that utilizes the following:

  • Visual Studio 2010
  • Telerik.Web.UI version 2010.1.519.40

Any help would be greatly appreciated!
Jason Gajewski
Top achievements
Rank 1
 answered on 13 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?