vivek Posted February 13, 2008 Report Share Posted February 13, 2008 hi i ahve written the code to generate guages dynamically using .net now i need to add another controls say heading for that guage in between the guage i tried many methods to add them but what i can see is the all the guages first and the controls whcih i added in the end is there any way by which i can control this behaviour and insert heading for that guage in between the guages as labels i give you the code to ahve a look If display.printrowvalue > 300 And display.printrowvalue < 400 Then collectionlabel.Text = display.collectionvalue linebreak.Text = "<br/>"titlelabel.Text = display.titlevalue Controls.Add(collectionlabel) Controls.Add(linebreak) Controls.Add(titlelabel) Controls.Add(linebreak) displayguage(display, maxmincombination(8), maxmincombination(9)) Controls.Add(linebreak) End Ifhere display is the object of the class which contains all the marker values for the guage which i am showing on browser, print row is one of its property display guage is the method with the help of whcih i am generating the guages maxmincombination is the array which contains maximum and minimum values for the guage now i also want to insert labels collection label and title label along with guages but i can only see the guages to be appearing and no labels after all the guages according to loop condition are displayed i can see only the last label values does it mean that guages does not allow the generation of other controls in between thanks in advance regards vivek Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.