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: 4/20/2006 5:54:03 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
kubatp
Asp.Net User
Links from - to webpart without postback4/20/2006 5:54:03 PM

0/0

Hi all,

I'd like to have two webparts (each in different webpartzone) and in the first something like menu with "links". When user clicks on the link in this menu it refreshs only the second webpart not the whole page. Is there something in ASP.NET with which it could be simply done? Maybe it's question rather to "Atlas" forum, but it's about webparts as well.

If there isn't anything like that what are your suggestions how to do it simpliest?

Thank you Pavel

 

mharder
Asp.Net User
Re: Links from - to webpart without postback4/21/2006 6:36:26 PM

0/0

You could use the Atlas UpdatePanel control.  There are currently issues with placing an UpdatePanel inside a WebPart, but you could place your WebPartZones inside an UpdatePanel.  When a link is clicked in the first WebPart, the whole contents of the WebPartZones would rerender, but it is done asynchronously so the page won't flicker.

-Mike

http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
kubatp
Asp.Net User
Re: Links from - to webpart without postback4/24/2006 8:40:58 AM

0/0

Hi,

Thank you for reply. I know that I can do it the way you described but the problem is, that each webpart is in different webpartzone. I'd like to click on the item in menu in one webpart in first zone and refresh another webpart in another webpartzone.

I tried to solve it the way described below and I'd like to know your opinion or suggestions how to solve it in better way.

I placed each webpartzone in separate updatepanels. For each updatePanel I dynamically add one textbox (but it probably doesn't matter which type of server control) with display none style and add trigger for this updatepanel (controlValueTrigger) for this textbox and text value.

When user clicks on the link in menu it calls javascript function which change the Text value (specific value for that menu item) and call onchange() event of that textbox in another updatepanel.

I tried this solution on experimental site and it works fine, but when I implemented the same code in my real application it doesn't work. I traced the whole request/response proccess and I found that request is correctly asynchonously sent, response is correctly created and sent back but there is no refresh of the updatepanel on client.

Do you have any ideas where could be the problem or how to solve this in different way?

Thank you

mharder
Asp.Net User
Re: Links from - to webpart without postback4/24/2006 10:45:30 PM

0/0

See my response at the end of this thread: http://forums.asp.net/thread/1252166.aspx

-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:
ASP.NET 2.0 Web Parts in Action: Building Dynamic Web Portals Authors: Darren Neimke, Pages: 324, Published: 2007
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
C# for Programmers: Updated for C# 2.0 Authors: Paul J. Deitel, Pages: 1317, Published: 2005
Visual C# 2005: How to Program Authors: Harvey M. Deitel, Paul J. Deitel, Pages: 1591, Published: 2006
Beginning Visual Web Developer 2005 Express: From Novice to Professional Authors: Paul Sarknas, Pages: 334, Published: 2005
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
ASP.NET 2.0 Black Book: black book Authors: Dreamtech Software, Dreamtech Software, Charul Shukla, Anil Kumar Barnwal, Dreamtech Software India, Pages: 1167, Published: 2006
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Beginning ASP.NET 2.0 in C# 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1148, Published: 2006
Programming C#: Building .NET Applications with C# Authors: Jesse Liberty, Pages: 644, Published: 2005

Web:
Links from - to webpart without postback - ASP.NET Forums I'd like to have two webparts (each in different webpartzone) and in the first something like menu with "links". ...
To dynamically update webpart without postback for every 5 sec ... To dynamically update webpart without postback for every 5 sec ... Timer control and Update Panel control.. see links below for more info ...
Ajax enabled webpart not working on second postback « where coding ... Feb 20, 2008 ... Ajax webpart: Register scripts on UpdatePanel postbacks « where coding happens ! ... implementation on my previous post at this link [...] ...
Mike Harder's Blog : WebParts and ASP.NET AJAX 1.0 Modifying a WebParts page without postback is implemented by wrapping the WebPartManager and ... Hi Mike,. I saw your post in asp forums in the below link : ...
Scootville: Use Enter key to postback given webpart Use Enter key to postback given webpart. This example shows how to submit a webpart (containing a textbox) by hitting the enter key. ...
ASP.NET 2.0 WebPart Communication | Sahil Malik - blah.winsmarts.com how to do the webpart communication without postback by using updatepanels? could you ... How can we communicate between two web parts by giving links? ...
MSDN SharePoint - Development and Programming Has ANYONE Done This ... When you close the new window and click on another link in the webpart there is also no postback??? Any ideas? Thanks. Please help! ...
SharePoint Forums Web Part - Discussions It doesn't cause a postback. I'm not getting a javascript error, either. ... ' webpart error' page with the link to the 'Web Part Maintenance' page. ...
SharePoint Kings: Issues with Data View webpart programmatically Before you start coding you need to understand that data view webpart needs xsl or xsl link property to be set for rendering. ...
CodeProject: RSS Reader webpart with tab support and asynchronous ... Feb 23, 2008 ... webpart will update itself without postback. .... Add(new LiteralControl(link)); rsspanel.ContentTemplateContainer.Controls. ...




Search This Site:










randomly kicked to login page

3.0.12 error on site settings page

saving state information between server requests

dnn 4 modules

great idea

dnn update notifications

navigation with an access site-map provider

vb .net frames

ldap authentication

dnn "adult" website

mind-bending problem with class library function

installed/setup dnn * getting blank browser page

looking for dynamic button control...or so.

tell a friend

best skin designer

owc error, anyone help

administrator disconnected

installation error

treeview set font to bold

master page control code

page access

no ajax project templates in vs2005 on vista

impersonation failure going from 1.0 to 1.1

help with login page

which forum module?

apply theme with vb codefile.

altering variables from sql then displaying

allowdelete?

retrieve current node text from sitemapdatasource?

how to add a new module to dnn 212

 
All Times Are GMT