How to create Progressbar?

Hi Isomorphic,

Could you please guide me on how to create Progressbar?. I don’t find any samples in Feature Explorer. I tried this code. It is not working

isc.Progressbar.create({
       ID:"prsbar",
       width:100,
       left:200,
       top:450
})

Is it depends any other component? Please help me !!!

Thanks
Prabu

That’s OK for creating it, but you need to tell it to do something! Check out the docs - particularly the setPercentDone() method

Map progressbar with UploadItem or Form

Thanks Isomorphic. It is working. If i click “click” button, it increases by 10 for every time.

var percent = 0;
isc.Progressbar.create({
       ID:"prsbar", length:200, left:500, top:620
})
isc.Button.create({
	ID:"pbarbutton",
	title:"Click",	width:100, height:25, left:500,top:650,
	click: function pbar(){
		if(percent>=0)
		{
		    percent = percent +10;
		    prsbar.setPercentDone(percent);
		}
	}
})

Please help me to map this bar with an UlpoadItem or form. I want to increase the bar status dynamically according the file size is uploaded.

Hi Prabu,

Upload progress bars are fairly complex to implement. See this post for details.

Thanks Isomorphic,

I just looked the link
http://forums.smartclient.com/showpost.php?p=2387&postcount=4.

I just dropped mail to the address on contact details. But i did not get respomnse from that side.

I got over all idea to implement it. It would be better if you have samples to contact the server to periodically RPCManager and get the uploading the satuts.

Please share it me.

Thanks
Prabu