CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 5/18/2006 4:07:46 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
atlasprasad
Asp.Net User
Page Refresh while loading webparts5/18/2006 4:07:46 PM

0/0

I am using Atlas April Release for building the application.

1) Our application has a page that loads menu items/actions dynamically based on the user profile.

2) The rest of the page has Webparts placed in Webpart Control Zones which inturn are placed in Atlas Update Panel.

So on the application initialization, I have the following page loaded:

http://myatlas/Default.aspx?Page=Profile

And when the user navigates to another menu item on the page, the query string is changed (for example to Service Info) to retrieve the relevant items for that page. We had overwritten the Personalizatin Providers to take query string as path. So far everything is fine and webparts were loading smoothly.

The problem is, the whole page gets refreshed. Ofcourse, we are using Response.redirect method.

So how do we avoid page refresh and give the user AJAX experience?

The application consists of only webparts and it is suffice to reload the webparts based on the Query string?

 

Any ideas? Pointers?!! Greatly appreciated?

 

mharder
Asp.Net User
Re: Page Refresh while loading webparts5/26/2006 1:19:49 AM

0/0

I've seen this question in several different posts now, but I'll answer it again here.  If you need to load a new URL, you cannot avoid a page refresh.  However, you may be able to use an IFrame to make it look less like a refresh.

-Mike

http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
lvprasady
Asp.Net User
Re: Page Refresh while loading webparts5/26/2006 9:40:39 AM

0/0

Hi Mike,

Thanks for the reply.

The page is not redirected to a new page in the project. The page is being redirected to the same page with a different query string.

Let me clarify myself again.

I have a page called Default.aspx.

The Default.aspx, has four different tabs and has three static webpartzones.

When the application is started, default.aspx is loaded. The application user is given ability to add relevant Webparts/User controls dynamically on to the page. When the user clicks on tab1, we are required to load the tab1 associated information. (To accomplish this, we had overwritten methods in the SQLPersonalization provider, to store the path information with the query string, eg Default.aspx?tabid=1 etc).

It is in this scenario, when the application user moves from tab1 to tab2, the page is getting refreshed? Is there any way to avoid this?  (Will Postback work in this scenario?)

(We have seen websites like Pageflakes, netvibes accomplishing this task. Is there a way similar to that?) We are using Atlas April CTP and our webpart zones are placed within Atlas Update Panel.

 

 

 

 

mharder
Asp.Net User
Re: Page Refresh while loading webparts5/26/2006 7:57:33 PM

0/0

To the browser, "Default.aspx?tabid=1" and "Default.aspx?tabid=2" are completely different pages.

It sounds like your question is related to UpdatePanel and postbacks, not WebParts.  You may want to try the Atlas forum.

-Mike

http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
How to Use Lotus Notes 6: Your Complete Step- By-Step Solution Authors: Jane Calabria, Dorothy Burke, Pages: 272, Published: 2003
Microsoft SharePoint Portal Server: Building Knowledge Sharing Applications Authors: Kevin Laahs, Emer McKenna, Don Vickers, Pages: 544, Published: 2002
Beginning Excel Services Authors: Liviu Asnash, Eran Megiddo, Craig Thomas, Pages: 404, Published: 2007
Excel 2007: Beyond the Manual Authors: Helen Dixon, Pages: 417, Published: 2007
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
The Rational Guide to Building SharePoint Web Parts: Building SharePoint Web Parts Authors: Darrin Bishop, Pages: 175, Published: 2004
Professional Excel Services Authors: Shahar Prish, Pages: 445, Published: 2007
SharePoint 2007 and Office Development Expert Solutions: Expert Solutions Authors: Randy Holloway, Andrej Kyselica, Steve Caravajal, Pages: 324, Published: 2007

Web:
Page Refresh while loading webparts on a different Tab. - ASP.NET ... Page Refresh while loading webparts on a different Tab. Last post 03-20-2008 3: 28 PM by prabha.sunil. 1 replies. Sort Posts: ...
Page Refresh while loading webparts - ASP.NET Forums Re: Page Refresh while loading webparts. 05-25-2006, 9:19 PM. Contact ... Re: Page Refresh while loading webparts. 05-26-2006, 5:40 AM. Contact ...
CodeProject: RSS Reader webpart with tab support and asynchronous ... The webpart does not take user permissions into account while reading the RSS Url. ... Msgs 1 to 15 of 15 (Total in Forum: 15) (Refresh), FirstPrevNext ...
WebParts Project – Proposal Loading a web parts to the page should be something like .... Basically the idea is that user should not leave this main page while editing it. ...
My WebParts Collection : Document library Treeview & Auto-refresh ... My WebParts Collection : Document library Treeview & Auto-refresh web parts ... Error: Failure in loading assembly: Desigaud.Sharepoint.Webpart ...
MOSS 2007 Page viewer webpart with with Microsoft power point ... I'm not positive here, but I believe that when you click "Back" it is loading from the Cache. Refresh obviously does refresh the page ...
Building Web Parts, Part 2 | O'Reilly Media with in Web.config, web parts are loading fine , but it asks for username/password when the page load first time. how I can ...
Adventures in SPWonderland. - DoubleClick Minimise/Restore for ... This is the Web Part Page Services Component which handles the client side WebPart infrastructure, it provides services such as loading/saving properties ...
Tableless WebParts and WebPartZones « This page intentionally left ... Jun 26, 2008 ... This way, you don’t have to refresh the page to save a webpart location. Hope that helps somewhat. I plan to add a fully functioning version ...
Caching Data in Web Parts As the web part may well be used multiple times on the page I thought it ... how many times I refresh the page until the cache reset interval has been met. ...




Search This Site:










replacing web.config connectionstring user id and password

send email using outlook 2003

creating business logic layers.

do tasks and operations in azman get also stored in the 'roles' cookie?

is it possible to view the desktop w/o any admin?

htmlencode

question about register page

is there a current module developers guide for dnn 4.0

2.0 - recycle bin functionality

what treeview control is used for the msdn website?

home for mixed asp.net and xhtml site

strange behavior using dnn v3.0.10 on a ssl enabled site

iis does not support debugging from asp.net

ie web controls not working in mozilla and ie 7!

almost there, but getting 'the page cannot be displayed'

cannot open database "mydb" requested by the login. the login failed.

anyone know how to get mt dropdown to organise alphabetically

cant debug in c# for asp.net

response.redirect question.

html mail - unwanted extra spaces

web.config error

only admin user able to edit web parts

dreamweaver c# and asp.net

how to send email successfully

active directory

dnn and office web components

master page, response.redirect and viewstate

text box

delete all checked

unable to run asp.net website created with visual web developer 2005 express edition beta

 
All Times Are GMT