Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Content Page ajax

Reply
Thread Tools

Content Page ajax

 
 
Miro
Guest
Posts: n/a
 
      02-05-2010
is there a way to refresh just the content page part of a master/content
page aspx?

example: my master page contains a menu that will never ever change.
It contains a footer that will never ever change.

So when I click on a menu...I just want to refresh the content page.

How would I go about setting something like this up?
(or can i )

I have played with refreshing textboxes and stuff with ajax, but I just cant
seem to google up something that a whole content page can be refreshed. (
unless I am assuming I use one aspx page with a panel or something)

Miro

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-05-2010
On Feb 5, 9:14*pm, "Miro" <m...@beero.com> wrote:
> is there a way to refresh just the content page part of a master/content
> page aspx?
>
> example: *my master page contains a menu that will never ever change.
> It contains a footer that will never ever change.
>
> So when I click on a menu...I just want to refresh the content page.
>
> How would I go about setting something like this up?
> (or can i )
>
> I have played with refreshing textboxes and stuff with ajax, but I just cant
> seem to google up something that a whole content page can be refreshed. (
> unless I am assuming I use one aspx page with a panel or something)
>
> Miro


You can try to use UpdatePanel control. In this scenario, the content
page will contain UpdatePanel and ScriptManager (alternatively, you
can put the ScriptManager control on master page). See example of
calendar control inside the UpdatePanel control.

http://www.asp.net/AJAX/documentatio...s/Default.aspx
http://msdn.microsoft.com/en-us/library/bb398864.aspx

Hope this helps
 
Reply With Quote
 
 
 
 
Miro
Guest
Posts: n/a
 
      02-08-2010
Yes - I have thought of this as well.

Thanks,

miro


"Alexey Smirnov" <> wrote in message
news:c829cbda-af0b-4b9b-929f-...
On Feb 5, 9:14 pm, "Miro" <m...@beero.com> wrote:
> is there a way to refresh just the content page part of a master/content
> page aspx?
>
> example: my master page contains a menu that will never ever change.
> It contains a footer that will never ever change.
>
> So when I click on a menu...I just want to refresh the content page.
>
> How would I go about setting something like this up?
> (or can i )
>
> I have played with refreshing textboxes and stuff with ajax, but I just
> cant
> seem to google up something that a whole content page can be refreshed. (
> unless I am assuming I use one aspx page with a panel or something)
>
> Miro


You can try to use UpdatePanel control. In this scenario, the content
page will contain UpdatePanel and ScriptManager (alternatively, you
can put the ScriptManager control on master page). See example of
calendar control inside the UpdatePanel control.

http://www.asp.net/AJAX/documentatio...s/Default.aspx
http://msdn.microsoft.com/en-us/library/bb398864.aspx

Hope this helps

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
document.getElementById(), error in content page content page Dave L ASP .Net 3 03-04-2010 08:50 AM
AJAX IDE and AJAX TOOL--The Release of JoyiStar AJAX WebShop 3 Beta minnie Java 1 12-13-2006 06:29 AM
limit on number of content placeholders(which are editable in content pages) in master page nemesis.saurabh@gmail.com ASP .Net 0 05-25-2006 04:44 AM
Error: "Content controls can only be used in a content page" J.Edwards ASP .Net 0 01-20-2006 11:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57