I have an ultratabcontrol that hads 5 ultratabs, ultratab1, ultratab2, ultratab3, ultratab4, ultratab5.
each ultratab has its own ultragrid, I am trying to write that basically puts the tab first or infront of the ultratabs where where ultragrids have data or records, but if ultragrids does not have rows or data, put the ultragrid tab last within in the ultratabcontrol. the customers wants to keep the ultratab visible at all times.
example
ultratab1: Ultragrid1 has 5 records, ultratab2: Ultragrid2 has 0 records, ultratab3: Ultragrid3 has 0 records, ultratab4: Ultragrid4 has 3 records, ultratab5: Ultragrid5 has 2 records
You are basically shifting all of the tabs with ultragrids with no rows to the end of the ultratabcontrol
Output:
ultratab1, ultratab4, ultratab5, ultratab2, ultratab3.
Hello Keith,
Maybe one possible way to solve this task could be if you are using VisibleIndex property of your UltraTabControl. Each time when the records in your UltraGrids are changing, you could repositioned your Tabs. for example: ultraTabControl1.ActiveTab.VisibleIndex = 3;
Let me know if you have any questions.
Regards
I know how to set the position, Im trying to think of the logic to organize the tabs in the front where each tab that has an ultragrid with data to the front and tabs with ultragrid with no data to the back., im struggling at the moment with the logic.
I need some assistance.
Thanks Georgi, you are the man, I have one more unual task, customers comes up with weird requirements sometime, but im trying my best to make them happy with silly requirments, lololol
I am going to start another form, look for the form i am getting ready to post. The post dealing with ultragrid.
Hello,
If you have anu questions, feel free to write us. About the ReportViewer, you could find more information in our online documentation: http://help.infragistics.com/Help/NetAdvantage/Reporting/2011.2/CLR4.0/HTML/Getting_Started_NetAdvantage_Reporting_2011_2.html
I will today, I am just working multiple projects at the moment and fun with you guys controls. I love you guys control. Can you send me to a link or video order also for Report Viewer control if there is one available , my next control I have to implement in my application is the Report Viewer control you just came up with.
Have you been able to resolve your issue ? Did you have a time to take a look at the attached sample. Let me know if you have any questions.
Could you please take a look at the attached sample and let me know if you think that I misunderstood your case. Instead of button you could used timer to reorder your tabs. Let me know if you have any questions.