473,382 Members | 1,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

writing a web application

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

Dec 24 '06 #1
6 1615
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 <framesor
<iframe>.
2) Single page with the AJAX interaction of the dependent component
sHi,
sI just started learning C#. I want to write a web application, in
swhich
sthe web page is divided into 2 halves. The values in the right half
sdepends on what is clicked on the left half item. What do I need to
slearn for this? Basically some thing that is similar to a clustering
ssearch engine, in which right half is loaded by search results
sbelonging 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) Michelangelo
Dec 24 '06 #2

Michael Nemtsev wrote:
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 <framesor
<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

Dec 24 '06 #3
Hello sunil,

See http://msdn2.microsoft.com/en-gb/library/ms670151.aspx about frames
and http://msdn.microsoft.com/library/de...ttprequest.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

sMichael Nemtsev wrote:
s>
>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
<framesor
<iframe>.
2) Single page with the AJAX interaction of the dependent component
sDear Michael,
sSince I do not know much of web applications , I don't understand the
sstatement "two pages on single screen". Can you direct me to some
sarticle that discusses how to develop frame-based Web applications.
sI
swould be happy to read up and continue my work. If the second way is
smuch easier than the first one, then please tell me how to do it
sThanks 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) Michelangelo
Dec 24 '06 #4

Michael Nemtsev wrote:
Hello sunil,

See http://msdn2.microsoft.com/en-gb/library/ms670151.aspx about frames
and http://msdn.microsoft.com/library/de...ttprequest.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)

Dec 24 '06 #5
Hello sunil,

sThanks for the response. I do not want to generate an HTML page that
scontains 2 frames. I want to write a Web application using Visual

Web application is the set of HTML pages :)

sStudio, that generates the web page that is similar to the MSDN
shomepage. So my question is how do I split my Default.aspx page into
s2 halves. And make sure that the contents on the right half, depends on
sthe item clicked on the left half, where the left half is not
schanged(i.e., it is not loaded) but the right half changes(may be a
snew 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) Michelangelo
Dec 24 '06 #6
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

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"sunil" wrote:
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

Dec 24 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Sebastian Kemi | last post by:
How should a write a class to a file? Would this example work: object *myobject = 0; tfile.write(reinterpret_cast<char *>(myobject), sizeof(*object)); / sebek
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
7
by: Moti | last post by:
Hi all I use C# to read messages from msmq queue. When I knew that it is writing in c# I can read it. When I knew that it is writing in VB6 I can read it. How can I know in which format the...
0
by: Gazelle | last post by:
I have a dilemma, that I am hopping I can find some help with. He is the back story so everyone sort of understands what it is that I am trying to accomplish. My problem: I have multiple...
19
by: Noozer | last post by:
I need to keep my application settings in a file that users can copy/backup/etc. Before I start using the old INI file standard, is there any easy way to use XML files to hold application...
12
by: Chris Springer | last post by:
I'd like to get some feedback on the issue of storing data out to disk and where to store it. I've never been in a production environment in programming so you'll have to bear with me... My...
6
by: JeffDotNet | last post by:
Writing to a registered source in the Application event log I have an asp.net framework 2.0 app that I created on a winxp machine and now I am deploying it to IIS6 on a win server2003 machine. ...
20
by: Vincent Delporte | last post by:
Hello I'm about to write a prototype for a business application, but since this my first real web application, I'm looking for a good book or article that sums up the different issues web...
0
by: talk2pk | last post by:
When i am writing the images to the word file(using Clipboard.SetImage) and open another word doc, the process of writing those images migrates to the new opened document. Can anybody suggest why...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.