PC Review


Reply
Thread Tools Rate Thread

C# web application w/ ASP.net

 
 
=?Utf-8?B?UmFpbg==?=
Guest
Posts: n/a
 
      14th Jun 2006
hi,

This is my first time developing a web app in asp.net web application using
C#. All examples i see are web applications with buttons so i didnt have much
of a problem displaying text and images to the page because the button_click
does a part of the reloading (refreshing) of the page.

This is my problem now, im developing a web application that listens to the
sever and everytime it recieves a message, the message is displayed and a
certain image is changed to another image. Here's the thing, since i dont
have a button or anything to press which means the page wont be realoading,
how can i display the messages in the page and change images without any
buttons or should i force a reload? I really dont have any idea on this one..
can anyone suggest, give ideas or sample source? I would really really be
very thankful.


Regards,
Stan
 
Reply With Quote
 
 
 
 
Lebesgue
Guest
Posts: n/a
 
      14th Jun 2006
Since this question has absolutely nothing to do with the C# programming
language, I'd suggest you to try to post to
microsoft.public.dotnet.framework.aspnet instead where you'd have better
chance to get accurate response.

"Rain" <(E-Mail Removed)> wrote in message
news:3DB572C1-CC7B-4285-9E11-(E-Mail Removed)...
> hi,
>
> This is my first time developing a web app in asp.net web application
> using
> C#. All examples i see are web applications with buttons so i didnt have
> much
> of a problem displaying text and images to the page because the
> button_click
> does a part of the reloading (refreshing) of the page.
>
> This is my problem now, im developing a web application that listens to
> the
> sever and everytime it recieves a message, the message is displayed and a
> certain image is changed to another image. Here's the thing, since i dont
> have a button or anything to press which means the page wont be
> realoading,
> how can i display the messages in the page and change images without any
> buttons or should i force a reload? I really dont have any idea on this
> one..
> can anyone suggest, give ideas or sample source? I would really really be
> very thankful.
>
>
> Regards,
> Stan



 
Reply With Quote
 
=?Utf-8?B?UmFpbg==?=
Guest
Posts: n/a
 
      14th Jun 2006
Dear Lebesgue,

PLease read my question first before making any conclusion and replying to
my post. My code are all in C# and it is developed in asp.net web application
USING C#. please be more careful next time as you are discouraging others to
answer to this post. Thank you.
 
Reply With Quote
 
Lebesgue
Guest
Posts: n/a
 
      14th Jun 2006
Dear Rain,

you seem to absolutely misunderstand the boundary between language,
library and framework. I, and others in this group would gratefuly explain
the differences to you, but your harsh comments discourage me from doing
that. You don't want to post your ASP.NET question to ASP.NET group - your
problem.

Have a nice day.

"Rain" <(E-Mail Removed)> wrote in message
news:451E0B00-789E-4C35-9247-(E-Mail Removed)...
> Dear Lebesgue,
>
> PLease read my question first before making any conclusion and replying to
> my post. My code are all in C# and it is developed in asp.net web
> application
> USING C#. please be more careful next time as you are discouraging others
> to
> answer to this post. Thank you.



 
Reply With Quote
 
John Timney \(MVP\)
Guest
Posts: n/a
 
      14th Jun 2006
Web apps are stateless, this means it has no actual connection to the
server - so there is now easy way for the server to tell your application
that something has changed. HTTP issues a request from the browser, and the
server sends a response - end of story really.

Without a formal refresh of the page your web page wont know something on
the server has changed - that said, you dont have to refresh all of the
page, you could use Ajax or Atlas to refresh only a DIV for example. Take a
look at these examples to and see if it helps.

http://www.devx.com/webdev/Article/28451
http://www.mousewhisperer.co.uk/ajax_page.html

Also worth noting that without having to push buttons, you can do a good old
fashioned meta refresh of the page after a certain time.

Regards

John Timney (MVP)


"Rain" <(E-Mail Removed)> wrote in message
news:3DB572C1-CC7B-4285-9E11-(E-Mail Removed)...
> hi,
>
> This is my first time developing a web app in asp.net web application
> using
> C#. All examples i see are web applications with buttons so i didnt have
> much
> of a problem displaying text and images to the page because the
> button_click
> does a part of the reloading (refreshing) of the page.
>
> This is my problem now, im developing a web application that listens to
> the
> sever and everytime it recieves a message, the message is displayed and a
> certain image is changed to another image. Here's the thing, since i dont
> have a button or anything to press which means the page wont be
> realoading,
> how can i display the messages in the page and change images without any
> buttons or should i force a reload? I really dont have any idea on this
> one..
> can anyone suggest, give ideas or sample source? I would really really be
> very thankful.
>
>
> Regards,
> Stan



 
Reply With Quote
 
=?Utf-8?B?UmFpbg==?=
Guest
Posts: n/a
 
      15th Jun 2006
Thanks John, il try it. Thanks for the response.

"John Timney (MVP)" wrote:

> Web apps are stateless, this means it has no actual connection to the
> server - so there is now easy way for the server to tell your application
> that something has changed. HTTP issues a request from the browser, and the
> server sends a response - end of story really.
>
> Without a formal refresh of the page your web page wont know something on
> the server has changed - that said, you dont have to refresh all of the
> page, you could use Ajax or Atlas to refresh only a DIV for example. Take a
> look at these examples to and see if it helps.
>
> http://www.devx.com/webdev/Article/28451
> http://www.mousewhisperer.co.uk/ajax_page.html
>
> Also worth noting that without having to push buttons, you can do a good old
> fashioned meta refresh of the page after a certain time.
>
> Regards
>
> John Timney (MVP)
>
>
> "Rain" <(E-Mail Removed)> wrote in message
> news:3DB572C1-CC7B-4285-9E11-(E-Mail Removed)...
> > hi,
> >
> > This is my first time developing a web app in asp.net web application
> > using
> > C#. All examples i see are web applications with buttons so i didnt have
> > much
> > of a problem displaying text and images to the page because the
> > button_click
> > does a part of the reloading (refreshing) of the page.
> >
> > This is my problem now, im developing a web application that listens to
> > the
> > sever and everytime it recieves a message, the message is displayed and a
> > certain image is changed to another image. Here's the thing, since i dont
> > have a button or anything to press which means the page wont be
> > realoading,
> > how can i display the messages in the page and change images without any
> > buttons or should i force a reload? I really dont have any idea on this
> > one..
> > can anyone suggest, give ideas or sample source? I would really really be
> > very thankful.
> >
> >
> > Regards,
> > Stan

>
>
>

 
Reply With Quote
 
=?Utf-8?B?UmFpbg==?=
Guest
Posts: n/a
 
      15th Jun 2006
Dear Lebesgue,

Please do explain, i insist. I really want to know how my question has
absolutely nothing to do with C# programming so next time i wont be posting
it here if ever im convinced.

"Lebesgue" wrote:

> Dear Rain,
>
> you seem to absolutely misunderstand the boundary between language,
> library and framework. I, and others in this group would gratefuly explain
> the differences to you, but your harsh comments discourage me from doing
> that. You don't want to post your ASP.NET question to ASP.NET group - your
> problem.
>
> Have a nice day.
>
> "Rain" <(E-Mail Removed)> wrote in message
> news:451E0B00-789E-4C35-9247-(E-Mail Removed)...
> > Dear Lebesgue,
> >
> > PLease read my question first before making any conclusion and replying to
> > my post. My code are all in C# and it is developed in asp.net web
> > application
> > USING C#. please be more careful next time as you are discouraging others
> > to
> > answer to this post. Thank you.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY keepout@yahoo.com.invalid Windows Vista General Discussion 15 16th Sep 2007 01:50 AM
Managed C++: The application failed to initialize properly (0xc000007b).Click on OK to terminate the application. Tommy Vercetti Microsoft VC .NET 4 23rd Mar 2005 08:19 PM
Fail in operating my hardware in web application , makes other windows application startup failure. Ryan.ZhYin Microsoft C# .NET 0 25th Jan 2005 08:34 AM
Please recommend book about design patterns for server application\distrubuted application Julia Microsoft C# .NET 2 11th Dec 2004 01:37 AM
Making more memory available to application?Im making a memory intense application, the application is supposed to open a prettylarge image (about 9200*10200 in 300Dpi) yosh@liquidzone.net Microsoft Dot NET Framework Forms 0 6th Dec 2004 07:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.