Hello,
I am coding in C# and using the UltraWinGrid for my project and I need to be able to display a progressbar either as part of the control that contains the ultragrid or as a popup control that comes up when the grid is loading data. My other option is just to use the ultrastatusbar.
My issue is that the examples provided on the website do not really seem to pertain to my situation. This example,
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=9838, is doing most of what I want to do except for the fact it has to respond to a button click in order to work. What I want to happen simply this, I want to launch my progrom; a form containing a ultragrid, while the ultragrid is loading data I want a popup control to come up or the ultrastatusbar to display the progress of the data being loaded into the grid. Is this possible? Please advise.
Thanks,
Adrian
Hi Adrian,
I do not understand your question. Which part of this is giving you trouble?
The grid doesn't have any ability to load data and report it's progress or anything like that. So there's no progress meter as far as the grid loading data goes. If your data source can do this, then you would simply set the value of the ProgressBar / StatusBar as it progresses.
I took a look at the KB article you mentioned. What does the fact that it's using a button have to do with it? Can you just start the same process whenever you want?
Hello Mike,
Well, I pretty much concluded the same thing that the ultragrid does not have the ability to report it's progress as it is loading data after looking through the forum here and the articles in knowledgebase. However, this is pretty much the functionality that I need to address this request I have right now.
My ultragrid is assigned data as such; this.TableAdapter.Fill(this.DataSet.DB_Table), so I am not setting the datasource like in the example provided in that article link in my previous posting. So I am not sure as to how to go about using the progress bar to show the status of the data loading into the grid without a button click. I understand that there is no conventional way to go about doing this, but I am open to any suggestions. If you can point me in the right direction it would be appreciated.