Nov 26, 2014, 2:08 PM
[CLOSED] Problem With TaskManager's Update.Handler and Image
Test View
but if comment
you can see this also here
user name and password :-bsspl
@{
//Layout = "~/Views/Shared/_Layout.cshtml";
var X = Html.X();
}
@X.ResourceManager()
@(
Html.X().Viewport()
.Layout(LayoutType.Border)
.Border(false)
.Items(
X.Panel().Layout(LayoutType.HBox)
.BodyStyle("background: #DFE8F6").AutoScroll(false)
.Items
(
X.Image()
.ImageUrl("http://octagonerp.com/FileRepository/Admin/AdminSettings/CompanyInformation/Image/BaanyanSoftwareServices.jpg")
@*http://4.bp.blogspot.com/-JOqxgp-ZWe0/U3BtyEQlEiI/AAAAAAAAOfg/Doq6Q2MwIKA/s1600/google-logo-874x288.png*@
.Height(40)
.Width(300)
)
,
X.Panel().ID("pbottom")
.BodyPadding(0)
.AutoScroll(false)
.Region(Region.South)
//.BottomBarItem(
// )
.BottomBar(
X.StatusBar().StatusAlign(StatusAlign.Right).Border(false)
.Items(
X.ToolbarTextItem().Text(System.DateTime.Now.ToString("dd-MM-yyyy")),
X.ToolbarTextItem().ID("txttime")
)
).AlignTo("pbottom", "Left")
)
)
@(X.TaskManager()
.Tasks(
X.Task()
.Interval(1000)
.Listeners(l => {
l.Update.Handler = "App.txttime.setText(Ext.Date.format(new Date(), 'H:i:s'));";
})
))
Please run above code ,and you will find the Image (at Top Left) jerk on every interval of TaskManager's Update.Handler.please help me to fix this.the jerk of this image is not looking good.but if comment
l.Update.Handler = "App.txttime.setText(Ext.Date.format(new Date(), 'H:i:s'));";
image mot jerking.you can see this also here
user name and password :-bsspl
Last edited by Daniil; Dec 03, 2014 at 6:17 PM.
Reason: [CLOSED]