| function clientNodeChecked(sender, eventArgs) { |
| var node = eventArgs.get_node(); |
| var tree = node.get_treeView(); |
| var checkedNodes = tree.get_checkedNodes(); |
| var radioNodes; |
| for (var i = 0; i < checkedNodes.length; i++) { |
| if (checkedNodes[i] != node) { |
| if (checkedNodes[i].get_parent() == node.get_parent()) { |
| if(checkedNodes[i].get_parent().get_attributes().getAttribute("radio")=="yes") |
| oldNode = checkedNodes[i]; |
| } |
| } |
| } |
| if (oldNode != null) { |
| if (oldNode.get_parent() == node.get_parent()) { |
| oldNode.set_checked(false); |
| oldNode.set_expanded(false); |
| } |
| } |
| node.set_checked(true); |
| node.set_expanded(true); |
| oldNode = node; |
| } |
RadFileExplorer1.Grid.Columns[0].ItemStyle.CssClass =
"Label";
This works as expected - for the first 11 rows (the style changes the background color)
After this I all rows are without that style (class).
Using IE8 Devel I found that row 12 is:
<tr class="rgNoRecords" style="display: none;">
After this row the "Class" attribute for TD is no longer there.
So row 11 looks like: (that's correct)
<td class="Label" unselectable="on">
And row 13 than:
<td unselectable="on">
Regards
Manfred
Message: Object doesn't support this property or method
Line: 43
Char: 1
Code: 0
URI: http://test.????????.com/ScriptResource.axd?d=DU7g_wQW-tV4QeYVS_gLgXVZWW4ZL1dor0p0F187gm0dTShmzT1Tg48JMZlQmbcDDDHOCI-vFteYTWW3sq2Gop3r18kl4qiXBqPHwa-0sO41&t=633809219809160434
Message: Sys.ArgumentException: does not derive from Sys.Component.
Parameter name: type
Line: 2825
Char: 9
Code: 0
URI: http://test.??????.com/ScriptResource.axd?d=Wf_E1GAoeCAIHDwB-ecqg0WluaIxXOle_VN2t1P7HMlFD-382Wz2QXMd88hEqBg_0&t=633790231336249871
Here is my web.config. I can't see what is wrong with it - any ideas.
| <?xml version="1.0" encoding="utf-8"?> |
| <configuration> |
| <configSections> |
| <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> |
| <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" /> |
| <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> |
| <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> |
| </sectionGroup> |
| </sectionGroup> |
| </sectionGroup> |
| </configSections> |
| <system.web> |
| <pages> |
| <controls> |
| <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </controls> |
| </pages> |
| <compilation debug="true"> |
| <assemblies> |
| <add assembly="Eco.Handles, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> |
| <add assembly="Eco.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> |
| <add assembly="Eco.Persistence, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> |
| <add assembly="Eco.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=46a833be9e90de8c" /> |
| <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </assemblies> |
| </compilation> |
| <customErrors mode="Off"> |
| </customErrors> |
| <authorization> |
| <allow users="*" /> |
| </authorization> |
| <authentication mode="Forms"> |
| <forms loginUrl="~/CMS/Login.aspx" name=".ASPXFORMSAUTH" /> |
| </authentication> |
| <membership defaultProvider="EcoMembershipProvider" userIsOnlineTimeWindow="15"> |
| <providers> |
| <clear /> |
| <add name="EcoMembershipProvider" type="EcoCMS.Providers.EcoMembershipProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Clear" /> |
| </providers> |
| </membership> |
| <roleManager cacheRolesInCookie="true" cookieName="MyRoles" cookiePath="/" cookieProtection="None" cookieRequireSSL="false " cookieSlidingExpiration="true" cookieTimeout="30" createPersistentCookie="true" defaultProvider="EcoRoleProvider" domain="test.com" enabled="true" maxCachedResults="100"> |
| <providers> |
| <clear /> |
| <add name="EcoRoleProvider" type="EcoCMS.Providers.EcoRoleProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" /> |
| </providers> |
| </roleManager> |
| <profile defaultProvider="EcoProfileProvider"> |
| <properties> |
| </properties> |
| <providers> |
| <clear /> |
| <add name="EcoProfileProvider" type="EcoCMS.Providers.EcoProfileProvider" EcoSpaceTypeName="EcoCMS.EcoCMSEcoSpace" /> |
| </providers> |
| </profile> |
| <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> |
| <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20" /> |
| <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> |
| <httpHandlers> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> |
| <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> |
| <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> |
| <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*"/> |
| <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> |
| </httpHandlers> |
| <httpModules> |
| <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add name="CMSUrlRewriter" type="EcoCMS.Pages.CMSUrlRewriter, EcoCMS.Pages" /> |
| </httpModules> |
| <trust level="Full" originUrl="" /> |
| </system.web> |
| <location path="CMS"> |
| <system.web> |
| <authorization> |
| <deny users="?" /> |
| </authorization> |
| </system.web> |
| </location> |
| <appSettings> |
| <add key="Eco.Web.MaxPool" value="0" /> |
| <add key="Eco.Web.MaxAge" value="600" /> |
| <add key="EcoAspProvider.EcoSpaceTypeName" value="EcoCMS.EcoCMSEcoSpace" /> |
| </appSettings> |
| <system.webServer> |
| <validation validateIntegratedModeConfiguration="false" /> |
| <modules> |
| <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> |
| </modules> |
| <handlers> |
| <add name="CMSWildCard" path="*.aspx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> |
| <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> |
| <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.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=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> |
| <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> |
| <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> |
| <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" /> |
| <add name="Telerik_Web_UI_DialogHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" /> |
| </handlers> |
| </system.webServer> |
| </configuration> |
Hi,
I can't seem to export the child records. I have 3 levels of hierarchical grid.
Here is the code that I'm using:
RadGrid1.ExportSettings.ExportOnlyData = True
RadGrid1.ExportSettings.IgnorePaging =
True
RadGrid1.ExportSettings.OpenInNewWindow = True
RadGrid1.ExportSettings.FileName = "Summary_" & Now.Date.ToShortDateString.Replace("/", "")
RadGrid1.MasterTableView.HierarchyDefaultExpanded =
True
RadGrid1.MasterTableView.ExportToExcel()
I've tried using Rebind() method as well but that didn't really solve my problem. I'm only seeing 2 levels only.
Please help!
| Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand |
| Dim picker As RadDatePicker = CType(e.Item.FindControl("picker1"), RadDatePicker) |
| Dim newDate As Object = picker.DbSelectedDate |
| DataSource1.Rows(e.Item.DataSetIndex)("Dates") = IIf(newDate Is Nothing, DBNull.Value, newDate) |
| End Sub |