
King Wilder
Top achievements
Rank 2
King Wilder
asked on 20 Jul 2008, 07:01 PM
There's something strange with my RadGrid when I set it to use Filtering. The filter icon is cut off.
Here's a link to a screen shot: http://www.kingwilder.com/forumposts/grid_with_theme.png
I tried testing the rendering even by removing all of the CSS in the css file in my theme folder and it still renders this way.
But, when I actually remove the theme attribute in the web.config/pages element:
Before:
After:
... then the filter icon is viewed completely.
Here's a link to the screen shot of the correct filter icon: http://www.kingwilder.com/forumposts/grid_no_theme.png
Does anyone know why this is happening and how to fix this?
Thanks.
Here's a link to a screen shot: http://www.kingwilder.com/forumposts/grid_with_theme.png
I tried testing the rendering even by removing all of the CSS in the css file in my theme folder and it still renders this way.
But, when I actually remove the theme attribute in the web.config/pages element:
Before:
<pages theme="MyTheme"> |
... |
</pages> |
After:
<pages> |
... |
</pages> |
... then the filter icon is viewed completely.
Here's a link to the screen shot of the correct filter icon: http://www.kingwilder.com/forumposts/grid_no_theme.png
Does anyone know why this is happening and how to fix this?
Thanks.
4 Answers, 1 is accepted
0
Hello,
Please make sure that you are not setting a global padding-right style for table cells in your theme. If such a global padding style exists, it is inherited by the RadGrid table cells and the observed glitch occurs.
Let us know how it goes.
Regards,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please make sure that you are not setting a global padding-right style for table cells in your theme. If such a global padding style exists, it is inherited by the RadGrid table cells and the observed glitch occurs.
Let us know how it goes.
Regards,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

King Wilder
Top achievements
Rank 2
answered on 21 Jul 2008, 08:41 PM
I should have mentioned that in my Theme folder is an empty CSS file and an empty Skin file. So there's no CSS at all when I do this test. I'm also trying to stay away from tables when I can, so there would be no table CSS by me.
When I add the theme attribute to the web.config/pages element, that is when the icon cutoff occurs.
Any CSS that is generated is the default CSS for the controls that are installed on the page by Telerik. So essentially this occurs with just the default Telerik CSS, nothing of mine.
Here's my web.config file:
When I add the theme attribute to the web.config/pages element, that is when the icon cutoff occurs.
Any CSS that is generated is the default CSS for the controls that are installed on the page by Telerik. So essentially this occurs with just the default Telerik CSS, nothing of mine.
Here's my web.config file:
<?xml version="1.0"?> |
<!-- |
Note: As an alternative to hand editing this file you can use the |
web admin tool to configure settings for your application. Use |
the Website->Asp.Net Configuration option in Visual Studio. |
A full list of settings and comments can be found in |
machine.config.comments usually located in |
\Windows\Microsoft.Net\Framework\v2.x\Config |
--> |
<configuration> |
<configSections> |
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> |
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> |
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> |
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> |
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> |
</sectionGroup> |
</sectionGroup> |
</sectionGroup> |
</configSections> |
<appSettings> |
</appSettings> |
<connectionStrings/> |
<system.web> |
<!-- |
Set compilation debug="true" to insert debugging |
symbols into the compiled page. Because this |
affects performance, set this value to true only |
during development. |
--> |
<compilation debug="true"> |
<assemblies> |
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> |
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="Telerik.Charting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/></assemblies> |
</compilation> |
<!-- |
The <authentication> section enables configuration |
of the security authentication mode used by |
ASP.NET to identify an incoming user. |
--> |
<authentication mode="Forms"> |
<forms name=".ASPXNET" defaultUrl="~/DashBoard/Default.aspx" loginUrl="~/login.aspx" path="~/" protection="All"/> |
</authentication> |
<!-- |
The <customErrors> section enables configuration |
of what to do if/when an unhandled error occurs |
during the execution of a request. Specifically, |
it enables developers to configure html error pages |
to be displayed in place of a error stack trace. |
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> |
<error statusCode="403" redirect="NoAccess.htm" /> |
<error statusCode="404" redirect="FileNotFound.htm" /> |
</customErrors> |
--> |
<pages theme="MyTheme"> |
<controls> |
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
</controls> |
</pages> |
<httpHandlers> |
<remove path="*.asmx" verb="*" /> |
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" |
validate="false" /> |
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" |
validate="false" /> |
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" |
validate="false" /> |
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
validate="false" /> |
<add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/> |
</httpHandlers> |
<httpModules> |
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/> |
</httpModules> |
</system.web> |
<system.codedom> |
<compilers> |
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
<providerOption name="CompilerVersion" value="v3.5"/> |
<providerOption name="WarnAsError" value="false"/> |
</compiler> |
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
<providerOption name="CompilerVersion" value="v3.5"/> |
<providerOption name="OptionInfer" value="true"/> |
<providerOption name="WarnAsError" value="false"/> |
</compiler> |
</compilers> |
</system.codedom> |
<!-- |
The system.webServer section is required for running ASP.NET AJAX under Internet |
Information Services 7.0. It is not necessary for previous version of IIS. |
--> |
<system.webServer> |
<validation validateIntegratedModeConfiguration="false"/> |
<modules> |
<remove name="ScriptModule"/> |
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
</modules> |
<handlers> |
<remove name="WebServiceHandlerFactory-Integrated"/> |
<remove name="ScriptHandlerFactory"/> |
<remove name="ScriptHandlerFactoryAppServices"/> |
<remove name="ScriptResource"/> |
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
</handlers> |
</system.webServer> |
<runtime> |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
<dependentAssembly> |
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
</dependentAssembly> |
<dependentAssembly> |
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
</dependentAssembly> |
</assemblyBinding> |
</runtime> |
</configuration> |
0
Hello King Wilder,
I see. Well, in this case I would ask you to paste your RadGrid declaration here, or even better, to open a support ticket and send us a simple working project, so that we investigate locally.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I see. Well, in this case I would ask you to paste your RadGrid declaration here, or even better, to open a support ticket and send us a simple working project, so that we investigate locally.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

King Wilder
Top achievements
Rank 2
answered on 22 Jul 2008, 05:00 PM
I figured it out. After I built a new small application and everything looked fine, I realized there was something still in my CSS or Skin file that was the offending code.
I finally found it in my Theme Skin file:
There was this Button skin (that I'm no longer using) that created the problem. When I removed it the problem was fixed.
It was really annoying but I'm glad it's finally fixed.
I finally found it in my Theme Skin file:
<asp:Button runat="server" style="width:auto;" /> |
There was this Button skin (that I'm no longer using) that created the problem. When I removed it the problem was fixed.
It was really annoying but I'm glad it's finally fixed.