I have had to implement recurrence on the control because WinForms and WebForms are still unable to work with the same database entries.
In doing so, when recurrence is selected, I only allow daily and create physical entries in the booking table for each appointment. The child appointments point back to the parent but the recurrence rule on the parent stays blank.
All of this works fine (mostly). This allows for editing series or occurrence entries. It does however break the moment that an occurrence that does not appear on the same web page as the master entry is edited. The problem occurs on server side when you select Series on an edit of an existing entry:
#Region "Protected properties"
Protected ReadOnly Property Owner() As RadScheduler
Get
Return Appointment.Owner
End Get
End Property
Protected ReadOnly Property Appointment() As Appointment
Get
Dim container As SchedulerFormContainer = DirectCast(BindingContainer, SchedulerFormContainer)
Return container.Appointment
End Get
End Property
#End Region
container.Appointment returns Nothing. If you choose instance when editing, it works fine. If you have the master appointment on the screen at the time of selecting series, it also works fine.
Any idea why that would be the case and how I can work around it? If there is no suitable solution I will be removing the control from our project as it has created huge controversy around the rendering times, browser compatibility and WinForms integration issues.
Thank you for your time, paying for it was great fun.
<
system.web
>
<
httpRuntime
maxRequestLength
=
"1048500"
executionTimeout
=
"3600"
/>
<
sessionState
timeout
=
"480"
/>
<
caching
>
<
outputCache
enableOutputCache
=
"false"
/>
<
sqlCacheDependency
enabled
=
"false"
/>
<
cache
disableMemoryCollection
=
"true"
/>
</
caching
>
<
pages
theme
=
"Default"
controlRenderingCompatibilityVersion
=
"3.5"
clientIDMode
=
"AutoID"
>
<
controls
>
<
add
tagPrefix
=
"atlas"
namespace
=
"System.Web.UI"
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
/>
<
add
namespace
=
"AjaxControlToolkit"
assembly
=
"AjaxControlToolkit"
tagPrefix
=
"ajaxToolkit"
/>
<
add
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
tagPrefix
=
"telerik"
/>
</
controls
>
</
pages
>
<
customErrors
mode
=
"Off"
defaultRedirect
=
"error.htm"
/>
<
compilation
debug
=
"false"
targetFramework
=
"4.0"
>
<
assemblies
>
<
add
assembly
=
"System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
assembly
=
"System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
assembly
=
"log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
/>
<
add
assembly
=
"Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
<
add
assembly
=
"CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
<
add
assembly
=
"CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
<
add
assembly
=
"CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
<
add
assembly
=
"CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
<
add
assembly
=
"CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
/>
</
assemblies
>
</
compilation
>
<
httpHandlers
>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.WebResource, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
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.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
verb
=
"*"
path
=
"js.axd,css.axd"
type
=
"OSCCP.HttpCompress.CompressionHandler,OSCCP.HttpCompress"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"QuertStringModule"
type
=
"QuertStringModule"
/>
<!--<add name="HttpCompressModule" type="OSCCP.HttpCompress.HttpModule,OSCCP.HttpCompress"/>-->
</
httpModules
>
<
trace
enabled
=
"false"
/>
</
system.web
>
<
system.webServer
>
<
staticContent
>
<
clientCache
cacheControlMode
=
"UseMaxAge"
cacheControlMaxAge
=
"365.00:00:00"
/>
</
staticContent
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
handlers
>
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
/>
<
add
name
=
"Telerik.Web.UI.DialogHandler"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
verb
=
"*"
type
=
"Telerik.Web.UI.DialogHandler, Telerik.Web.UI"
/>
<
add
name
=
"Telerik.Web.UI.WebResource.axd_*"
path
=
"Telerik.Web.UI.WebResource.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.WebResource, Telerik.Web.UI"
/>
<
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.WebResource"
path
=
"Telerik.Web.UI.WebResource.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2012.2.821.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
/>
<
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
>
Hello,
i want to export the content of my RadGrid to Excel (Format: ExcelML). I have a Grid-Footer with Aggregates (Aggregate="Sum"), but it will not be exported to EXCEL.
Can anybody help me?
Best Regards
Thomas