Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
153 views
Hi,

I'm using rotator to slideshow and my images get visible slowly  , its okey but i want to do it when images are changing.

I mean images have to disappear slowly ,  fading out.

Thank you 
Niko
Telerik team
 answered on 12 May 2011
4 answers
217 views
Hello there

I am trying to disable button in ribbon bar in client-side script. After building pretty complex script to get reference to button item I called set_enabled(false) and nothing happened. I think problem is in set_enabled function in:
set_enabled: function (c) {
		if (this._element) {
			return;
		} if (c) {
			b(this._element).attr("disabled""disabled");
		} else {
			b(this._element).removeAttr("disabled");
		}
	}

if this._element is set, return is called. I think it should be opossite. Or am I doing something wrong?
I was able to disable the button with hard-code hacks in js. But disabled image is not used.

Another problem is that when I disable button even from server-side, button text looks like disabled and
button frame is not shown. But I am still able to click the button and I am redirected to '#'.





BTW:




How can I easily find reference to button item in js?

Thank you very much.

Kind regards
Andrej

Andrej
Top achievements
Rank 1
 answered on 12 May 2011
3 answers
57 views
This is the C# code I tried to convert:

var usaOrders = from od in OrderDetails
where od.Order.Customer.Country == "USA"
select new {
    Company = od.Order.Customer.CompanyName,
    OrderDate = od.Order.OrderDate,
    OrderID = od.OrderID,
    Product = od.Product.ProductName,
    UnitPrice = od.UnitPrice,
    Quantity = od.Quantity,
    Discount = od.Discount,
    Extended = od.UnitPrice * od.Quantity * ( 1M - (decimal)od.Discount )
};


and this is what I got:
Dim usaOrders = _
    Where od.Order.Customer.Country = "USA"
 
'=======================================================
'Service provided by Telerik (www.telerik.com)
'Conversion powered by NRefactory.
'Twitter: @telerik, @toddanglin
'Facebook: facebook.com/telerik
'=======================================================

I expected to have something like:
Dim usaOrders = from od in OrderDetails _
    Where od.Order.Customer.Country = "USA" _
    select  _
        Company = od.Order.Customer.CompanyName, _
        OrderDate = od.Order.OrderDate, _
        OrderID = od.OrderID, _
        Product = od.Product.ProductName, _
        UnitPrice = od.UnitPrice, _
        Quantity = od.Quantity, _
        Discount = od.Discount, _
        Extended = od.UnitPrice * od.Quantity * ( 1 - od.Discount )

Todd Anglin
Top achievements
Rank 2
 answered on 12 May 2011
2 answers
41 views
I've seen one or two posts on this, but I'm not quite there yet.  I looked at this post:

http://www.telerik.com/help/aspnet-ajax/ajax-show-loadingpanel-on-initial-pageload.html

I think the main difference with my project is that I'm using a Masterpage/content page scenario and I'm not sure how to call the Ajax Manager on the Masterpage using the Proxy on the content page.  Basically, I have about 10 drop down lists to load and as soon as the page starts loading, I would like to show the Ajax Panel while it finishes.

Help?

thanks

mark
Maria Ilieva
Telerik team
 answered on 12 May 2011
2 answers
72 views
Hey, it seems like once I'm opening a RadWindow and then moving it around a bit, the focus is now only in the RadWindow, and no more on the background page. How can I give the focus back to my background page ? So that when I click on an image something happen immediatly ?

Thanks in advance,
Francis.
Francis
Top achievements
Rank 1
 answered on 12 May 2011
1 answer
57 views
I have a RadWindow set to autosize. Initially, it sizes correctly. However, when I close and reopen the window (window.close() then window.show()), the window is resized incorrectly. The width is way too narrow, but the height stays the same. I get similar behavior for any AutoSizeBehaviors value and any DestroyOnClose value. I do not have the resize problem in FireFox.
Marin Bratanov
Telerik team
 answered on 12 May 2011
1 answer
237 views
Hi guys,

We try to decide which product to use in our next project. (We do not have a chance to use Silverlight/WPF, it will be ASP.Net Ajax controls)

- In each page we will have charts and grids. In this case,  what do you think the best way of exporting RadChart and RadGrid into the same Excel sheet and PDF is? I know I can't use ExporttoPDF, ExporttoExcel methods with charts/graphs.

- I've already tried to put charts into grid and export to PDF, it works but I really don't prefer to do that. I can't put all of my charts into grids... (And export to excel does not work in this way I guess...)

- I don't prefer to use third party ( itextsharp etc.) products either. BUT if it works with RadGrid/RadChart and makes the export much easier, in  that case, I can switch to that...

I am new to Telerik and really need your thoughts...

Waiting your replies, thanks,
Ervin
Daniel
Telerik team
 answered on 12 May 2011
2 answers
104 views
Hi,

I have an ASP.NET2 project, which is using version 2010.2.929.20 of the Telerik controls.

This project uses the RadEditor, which works fine, until I click to open the Hyperlink Manager, when I get the following error:

Cannot deserialize dialog parameters. Please refresh the editor page.
Error Message:Invalid length for a Base-64 char array.

I have been looking through these forums to find an answer, but nothing I try (including this: http://www.telerik.com/community/forums/aspnet-ajax/editor/cannot-deserialize-dialog-parameters.aspx) seems to work.

I setup an ASP.NET3.5 project using the latest version of the Telerik controls (2011.1.413.35) and the Hyperlink Manager works. So, I assume this is a bug in the older version of the RadEditor? If so, is there a work-around, as I cannot convert the master project to .NET3.5 and I cannot see a version of the latest Telerik controls for .NET2 (unless I am missing something?)

Thanks in advance,
Matt.
Matt
Top achievements
Rank 1
 answered on 12 May 2011
1 answer
124 views
I have a RadCalendar set with
MultiViewColumns="4" 
MultiViewRows="3"

When I click on SLOW Navigation button,  I do not want to move the view by an entire year.

I want to only move ONE month back or forward.

How can I do that?

Thanks.
Simone
Top achievements
Rank 1
 answered on 12 May 2011
23 answers
1.2K+ views
Hi all,

Is there a way of setting the width and height of a radchart control to be a percentage value fitting into a panel, so that when window resizes, the panel also resizes (eg. 50% of the window), therefore the radchart within the panel also resizes automatically.
At the moment, width and height of radcontrol seems to only accept fixed number of pixels.

Cheers
Alan
Ravi
Top achievements
Rank 1
 answered on 12 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?