Hello all,
I set the EnableProgressIndicator to true.But it is very small image seen at the bottom of the page.
How do I fix its size and I want it to be displayed on top of page?ANy help?
<ig_sched:WebScheduleInfo EnableProgressIndicator="true".......>
Thanks
Thanks Tsvetelina for the example.
Hello ssvan,
I recommend you handling Initialize client event of any control which displays WebScheduleInfo data.
For example let it be WebMonthView:
function WebMonthView1_Initialize(oMonthView){
//Add code to handle your event here.
var control = ig_getWebControlById("WebScheduleInfo1");
control.getProgressIndicator().setImageUrl('http://www.igrejaadmc.com/images/progress_indicator.gif');
control.getProgressIndicator().setRelativeContainer(oMonthView.getElement());
control.getProgressIndicator().setLocation(9);
}
Keep in mind that setLocation(9) means ig_Location.MiddleCenter = 9
as the online documentation states.
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=WebSchedule_ProgressIndicator_Object_CSOM.html
Please let me know if you need further assistance regarding this.
I have asked Tsveti from our Developer Support department to provide some sample code. This might be done privately through your case and not on the forums. If you do not receive any reply by the end of the week, let me know, and I'll follow up on it.
Elizabeth AlbertLocalization Engineer
Hi Elizabeth,
Thanks for the reply.If you could give me some example code.It could be more useful.
In which event I can set the location of the progress indicator?
Hello again ssvan!
I searched the help for "ProgressIndicator", and I found the CSOM overview page. The page lists the client side methods. It sounds like setLocation can be used to display it at the top of the page (location = 1). For customizing the image (you can change the size by scaling the existing image and saving it as a new image), you could use setImageUrl.