writing a web application

  • Thread starter Thread starter sunil
  • Start date Start date
S

sunil

Hi,
I just started learning C#. I want to write a web application, in which
the web page is divided into 2 halves. The values in the right half
depends on what is clicked on the left half item. What do I need to
learn for this? Basically some thing that is similar to a clustering
search engine, in which right half is loaded by search results
belonging to the cluster label clicked on the left half
 
Hello sunil,

So...the problem is "how to send data between two pages on single screen"
There are several ways for this
1) Two different pages which is represented and interacted via <frames> or
<iframe>.
2) Single page with the AJAX interaction of the dependent component


s> Hi,
s> I just started learning C#. I want to write a web application, in
s> which
s> the web page is divided into 2 halves. The values in the right half
s> depends on what is clicked on the left half item. What do I need to
s> learn for this? Basically some thing that is similar to a clustering
s> search engine, in which right half is loaded by search results
s> belonging to the cluster label clicked on the left half
---
WBR,
Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel
 
Michael said:
Hello sunil,

So...the problem is "how to send data between two pages on single screen"
There are several ways for this
1) Two different pages which is represented and interacted via <frames> or
<iframe>.
2) Single page with the AJAX interaction of the dependent component

Dear Michael,
Since I do not know much of web applications , I don't understand the
statement "two pages on single screen". Can you direct me to some
article that discusses how to develop frame-based Web applications. I
would be happy to read up and continue my work. If the second way is
much easier than the first one, then please tell me how to do it
Thanks for the quick response
 
Hello sunil,

See http://msdn2.microsoft.com/en-gb/library/ms670151.aspx about frames
and http://msdn.microsoft.com/library/d...html/reference/objects/obj_xmlhttprequest.asp
about XMLHttpRequest

Frames just allow to have two(and more) http pages which are showed on the
screen divided by frames.
XMLHttpRequest is another way to show any data after user action without
postbacks - using async calls to the server

s> Michael Nemtsev wrote:
s>s> Dear Michael,
s> Since I do not know much of web applications , I don't understand the
s> statement "two pages on single screen". Can you direct me to some
s> article that discusses how to develop frame-based Web applications.
s> I
s> would be happy to read up and continue my work. If the second way is
s> much easier than the first one, then please tell me how to do it
s> Thanks for the quick response
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel
 
Michael said:
Hello sunil,

See http://msdn2.microsoft.com/en-gb/library/ms670151.aspx about frames
and http://msdn.microsoft.com/library/d...html/reference/objects/obj_xmlhttprequest.asp
about XMLHttpRequest

Frames just allow to have two(and more) http pages which are showed on the
screen divided by frames.
XMLHttpRequest is another way to show any data after user action without
postbacks - using async calls to the server

Dear Michael,
Thanks for the response. I do not want to generate an HTML page that
contains 2 frames. I want to write a Web application using Visual
Studio, that generates the web page that is similar to the MSDN
homepage. So my question is how do I split my Default.aspx page into 2
halves. And make sure that the contents on the right half, depends on
the item clicked on the left half, where the left half is not
changed(i.e., it is not loaded) but the right half changes(may be a new
page is loaded)
 
Hello sunil,

s> Thanks for the response. I do not want to generate an HTML page that
s> contains 2 frames. I want to write a Web application using Visual

Web application is the set of HTML pages :)

s> Studio, that generates the web page that is similar to the MSDN
s> homepage. So my question is how do I split my Default.aspx page into
s> 2 halves. And make sure that the contents on the right half, depends on
s> the item clicked on the left half, where the left half is not
s> changed(i.e., it is not loaded) but the right half changes(may be a
s> new page is loaded)

There are no other ways except I've already descibe - frames and async calls.
MSDN uses frames.

See more examples at http://w3schools.com/html/html_frames.asp

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel
 
Sunil,
If you are just starting out, I'd have to say the best place to start is the
ASP.NET Quickstart application. You can find this online at the asp.net site,
and it also installs with the product when you select it.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top