or
<
div
class
=
"left"
>
<
telerik:RadListBox
ID
=
"ticketListbox"
runat
=
"server"
ItemPlaceholderID
=
"TicketContainer"
EnableViewState
=
"False"
Font-Names
=
""Helvetica 65 Medium",Arial,sans-serif"
Font-Size
=
"Medium"
ForeColor
=
"#C36029"
Width
=
"275px"
AllowTransfer
=
"True"
TransferToID
=
"splitListbox"
AutoPostBackOnTransfer
=
"True"
SelectionMode
=
"Multiple"
ontransferred
=
"ticketListbox_Transferred"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
ItemTemplate
>
<
table
style
=
"font-family: Arial, Helvetica, sans-serif; font-size: medium; color: #C36029"
>
<
td
>
<%#Eval("Quantity")%>
</
td
>
<
td
>
<%#Eval("Name")%>
</
td
>
<
td
>
<%#Eval("Price","{0:c}")%>
</
td
>
</
table
>
</
ItemTemplate
>
</
telerik:RadListBox
>
</
div
>
<
div
class
=
"centerElements"
>
<
telerik:RadListBox
ID
=
"splitListbox"
runat
=
"server"
ItemPlaceholderID
=
"splitContainer"
EnableViewState
=
"False"
Font-Names
=
""Helvetica 65 Medium",Arial,sans-serif"
Font-Size
=
"Medium"
ForeColor
=
"#C36029"
Width
=
"275px"
AllowTransfer
=
"False"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
ItemTemplate
>
<
table
style
=
"font-family: Arial, Helvetica, sans-serif; font-size: medium; color: #C36029"
>
<
td
>
<%#Eval("Quantity")%>
</
td
>
<
td
>
<%#Eval("Name")%>
</
td
>
<
td
>
<%#Eval("Price","{0:c}")%>
</
td
>
</
table
>
</
ItemTemplate
>
</
telerik:RadListBox
>
</
div
>
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!User.Identity.IsAuthenticated)
{
Response.Redirect(
"http://localhost:64501/LogOn.aspx"
);
}
if
(!Page.IsPostBack)
{
ticketListbox.DataBind();
splitListbox.DataBind();
}
}
protected
void
Button1_Click(
object
sender, EventArgs e)
{
CaffeBravoContext tc =
new
CaffeBravoContext();
int
tableNo = System.Convert.ToInt16(tableTextbox.Text);
var table = from t
in
tc.Tickets
where (t.Table==tableNo)&&
(t.Closed_==
false
)
select t;
if
(table.Count()==0)
{
statusLbl.Text=
"There is no open ticket for that table!"
;
}
else
{
var tickets = from d
in
tc.Ticket_Details
where d.Ticket_ == table.FirstOrDefault().Ticket_Number
select d;
ticketListbox.DataSource = tickets.ToList();
ticketListbox.DataBind();
}
}
protected
void
ticketListbox_Transferred(
object
sender, RadListBoxTransferredEventArgs e)
{
foreach
(RadListBoxItem item
in
e.Items)
{
item.DataBind();
}
}
}
}
.Item1 .rmSlide
{
left: 695px !important;
max-width: 200px !important;
min-width: 200px !important;
}
<
asp:Wizard
ID
=
"registrationWizard"
runat
=
"server"
Width
=
"95%"
DisplaySideBar
=
"false"
>
<
StartNextButtonStyle
CssClass
=
"buttonClass"
/>
<
CancelButtonStyle
CssClass
=
"buttonClass"
/>
<
NavigationButtonStyle
CssClass
=
"buttonClass"
/>
<
WizardSteps
>
<
asp:WizardStep
Title
=
"Select A Date"
StepType
=
"Start"
>
<
div
class
=
"wizardContent"
>
<
h4
>Please select a date and time</
h4
>
<
telerik:RadDatePicker
ID
=
"RadDatePicker1"
runat
=
"server"
></
telerik:RadDatePicker
>
<
telerik:RadComboBox
ID
=
"amPmDrop"
runat
=
"server"
>
<
Items
>
<
telerik:RadComboBoxItem
Value
=
"AM"
Text
=
"Morning"
/>
<
telerik:RadComboBoxItem
Value
=
"PM"
Text
=
"Evening"
/>
</
Items
>
<
CollapseAnimation
Duration
=
"3000"
Type
=
"InBounce"
/>
</
telerik:RadComboBox
>
</
div
>
</
asp:WizardStep
>
<
asp:WizardStep
Title
=
"Information"
StepType
=
"Step"
>
Information
</
asp:WizardStep
>
<
asp:WizardStep
Title
=
"Billing"
StepType
=
"Step"
>
Billing
</
asp:WizardStep
>
<
asp:WizardStep
Title
=
"Review"
StepType
=
"Finish"
>
Final
</
asp:WizardStep
>
</
WizardSteps
>
<
HeaderTemplate
>
<
ul
id
=
"wizHeader"
>
<
asp:Repeater
ID
=
"wizardHeaderRepeat"
runat
=
"server"
>
<
ItemTemplate
>
<
li
>
<
a
class="<%# GetClassForWizardStep(Container.DataItem)%>" title="<%# Eval("Name")%>"><%# Eval("Name")%></
a
>
</
li
>
</
ItemTemplate
>
</
asp:Repeater
>
</
ul
>
</
HeaderTemplate
>
</
asp:Wizard
>
SELECT
TOP
1000 [ShopId]
,[
Name
]
,[ScannedDate]
,[TotalSlipsScanned]
,[ScannedDay]
FROM
[EPOSShopScreen].[dbo].[vw_NoOfBetScanned]
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
UpdateMode
=
"Conditional"
>
<
ContentTemplate
>
<
telerik:RadChart
ID
=
"radChartNoOfBetScanned"
runat
=
"server"
Skin
=
"DeepBlue"
Width
=
"900px"
Height
=
"500px"
DataSourceID
=
"edsNoOfBetScanned"
>
<
ClientSettings
EnableZoom
=
"false"
ScrollMode
=
"XOnly"
XScale
=
"4"
/>
<
Appearance
>
<
FillStyle
FillType
=
"ComplexGradient"
>
<
FillSettings
>
<
ComplexGradient
>
<
telerik:GradientElement
Color
=
"26, 120, 179"
/>
<
telerik:GradientElement
Color
=
"35, 189, 254"
Position
=
"0.5"
/>
<
telerik:GradientElement
Color
=
"26, 120, 179"
Position
=
"1"
/>
</
ComplexGradient
>
</
FillSettings
>
</
FillStyle
>
<
Border
Color
=
"0, 66, 110"
Width
=
"5"
/>
</
Appearance
>
<
Series
>
<
telerik:ChartSeries
DataLabelsColumn
=
"Name"
DataXColumn
=
"ScannedDay"
DataYColumn
=
"TotalSlipsScanned"
Name
=
"TotalSlipsScanned"
>
<
Appearance
>
<
FillStyle
FillType
=
"ComplexGradient"
>
<
FillSettings
>
<
ComplexGradient
>
<
telerik:GradientElement
Color
=
"213, 247, 255"
/>
<
telerik:GradientElement
Color
=
"193, 239, 252"
Position
=
"0.5"
/>
<
telerik:GradientElement
Color
=
"157, 217, 238"
Position
=
"1"
/>
</
ComplexGradient
>
</
FillSettings
>
</
FillStyle
>
<
TextAppearance
TextProperties-Color
=
"White"
>
</
TextAppearance
>
</
Appearance
>
</
telerik:ChartSeries
>
</
Series
>
<
Legend
>
<
Appearance
Dimensions-Margins
=
"1px, 2%, 12%, 1px"
>
<
ItemTextAppearance
TextProperties-Color
=
"White"
>
</
ItemTextAppearance
>
<
FillStyle
GammaCorrection
=
"False"
MainColor
=
"37, 255, 255, 255"
>
</
FillStyle
>
<
Border
Color
=
"76, 255, 255, 255"
/>
</
Appearance
>
<
TextBlock
>
<
Appearance
Position-AlignedPosition
=
"Top"
TextProperties-Color
=
"LightSkyBlue"
>
</
Appearance
>
</
TextBlock
>
</
Legend
>
<
PlotArea
>
<
XAxis
>
<
Appearance
Color
=
"98, 183, 226"
MajorTick-Color
=
"98, 183, 226"
>
<
MajorGridLines
Color
=
"98, 183, 226"
Width
=
"0"
/>
<
TextAppearance
TextProperties-Color
=
"White"
>
</
TextAppearance
>
</
Appearance
>
<
AxisLabel
>
<
Appearance
Dimensions-Paddings
=
"1px, 1px, 10%, 1px"
>
</
Appearance
>
<
TextBlock
>
<
Appearance
TextProperties-Color
=
"LightSkyBlue"
>
</
Appearance
>
</
TextBlock
>
</
AxisLabel
>
</
XAxis
>
<
YAxis
>
<
Appearance
Color
=
"98, 183, 226"
MajorTick-Color
=
"98, 183, 226"
MinorTick-Color
=
"98, 183, 226"
>
<
MajorGridLines
Color
=
"120, 209, 248"
/>
<
MinorGridLines
Color
=
"120, 209, 248"
Width
=
"0"
/>
<
TextAppearance
TextProperties-Color
=
"White"
>
</
TextAppearance
>
</
Appearance
>
<
AxisLabel
>
<
TextBlock
>
<
Appearance
TextProperties-Color
=
"LightSkyBlue"
>
</
Appearance
>
</
TextBlock
>
</
AxisLabel
>
</
YAxis
>
<
Appearance
Dimensions-Margins
=
"19%, 90px, 12%, 9%"
>
<
FillStyle
MainColor
=
"50, 255, 255, 255"
SecondColor
=
"Transparent"
>
</
FillStyle
>
<
Border
Color
=
"97, 180, 223"
/>
</
Appearance
>
</
PlotArea
>
<
ChartTitle
>
<
Appearance
Dimensions-Margins
=
"4%, 10px, 14px, 6%"
>
<
FillStyle
MainColor
=
""
>
</
FillStyle
>
</
Appearance
>
<
TextBlock
Text
=
"Total Slips Scanned Last 30 Days"
>
<
Appearance
TextProperties-Color
=
"White"
TextProperties-Font
=
"Verdana, 14pt"
>
</
Appearance
>
</
TextBlock
>
</
ChartTitle
>
</
telerik:RadChart
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<
asp:EntityDataSource
ID
=
"edsNoOfBetScanned"
runat
=
"server"
ConnectionString
=
"name=EPOSShopScreenEntities"
DefaultContainerName
=
"EPOSShopScreenEntities"
EntitySetName
=
"vw_NoOfBetScanned"
>
</
asp:EntityDataSource
>