| Protected Sub rsAll_TimeSlotCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.TimeSlotCreatedEventArgs) Handles rsAll.TimeSlotCreated |
| ' die Sichtbarkeit und den Zugriff in Anhängigkeit der Resource zu steuern |
| ' 1 - None, 2 - View, 3 - Edit |
| If e.TimeSlot.Start < Now Then |
| e.TimeSlot.Control.Enabled = False |
| ElseIf e.TimeSlot.Resource.Text = "DRX-600" And Session("myDRX600") = 3 Then |
| e.TimeSlot.Control.Enabled = True |
| ElseIf e.TimeSlot.Resource.Text = "DRX-600" And Session("myDRX600") = 2 Then |
| e.TimeSlot.Control.Enabled = False |
| ElseIf e.TimeSlot.Resource.Text = "DRX-400" And Session("myDRX400") = 3 Then |
| e.TimeSlot.Control.Enabled = True |
| ElseIf e.TimeSlot.Resource.Text = "DRX-400" And Session("myDRX400") = 2 Then |
| e.TimeSlot.Control.Enabled = False |
| ElseIf e.TimeSlot.Resource.Text = "DSX-400" And Session("myDSX400") = 3 Then |
| e.TimeSlot.Control.Enabled = True |
| ElseIf e.TimeSlot.Resource.Text = "DSX-400" And Session("myDSX400") = 2 Then |
| e.TimeSlot.Control.Enabled = False |
| ElseIf e.TimeSlot.Resource.Text = "DPX-250" And Session("myDPX250") = 3 Then |
| e.TimeSlot.Control.Enabled = True |
| ElseIf e.TimeSlot.Resource.Text = "DPX-250" And Session("myDPX250") = 2 Then |
| e.TimeSlot.Control.Enabled = False |
| ElseIf e.TimeSlot.Resource.Text = "DPX-200" And Session("myDPX200") = 3 Then |
| e.TimeSlot.Control.Enabled = True |
| ElseIf e.TimeSlot.Resource.Text = "DPX-200" And Session("myDPX200") = 2 Then |
| e.TimeSlot.Control.Enabled = False |
| Else |
| e.TimeSlot.Control.Enabled = False |
| End If |
| If e.TimeSlot.Control.Enabled = True Then |
| e.TimeSlot.CssClass = "Enabled" |
| ElseIf e.TimeSlot.Control.Enabled = False Then |
| e.TimeSlot.CssClass = "Disabled" |
| End If |
| End Sub |
When the installation is complete, the Telerik.SkinObjectsfolder will be added in [MyDnnWebSite]/DesktopModules. It willcontain the DNN wrappers for the Telerik controls listed in this topic. If you need to use anyof the available SkinObjects, please make sure that you register the file withthe path to its location. For example:
| <telerik:RadScheduler ID="schMensal" runat="server" Width="608px" EnableEmbeddedSkins="False" |
| AllowDelete="False" AllowEdit="False" AllowInsert="False" Culture="Portuguese (Brazil)" |
| DisplayDeleteConfirmation="False" SelectedView="TimelineView" Skin="CMNet" DataKeyField="IDUSUARIO" |
| DataStartField="DATAINIPREV" DataEndField="DATAFINPREV" DataSubjectField="DESCRICAO" |
| EnableResourceEditing="False" ShowViewTabs="False" OnNavigationCommand="schMensal_NavigationCommand" |
| StartEditingInAdvancedForm="False" OnAppointmentDataBound="schMensal_AppointmentDataBound" |
| ShowHeader="False" ShowNavigationPane="False" Height="550px"> |
| <TimelineView HeaderDateFormat="dd" NumberOfSlots="31" UserSelectable="false" /> |
| <Localization AdvancedAllDayEvent="" AdvancedDay="Dia" AdvancedDays="dia(s)" AdvancedMaskDay="dia" |
| AllDay="" HeaderToday="hoje" AdvancedDaily="Diário" AdvancedDescription="Descrição:" |
| AdvancedEveryWeekday="Semanal" AdvancedMonthly="Mensal" AdvancedOf="de" AdvancedOfEvery="de todo" |
| AdvancedRecurEvery="Recorrência todo" AdvancedRecurrence="Recorrência:" |
| AdvancedSecond="segundo" AdvancedThe="O" AdvancedThird="terceiro" AdvancedWeekly="Semanal" |
| AdvancedWeeks="semanas(s)" AdvancedYearly="Anual" Cancel="Cancelar" ConfirmCancel="Cancelar" |
| HeaderDay="Dia" HeaderMonth="Mês" HeaderNextDay="próximo dia" HeaderPrevDay="dia anterior" |
| HeaderWeek="Semana" Insert="Inserir" Show24Hours="Exibir 24 horas" ShowAdvancedForm="mais" |
| ShowBusinessHours="Exibir horário comercial..." ShowMore="Exibir mais..." |
| Update="Atualizar" AdvancedEndAfter="Terminar depois de:" AdvancedEndByThisDate="Terminar nesta data:" |
| AdvancedEvery="Todo(a)" AdvancedFirst="primeiro" AdvancedFourth="quarto" AdvancedFrom="De:" |
| AdvancedHourly="Hora" AdvancedHours="hora(s)" AdvancedLast="último(a)" AdvancedMaskWeekday="semana" |
| AdvancedMaskWeekendDay="fim de semana" AdvancedMonths="mês(es)" AdvancedMoreDetails="Mais detalhes:" |
| AdvancedNoEndDate="Sem data para término" AdvancedOccurrences="ocorrências" |
| AdvancedRange="Faixa de recorrência:" AdvancedRecurringAppointment="Recorrência de compromisso" |
| AdvancedReset="Limpar exceções existentes" AdvancedTo="Para:" AdvancedCalendarCancel="Cancelar" |
| AdvancedCalendarToday="Hoje" HeaderTimeline="Linha de Tempo" /> |
| </telerik:RadScheduler> |
Hi,
In one of my screen I am using Rad Grid and assigning the data source runtime. My data source is changing as per the different scenario. Hence i am not adding any columns at design time in the radgrid. Rather I have written a function which defines the columns and add it to the RadGrid column collection runtime only. I am calling this function (to add the columns) just before the assigning the data source Property to the RadGrid.
All these show my data in the grid perfectly fine.
But if I sort, or group, it doesn't call the event mapped (wired) and the columns headers are disappeared but the data in the grid perstists.
Kindly help me to get the solution if anyone of you has come across this sort of problem.
Thanks in advance.
Regards,
Mehul