|
-
July 29th, 2009, 12:59 PM
#1
Stop the page from refreshing
hello frnds,I want to prevent the page from refreshing...I want that only some portion of page is refreshed..not full page,,Is it possible?? Which control i use for dat..I want just the hints..not the code...
-
July 29th, 2009, 03:12 PM
#2
Re: Stop the page from refreshing
I am not sure what you are asking. However, you should take a look at UpdatePanel and ScriptManager on MSDN. These are Ajax controls and let you do partial page refreshes.
-
July 30th, 2009, 11:01 AM
#3
Re: Stop the page from refreshing
hi frnd tell me one thing,there is no update panel in the toolbox..R u using AJAX toolkit.....?I dont want to use AJAX framework,...In PHP we have div tag,thru which we can refresh only the part of the image,We just change the src attribute of it?..Can somebody tell me how to use div tag & load page using div tag..
Last edited by sonia.sardana; July 30th, 2009 at 11:48 AM.
-
July 30th, 2009, 03:15 PM
#4
Re: Stop the page from refreshing
Which version of ASP are you using? The Ajax functionality is basically using Javascript behind the scenes. All you will have to do is write JavaScript, look at XMLHttpObject in google, you will find 110s of examples. You can surely use a Div tag and Javascript together to provide Ajax functionality, I have done it it using classic ASP number of times.
However, the question is why do we want to re-invent a wheel when all this functionality and much is built in to ASP.NET 2.0. Shouldn't it be easier to use the Update Panel or AjaxControl tool kit. If you are using earlier version of .NETthen you will have to use Ajax tool kit and if you are using 2.0 and above then Updatepanel si what you should be using.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|