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: 3/4/2005 10:18:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 7 Views: 43 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
8 Items, 1 Pages 1 |< << Go >> >|
Dr.NETjes
Asp.Net User
What is serialized in the PageSettings?3/4/2005 10:18:05 PM

0/0


I always wondered what is serialized in the PageSettings blob (stored by the PersonalizationProviders). Is it some kind of dictonary containing WebPart properties?

The reason I want to know, is because it would be nice to load the dynamic webparts of a page (other than the current page), add a new webpart to it, and store it back again.

--Dion
Fredrik N
Asp.Net User
Re: What is serialized in the PageSettings?3/5/2005 9:20:04 AM

0/0

The personalization data is saved into the PageSettings column. The data is binary serialized and contains where the WebParts is located, and its settings etc.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
Dr.NETjes
Asp.Net User
Re: What is serialized in the PageSettings?3/7/2005 8:34:21 AM

0/0


I know the personalization data is saved in the PageSettings blob, but what exactly is the structure of the serialized PageSettings?

Is it:
a) a serialized WebPartManager (including it webparts)
b) a collection of serialized WebParts
c) a collection of serialized WebPart properties?
d) ...something else?
wyx2000
Asp.Net User
Re: What is serialized in the PageSettings?3/7/2005 9:22:44 PM

0/0

I am trying to find out how it works too, I need combine personalization data from different place. I think the logic is in the .NET source code. But It will be great if someone can introduce it here.

Dr.NETjes
Asp.Net User
Re: What is serialized in the PageSettings?3/8/2005 7:33:38 PM

0/0

Have a look at this weblog entry by Teun Duynstee: http://dotnetjunkies.com/WebLog/teund/archive/2005/03/08/WebPartManager_Storage.aspx

He explains exactly what I was looking for. As I understand he's making some kind of wrapper-object that's able to manage the webparts inside the blob.

--Dion
wyx2000
Asp.Net User
Re: What is serialized in the PageSettings?3/9/2005 1:21:14 AM

0/0

that is great! ,hope he can figure out the whole data structure soon.
Jupiter_Lin
Asp.Net User
Re: What is serialized in the PageSettings?7/7/2005 10:07:34 AM

0/0

hi

Does anyone try out this?
I have downloaded TeunD's code.
but it's always wrong at
(        UserState = New PageState(encodedUserData, PersonalizationScope.User))

The problem is the encodedUserData can't Deserialize by ObjectStateFormatter.

Does anyone know about this?
 what's the encodedUserData ?

thanks
Jupiter_Lin
Asp.Net User
Re: What is serialized in the PageSettings?7/7/2005 10:12:08 AM

0/0

hi

I have try TeunD 's Code.
But it's wrong at "UserState = New PageState(encodedUserData, PersonalizationScope.User)"
I think the problem is
ObjectStateFormatter can't Deserialize encodedUserData..

Does anyone try out this?
What's the encodedUserData?

thanks
8 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
.NET Windows Forms in a Nutshell: A Desktop Quick Reference Authors: Ian Griffiths, Matthew Adams, Pages: 879, Published: 2003
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Visual Basic .NET Developer's Guide to ASP.NET, XML, and ADO.NET Authors: Jeffrey P. McManus, Chris Kinsman, Pages: 592, Published: 2002
Tobias Smollett, Scotland's First Novelist: New Essays in Memory of Paul-Gabriel Bouce Authors: O M. Brack, O. M. Brack, Jr., Paul-Gabriel Boucé, Pages: 320, Published: 2007
Tobias Smollett, Scotland's First Novelist: New Essays in Memory of Paul-Gabriel Boucé Authors: O. M. Brack, Jr., O M. Brack, Paul-Gabriel Boucé, Pages: 320, Published: 2007
Visual Basic .NET Power Tools: Power Tools Authors: Evangelos Petroutsos, Richard Mansfield, Pages: 694, Published: 2003
Windows Forms Programming in C# Authors: Chris Sells, Pages: 681, Published: 2004
Mastering Visual Basic .NET Authors: Evangelos Petroutsos, Pages: 1153, Published: 2002
Programming VB.NET: A Guide for Experienced Programmers Authors: Gary Cornell, Jonathan Morrison, Pages: 528, Published: 2001

Web:
What is serialized in the PageSettings? - ASP.NET Forums I always wondered what is serialized in the PageSettings blob (stored by the PersonalizationProviders). Is it some kind of dictonary containing WebPart ...
Can I know what saved in pagesettings on ... The colum pagesettings of the ASPNET_PERSONALIZATIONPERUSER table, save a Serialized data blob that I don´t understand. ...
My.Settings save - MSDN Forums Jan 27, 2006 ... PageSettings can not be serialize back. To test this, I serialized a PageSettings, then try to deserialize it back. It gave me an exception. ...
ReportViewer & PageSettings.HardMarginX How do I teach ReportViewer to take PageSettings.HardMarginX ... Tactics for Debugging Custom Components with CodeDom Serialized State ...
Web Parts Personalization Providers State is persisted as a serialized blob in the PageSettings field. The PathId and UserId fields store scoping data, while LastUpdatedDate stores time stamps ...
CodeProject: TabText. Free source code and programming help Also will be saved the page settings of the PageSetupDialog for every TabPage . ... To get back the pages from a serialized file, you must work in the same ...
Using WebParts in ASP.Net 2.0 Feb 28, 2007 ... The table aspnet_PersonalizationPerUser is used to saves the page settings for every user. It is saved in serialized format, ...
15 Seconds : Introduction to Web Parts in ASP.NET 2.0 The aspnet_PersonalizationPerUser table saves page settings according to userid. Page settings are saved in a serialized format, in the PageSettings field. ...
[Mono-patches] mcs/class/System.Drawing/System.Drawing.Printing ... /// [Serializable] public sealed class PrintingPermission ... pageSettings = pageSettings; // } // public PageSettings PageSettings { // get{ ...
TheMSsForum.com >> Csharp >> how to hide tabpage header C# windows ... I'm serializing a PageSettings object and storing using Isolated Storage. When trying to load the PageSettings I'm getting a FileNotFoundException. ...




Search This Site:










seeking dnn module developers

ibuyspy portal vs. portal starter kit

printing a thread

encryting passwords and database security--please help

sams teach yourself asp.net in 24 hours

i lost the resxresourcewriter?

disabling postback of a button

c# code behind event handler issue

change from hyperlink to linkbutton

edit and continue not working

inserting data

html header/library file

validate serial key in setup project

something like firewall

retrieve roles for a user in ldap

upgrade dotnetnuke from 3.1.1 to 3.2.0 issues

set date on calendar in a formview template

search function woes

a better way?

service unavailable error: finding the root cause, need help!

how to know if a username exists in asp.net 2.0?

what this mean, plz?????????!!!!!!!!!!...

review/comparison/test of .net portals

please help! vs2005 and vss issues, web project seems so different!

i recived error when i try to edit content in modul

dnn and webservices

strange try/catch error

non-persistent cookie

could not find exported project template under my templates when creating a new site

horizontal sub menu

 
All Times Are GMT