Click here to Skip to main content
15,917,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsecurity between php client and asp net 2.0 web services Pin
raquidd228-Dec-09 12:10
raquidd228-Dec-09 12:10 
AnswerRe: security between php client and asp net 2.0 web services Pin
raquidd228-Dec-09 14:04
raquidd228-Dec-09 14:04 
GeneralRe: security between php client and asp net 2.0 web services Pin
raquidd228-Dec-09 16:12
raquidd228-Dec-09 16:12 
AnswerRe: security between php client and asp net 2.0 web services Pin
leckey8-Dec-09 16:41
leckey8-Dec-09 16:41 
AnswerRe: security between php client and asp net 2.0 web services Pin
wenjinxu8-Dec-09 22:35
wenjinxu8-Dec-09 22:35 
QuestionHow to determine the originating url? Pin
Goalie358-Dec-09 9:29
Goalie358-Dec-09 9:29 
AnswerRe: How to determine the originating url? Pin
Petr Pechovic8-Dec-09 12:19
professionalPetr Pechovic8-Dec-09 12:19 
QuestionThread Pin
Munteanu Ciprian8-Dec-09 9:26
Munteanu Ciprian8-Dec-09 9:26 
Hi! Here what I want to do: I have a label and in it I want to display the seconds beginning from 60 and finishing with 0 at the interval of one second, and then again and again (basically a little stop watch). I've tried something using C# and a delegate, but I can't use the method Invoke which I was using in C#. Here the of what I've done:
public delegate void del_time();

 public Thread threadTime;
 public int time = 60;
 protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                labelTime.Text = "TIME 60";
                threadTime = new Thread(new ThreadStart(Display_Time));
                threadTime.IsBackground = true;
                threadTime.Start();
            }
        }
 
   protected void Dsiplay_Time()
        {
            del_time del1 = new del_time(Lbl_time);
            Thread.Sleep(1000);
            while (true)
               invoke(Lbl_time, new object[] { });
        }

        protected void Lbl_timp()
        {
            if (time > 0)
            {
                time -= 1;
                labelTime.Text = "TIME " + time.ToString();
            }
            else
            {
                time = 60;
                labelTime.Text = "TIME " + time.ToString();
            }
        }


Now can anyone tell me if I can do the stop watch this way, or could anyone give any other idea. I've noticed that I have a control called "Timer". I tried to use it, but I get the following error: "The control with ID 'Timer1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it." Any ideas??
AnswerRe: Thread Pin
Abhishek Sur8-Dec-09 12:21
professionalAbhishek Sur8-Dec-09 12:21 
QuestionProblem with OnClientClick() & OnClick() Pin
Member 47041438-Dec-09 7:18
Member 47041438-Dec-09 7:18 
AnswerRe: Problem with OnClientClick() & OnClick() Pin
dan!sh 8-Dec-09 7:39
professional dan!sh 8-Dec-09 7:39 
AnswerRe: Problem with OnClientClick() & OnClick() Pin
Abhishek Sur8-Dec-09 7:46
professionalAbhishek Sur8-Dec-09 7:46 
GeneralRe: Problem with OnClientClick() & OnClick() Pin
Member 47041438-Dec-09 12:53
Member 47041438-Dec-09 12:53 
QuestionUser Controls Pin
samir808-Dec-09 6:11
samir808-Dec-09 6:11 
AnswerA wild guess Pin
dan!sh 8-Dec-09 8:08
professional dan!sh 8-Dec-09 8:08 
AnswerRe: User Controls Pin
Abhishek Sur8-Dec-09 8:40
professionalAbhishek Sur8-Dec-09 8:40 
QuestionRetrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:05
rakeshs3128-Dec-09 4:05 
AnswerRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 4:16
Blue_Boy8-Dec-09 4:16 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:26
rakeshs3128-Dec-09 4:26 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 4:29
Blue_Boy8-Dec-09 4:29 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:59
rakeshs3128-Dec-09 4:59 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 5:06
Blue_Boy8-Dec-09 5:06 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Anurag Gandhi8-Dec-09 4:32
professionalAnurag Gandhi8-Dec-09 4:32 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 5:02
rakeshs3128-Dec-09 5:02 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Abhishek Sur8-Dec-09 5:12
professionalAbhishek Sur8-Dec-09 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.