473,385 Members | 1,693 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,385 software developers and data experts.

Callback help

I'm really struggling to find how to do this with easy to follow VB.NET
samples.

I have built a website with about 4 - 5 content pages using 1 master page.
http://www.openarch.co.uk/default.aspx
The master page contains a menu that loads each of the 4 main pages.
Each page has a variety of controls that are populated from a database.

The problem I am having is with the callbacks.

1 - I don't want the logo and menu (contained in the master) to disapear
each time the page loads
2 - I want to be able to switch images on page with refreshing the entire
page...eg. http://www.openarch.co.uk/ProjectDet...px?ProjectID=1 this
page contains a menu control that is populated with links to images I want
to be able to load images without rereshing anything else on the page.

I have seen lots of references to AJAX but haven't been able to make it work
for me and I'm not sure my ISP has AJAX installed.

None of the starter packs of samples seem to show how to achieve this and
yet it is surely a basic wish of all web designers.

I know a bit of VB.NET and just getting my head around ASP.NET very slowly.

Any help will be appreciated.

Russ

Sep 22 '07 #1
2 1300
OK so I've sort of fiigure out AJAX now and can get the image updates
working OK but still not getting the main menu updates.
Sep 22 '07 #2
The following applies if you are using ASP.NET 2.0 (Visual Studio 2005)

I recommend you check to see if your ISP has or will install Microsoft
ASP.NET AJAX 1.0. If you can use it, it will be the simplest way to get the
behavior you want.

For what you describe, you will only need to use one of the ASP.NET AJAX 1.0
controls - the UpdatePanel.

The best resource for downloading and learning to use ASP.NET AJAX 1.0 is
at:

http://www.asp.net/ajax/

--
Mike

Mike McIntyre [MVP]
http://www.getdotnetcode.com
"Russ Green" <ru*****@SPAM-openarch.co.ukwrote in message
news:eN**************@TK2MSFTNGP02.phx.gbl...
I'm really struggling to find how to do this with easy to follow VB.NET
samples.

I have built a website with about 4 - 5 content pages using 1 master page.
http://www.openarch.co.uk/default.aspx
The master page contains a menu that loads each of the 4 main pages.
Each page has a variety of controls that are populated from a database.

The problem I am having is with the callbacks.

1 - I don't want the logo and menu (contained in the master) to disapear
each time the page loads
2 - I want to be able to switch images on page with refreshing the entire
page...eg. http://www.openarch.co.uk/ProjectDet...px?ProjectID=1 this
page contains a menu control that is populated with links to images I want
to be able to load images without rereshing anything else on the page.

I have seen lots of references to AJAX but haven't been able to make it
work for me and I'm not sure my ISP has AJAX installed.

None of the starter packs of samples seem to show how to achieve this and
yet it is surely a basic wish of all web designers.

I know a bit of VB.NET and just getting my head around ASP.NET very
slowly.

Any help will be appreciated.

Russ

Sep 22 '07 #3

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

Similar topics

1
by: scott ocamb | last post by:
hello I have implemented a solution using async methods. There is one async method that can be invoked multiple times, ie there are multiple async "threads" running at a time. When these...
0
by: vijaya | last post by:
I've to invoke a unmanaged dll fucntion in C# which uses a callback fucntion.The unmanaged dll fucntion is as follows **************************************** The Original Fucntion in the dll...
15
by: Felix Kater | last post by:
Hi, in a given library I register callback functions with this function: bool set_callback(int index, int (*callback_function)(long)); I need the callback function to also pass the index...
2
by: MR | last post by:
help! I have an unmanaged DLL that I do not have the source code, so i can't recompile or make changes. the DLL requires a callback function. I would like to implement the callback method in a...
2
by: Gerda | last post by:
Hi! I've implemented many times an asynchronous call of a method with a call backfunction successfully. But to implement this with VB.NET is not so successfully. I can implement all events...
1
by: Timbo | last post by:
Hi all, This is my first message here so i'll try and include all the information that will help you help me out, if possible. Basically I am using C# in ASP.NET 2.0 and have a Repeater...
5
by: Johannes Röckert | last post by:
Hi, can anyone help me on how to develop a program in c++ which does single step execution using a callback between the asm commands? I need something like debuggers do - a callback function...
5
by: sajin | last post by:
Hi All.. We are using VB .Net 2005 for implementing an API. API needs to generate events. For this client wants us to use Windows Callback (delegate implementation). The intention of using...
6
by: smmk25 | last post by:
Before I state the problem, I just want to let the readers know, I am knew to C++\CLI and interop so please forgive any newbie questions. I have a huge C library which I want to be able to use in...
10
by: SQACPP | last post by:
Hi, I try to figure out how to use Callback procedure in a C++ form project The following code *work* perfectly on a console project #include "Windows.h" BOOL CALLBACK...
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.