Hi all,
I am trying to use a Busy Indicator in my code .But i am facing some problems .
Please suggest what is the problem in this code .
var bsyIndi = sap.m.BusyIndicator({
text :"wait"
});
var bar = new sap.m.Bar({
contentMiddle : new sap.m.Button({text : "hii"}),
contentLeft : new sap.m.Button({text : "hii2",
press : function(){
//bsyIndi.setShowCancelButton(true);
bsyIndi.setCustomIcon("C:\Users\Public\Pictures\Sample Pictures\Desert.jpg");
bsyIndi.show (10);
}