' ========================================================
' RadScheduler1_AppointmentDelete
' Delete an appointment
' ========================================================
Protected Sub RadScheduler1_AppointmentDelete(ByVal sender As Object, ByVal e As SchedulerCancelEventArgs) Handles RadScheduler1.AppointmentDelete
Dim ProspectToolDAL As New ProspectToolDAL
ProspectToolDAL.Delete(e.Appointment.ID)
End Sub
' ========================================================
' RadScheduler1_AppointmentInsert
' Add a new appointment
' ========================================================
Private Sub RadScheduler1_AppointmentInsert(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerCancelEventArgs) Handles RadScheduler1.AppointmentInsert
Dim AppointmentBE as New AppointmentBE
Dim ProspectToolDAL As New ProspectToolDAL
AppointmentBE.Subject = e.Appointment.Subject
AppointmentBE.StartTime = e.Appointment.Start
AppointmentBE.EndTime = e.Appointment.End
AppointmentBE.SalesUserID = ViewState(
"SalesUser")
AppointmentBE.ContactInformation = e.Appointment.Attributes(
"Contact")
AppointmentBE.ApptComments = e.Appointment.Attributes(
"Description")
Dim appointmentKey as Int32 = ProspectToolDAL.SaveAppointment(AppointmentBE, "I")
End Sub
<
telerik:RadAjaxPanel
ID
=
"rjxPanel_Receipt"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
>
<
fieldset
class
=
"bracket"
id
=
"Fieldset1"
style
=
"margin-left:0px; overflow:hidden;"
>
<
table
width
=
"100%"
class
=
"ClsTable_Parent"
>
<
tr
style
=
"height:8px;"
></
tr
>
<
tr
>
<
td
style
=
"width:11%;"
align
=
"left"
>
<
asp:Label
ID
=
"lblEventHeader"
runat
=
"server"
Text
=
"Events:"
>
</
asp:Label
>
<
asp:Label
ID
=
"lblEvent"
runat
=
"server"
CssClass
=
"ClsLabelMdt"
Text
=
"*"
ForeColor
=
"red"
>
</
asp:Label
>
</
td
>
<
td
style
=
"width:25%;"
>
<
telerik:RadComboBox
ID
=
"rcbEvents"
runat
=
"server"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
DataTextField
=
"AccountJournalEventName"
DataValueField
=
"AccountJournalEventID"
OnSelectedIndexChanged
=
"rcbEvents_SelectedIndexChanged"
Width
=
"168px"
>
</
telerik:RadComboBox
>
<
asp:Button
ID
=
"btnHelp"
runat
=
"server"
Text
=
"?"
width
=
"25px"
CssClass
=
"statusButton"
OnClientClick
=
"OpenHelp();return false;"
/>
</
td
>
<
td
align
=
"left"
style
=
"width:9%;padding-left:6px;"
>
<
asp:Label
ID
=
"lblStatus"
runat
=
"server"
Text
=
"Status :"
>
</
asp:Label
>
</
td
>
<
td
align
=
"left"
style
=
"width:14%;"
>
<
asp:TextBox
ID
=
"tbStatus"
runat
=
"server"
CssClass
=
"ClsTextBoxSml"
ReadOnly
=
"true"
Width
=
"148px"
></
asp:TextBox
>
<
asp:Button
ID
=
"btnStatus"
runat
=
"server"
Text
=
".."
Width
=
"25px"
OnClientClick
=
"javascript:btnStatus_Click();return false;"
/>
</
td
>
<
td
align
=
"left"
style
=
"width:9%;padding-left:6px;"
>
<
asp:Label
ID
=
"lblCashReceiptDescription"
runat
=
"server"
Text
=
"Narration:"
></
asp:Label
>
<
asp:Label
ID
=
"lblMandatoryHeaderDesc"
runat
=
"server"
CssClass
=
"ClsLabelMdt"
ForeColor
=
"Red"
Text
=
"*"
>
</
asp:Label
>
</
td
>
<
td
align
=
"left"
style
=
"width:9%;padding-left:6px;"
>
<
asp:TextBox
ID
=
"tbDescription"
runat
=
"server"
CssClass
=
"ClsTextBoxMid"
TextMode
=
"MultiLine"
>
</
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:11%;"
>
<
asp:Label
ID
=
"lblCashReceiptDate"
runat
=
"server"
Text
=
"Cash Receipt Date:"
></
asp:Label
>
<
asp:Label
ID
=
"lblDate"
runat
=
"server"
CssClass
=
"ClsLabelMdt"
Text
=
"*"
ForeColor
=
"red"
>
</
asp:Label
>
</
td
>
<
td
style
=
"width:25%;"
>
<
telerik:RadDatePicker
ID
=
"rdpCashReceiptDate"
runat
=
"server"
Width
=
"200px"
>
<
DateInput
ID
=
"DateInput1"
runat
=
"server"
>
</
DateInput
>
</
telerik:RadDatePicker
>
</
td
>
<
td
style
=
"padding-left:10px;width:11%;"
>
<
asp:Label
ID
=
"lblIsAcounted"
runat
=
"server"
Text
=
"IsAcounted:"
></
asp:Label
>
</
td
>
<
td
style
=
"width:25%;"
>
<
asp:CheckBox
ID
=
"chkIsAccounted"
runat
=
"server"
Enabled
=
"false"
>
</
asp:CheckBox
>
</
td
>
<
td
style
=
"width:11%;"
>
</
td
>
<
td
style
=
"width:25%;"
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"padding-left:10px;"
>
</
td
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"padding-left:10px;"
>
</
td
>
<
td
>
</
td
>
</
tr
>
<
tr
style
=
"height:8px;"
></
tr
>
</
table
>
</
fieldset
>
<
asp:HiddenField
ID
=
"HiddenField_AccCashReciptID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_EventID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_StatusID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_EntityID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_AccCashReciptEntityID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_AccCashReciptDetailID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_DetalEntityID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_dIsCSRequired"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_EventTypeID"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_dIsICSRequired"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_IsCallFromReconcile"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_RoundingUpTo"
runat
=
"server"
/>
<
asp:HiddenField
ID
=
"HiddenField_AccountJournalEventDetailID"
runat
=
"server"
/>
</
telerik:RadAjaxPanel
>
<
Table
>
<
tr
>
<
td
>
<
div
id
=
"RestrictionZone"
class
=
"module"
style
=
"margin-top: 4px; height: 300px; width: 400px;"
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
style
=
"z-index:7001"
>
<
Windows
>
<
telerik:RadWindow
runat
=
"server"
ID
=
"RadWindow1"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"true"
Modal
=
"true"
Height
=
"520px"
Width
=
"620px"
NavigateUrl
=
"ManageStatusChange.aspx"
/>
</
Windows
>
</
telerik:RadWindowManager
>
</
div
>
</
td
>
</
tr
>
</
Table
>
RadAjaxManager rjxManager = RadAjaxManager.GetCurrent(this);
//Create a new delegate to handle the AjaxRequest event
rjxManager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(rjxManagerBudgetEntity_AjaxRequest);
rjxManager.AjaxSettings.AddAjaxSetting(rjxManager, rjxPanel_Receipt);
.RadTreeView {
font-weight
:
bold
!important
;
color
:
#000
!important
;
font-family
:
tahoma
!important
;}
.RadTreeView .rtPlus {
background-image
:
none
!important
;
height
:
18px
!important
;
width
:
0px
!important
; }
.RadTreeView .rtPlus:hover {
background-image
:
none
!important
;
height
:
18px
!important
;
width
:
0px
!important
; }
.RadTreeView .rtMinus {
background-image
:
none
!important
;
height
:
18px
!important
;
width
:
0px
!important
;}
.RadTreeView .rtMinus:hover {
background-image
:
none
!important
;
height
:
18px
!important
;
width
:
0px
!important
;}
.RadTreeView .rtPlus, .RadTreeView .rtMinus {
background-position
:
0
0
!important
;}
.RadTreeView .rtIn {
font-weight
:
bold
!important
;
height
:
18px
!important
;
color
:
#000
!important
;
font-family
:
tahoma
!important
;
background-image
:
none
!important
;
background-color
:
#fff
!important
;
margin-left
:
0px
!important
;
padding-left
:
5px
!important
;
padding-right
:
0px
!important
;
width
:
165px
!important
;
border
:
solid
0px
red
!important
;
display
:inline-
block
!important
; }
.RadTreeView .rtIn:hover {
text-decoration
:
none
!important
;
padding-top
:
4px
!important
;
height
:
19px
!important
;
border
:
solid
0px
blue
!important
;
background-image
:
none
!important
;
color
:
#30788e
!important
; }
.RadTreeView ul li ul li .rtIn {
width
:
154px
!important
;
font-weight
:
normal
; }
.RadTreeView .rtLI {
padding-bottom
:
0px
!important
;}
.RadTreeView .rtUL .rtUL {
margin-top
:
0px
!important
;}
.RadTreeView .rtLast {
padding-bottom
:
0
!important
;
/* prevent double-spacing */
}
.RadTreeView .active {
background-color
:
#e1e1e1
!important
; }