This is a migrated thread and some comments may be shown as answers.

[Solved] Tutorial & display problem

5 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 29 Apr 2008, 12:23 PM
Hi

I have 2 current problems I've been working on for the past hour.

1. In the downloadable tutorial page 184 item 7 it says to Enable AJAX, I dont have this option, why not, do I have a config problem?

2. I'm using embedded themes and this happens on all I have tried, the grid renders OK, with the paging (left and right) icons, then it looks like the page redraws and they disappear after abou 0.5 - 1 second, what going on here?

Andy

PS love what I have seen so far.

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Apr 2008, 01:04 PM
Hello Andy,

Thank you for your positive feedback. As for your questions:

1) RadGrid for ASP.NET AJAX (also known as "Prometheus") does not have a property EnableAjax - this is a property of the "classic" RadGrid for ASP.NET. You seem to be reading the tutorial for the classic controls. Please refer to this documentation for RadControls for ASP.NET AJAX:

http://www.telerik.com/help/radcontrols/prometheus/


2) We are not aware of such behavior. Is this happening in IE6 ?


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andy
Top achievements
Rank 1
answered on 29 Apr 2008, 01:14 PM
Thanks for the link.

I have IE 7 and FF 2 and it is the same behaviour. I have been playing so wonder if I still have something overriding the skin values.

I have links to my modified skin CSS still in the page, but with EnableEmbeddedSkins = true should these be ignored?

I've just emailed  sales about the best way to buy, really happy with the product and the help to get me going is invaluable.

Thank you.

Andy
0
Dimo
Telerik team
answered on 29 Apr 2008, 01:30 PM
Hello Andy,

All registered CSS files on a web page are taken into account by the browser when applying styles to page elements. So if you are using an embedded skin and do not need those custom CSS styles, it is highly recommended to remove the CSS file from the page.

You may also try changing the skin used by RadGrid to see whether it makes any difference.

Let us know how it goes.


Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andy
Top achievements
Rank 1
answered on 29 Apr 2008, 02:25 PM
Moving to an external skin fixed the problem, so by setting the enableEmbeddedSkins = False and forcing it to use the local CSS fixed it.

Looks like the CSS files with the same name as the embeddedskins was the problem. I might go back and check but I've got thnings how I want them now.

BTW It doesnt say the tutorial is for the old controls.

Andy
0
Dimo
Telerik team
answered on 29 Apr 2008, 03:04 PM
Hi Andy,

That's right - using a custom skin and an embedded skin with the same name for the same type of web control (e.g. RadGrid) is very likely to create problems and should be avoided. Custom skins should be named differently, so that the CSS classes are different and the CSS selectors do not mix up.

As for the tutorial - it is entitled "RadControls for ASP.NET" - this means it is for the classic controls. The new controls suite is named RadControls for ASP.NET AJAX.

Greetings,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Andy
Top achievements
Rank 1
Share this question
or