Making user control

Discussion in 'ASP.NET / ASP.NET Core' started by J.Bey, Oct 13, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Associate your code with system time....

    Why don`t you use Flash to make it happen? It`s a lot easier to acoomplish your goal.

    J. Bey
    Free-lancer IT Pro.
    "Life is tough...but programming is FuN"</CODE>
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    you can also put a meta tag in your page and have it refresh every minute.


    An AJAX application could probably work too.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Anyone has any idea how to make a user control that inherits label, but then it can store 3 texts, and it will switch those text every 1 min.?

    So my main question is how I can switch the texts every 1 min. Is there anyway I can do it?

    Thx a lot.
     
  4. I am learning how to make user control, that's why I want to see if I can make a new label to be able to switch texts ones a while. It is possible to do it?


    Associate your code with system time? Where should I do it?
     
  5. Do you want the text to change on the server side, randomly, when the user loads the page. Or do you want the text to change while the page is kept open in the browser?

    If you want the later, you can do this with a little JavaScript code. The earlier you will have to create some sort of server side script to output the proper text.


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  6. What I have in mind is that when the page load, I will store 3 texts into the label, and then it will switch the text every 1 min when the page keeps opening.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page