Web Forms :: How To Use Web Parts Personalization

May 22, 2010

I am working with webpart. I have developed webpart but has some issues in managing its personalization/personal settings.

For example when user A gets logged in and personalize any webpart. Then uer B gets logged so it should have default webpart setting or own personal setting webpart.

I am referring following site:

[URL]

kindly tell how to use these methods or others which are present in sqlprovider

1) SavePersonalizationBlob

2) LoadPersonalizationBlobs

Is there any tutorials or example to help me or any1 can have idea or example etc to

View 2 Replies


Similar Messages:

Web Forms :: Changing Web Parts Personalization For All Users

Sep 9, 2010

i have a situation like this, hope u can help me sort it out.

I am going to develop a portal by using all web part page and many customize web part.

BUt the personalization of the web part layout only allow modify by administrator, that means the web site is not going to personalize by public user even in drag and drop function. They just can see a normal web site..

So, in the web config file, what should i set so that the authenticate administrator can change it to effects all the user.

View 1 Replies

Web Forms :: Web Parts - Personalization Provider As Oracle 10g Database

May 12, 2010

I am currently in the process of doing a feasibility study of using web parts in one of our company's intranet portal. The challenge that I am facing is that I would like to use the organization's existing oracle database as the personalization provider instead of aspnetdb sqlexpress database. I tried to looking for some sample code but we could not find any. In the MSDN, I found one article where it is using textfile as a provider, but this does not solve my purpose here. I am new to web parts. Request you to share with me some sample code to achieve this.

I am using Visual studio 2005 and Oracle 10g database.

View 2 Replies

Web Forms :: Web Parts Page Error / Personalization Is Not Enabled And Modifiable?

Mar 26, 2010

I am working on a VWD Walkthrough: Creating a Web Parts Page in VWD, [URL]Here I created a user control, DisplayModeMenu.ascx. Somehow, when running this webpage, the DropDownList of this user control showed only a Browse selection, no Edit selection. Clicking the "Reset User State" link showed the following error message.

The Walkthrough did not list any information on setting up the "ASP.NET Web Site Administration Tool" or additional tags on Web.config. How can I fix the errors?

BTW, is it true that User Control is not recommended for VS 2005/8 any more.

Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be selected. The current user must be granted the right to modify personalization state.

View 5 Replies

Web Forms :: Crop And Split Image Into Parts And Then Save Parts Of Image In C#

Mar 22, 2013

How to Divide image in two parts like I have an image which width x Height = 16 x 32.

And I want to split image in two images 16x 16 and 16x 16.

How can i do it?

View 1 Replies

Web Forms :: Creating A Personalization Provider?

Mar 8, 2010

I am tring to create a proersonalization provider that retrievs all webparts of a current page, plus, all the webparts that named "MyWebPartGroup".

[Code]....

View 1 Replies

Web Forms :: Avoiding Personalization Data For Whole Web Page

Jul 29, 2010

I have a web parts page in which each web part has its own personalization data(list of DB table primary keys). At startup, I want to get thecombined data stored in each web part to make a query in the background. Is it possible ? Currently I have to wait for IPersonalizationData.Load for each web part to get what keys are stored by each. Is there a way to store personalization data for the whole page ? I can't use profile as this data is not per user. Worst case is write to a file which I want to avoid if possible.

View 2 Replies

Web Forms :: WebPart Personalization Resetting/Getting Lost

Mar 25, 2010

I have spent days trying to research this to figure out what is going on. I tried changing most of the settings in IE8 (both users are using IE8 but I have no idea if it does it IE7 or Firefox too) , logging in and out as different users, closing, opening, deleting internet files, and it won't break. They have the site in the Trusted Sites list. They don't have trouble with it dropping their Forms Authentication either, so it isn't losing authentication.The admin user suggested it had something to do with her having multiple tabs and sessions open. But I tried all of that, and it never broke. I have seen erratic behavior on occasion if a rogue IE8 process doesn't exit properly

View 2 Replies

Web Forms :: Access Another User's Personalization Data?

Jun 8, 2010

I have a shopping website, I want to save all the user information (e.g templates, color preferences, shopping cart data, previous page, order number etc..) in SQL server.

For this either I can create my own functionality which will log everything to some sql database table and later that table can be used to show filtered reports to the admin.

Or I can use asp.net's built-in personalization concept. But in case I am using the personalization, can I/admin fetch the presonalization data of another user for reporting purpose?

Also, is personalization is the right approach to fulfull my requirements?

View 3 Replies

Web Forms :: WebPart Personalization Buttons Disappeared?

Jan 23, 2011

I'm working with web parts in asp.net and every thing is working great in development environment,but in published environment the personalization buttons (RestoreVerb & CloseVerb & design mode) disappeared,i try it on win server 2003 and IIS6 working fine but on win server 2008 and IIS7 doesn't work.

to be more clear

on Development Environment
On Publiedhed Environment

View 1 Replies

Web Forms :: Webparts Reset All Users Personalization Settings?

Feb 15, 2011

I'm looking at asp:webpart to implement some personalization on a startpage for a insurance web app.(no Sharepoint) I have read some and made some tests but I have at least one thing that I don't understand.

In some cases I wanted to reset all users personalizations to the page default settings. So to speak, I will do it in an authoritarian way.

How can I do this? Database manipulation? Which table in the database? Or is there another way?

View 2 Replies

Web Forms :: Personalization Properties Inside User Control?

Mar 19, 2010

I have a webpart that loads in a user control programmatically. Although the webpart has personalization properties that I can use and pass to the user control, I haven't found a way for the user control to be able to update the outer webpart's properties -- the user control knows nothing of its parent webpart except what it is given. When I try to use the [Personalizable] attribute on a property inside the user control, it doesn't work; it doesn't save anything to the personalization database. In a nutshell, I need the user control to be able to personalize its properties (e.g. for a date picker within the user control where the date has to be remembered between sessions) or to somehow be able to update its parent webpart's properties.

View 3 Replies

Web Forms :: Checking Web Part Manager Personalization Mode In JavaScript

Mar 15, 2010

On my web part page I use a JavaScript timer to call a Page Method to check if data has changed and then only I refresh the page. Now I want to disable that JavaScript timer when the web part page is in shared personalization mode. Then when web part page is again in BrowseDisplayMode, I want to reenable the timer to poll for updates. How do I access web part manager personalization mode in the client side JavaScript ? Do I need to use a hidden file in UpdatePanel ?

View 3 Replies

Personalization Be Done Using SQL Server 2000?

Jun 29, 2010

I am using SQL Server 2000 and ASP.NET 3.5.
I want to implement WebParts in my site. But while running my code it shows me an error :

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

View 1 Replies

MVC :: How To Implement Custom Authentication And Personalization Providers

Mar 24, 2010

i am in the process of developing an asp.net mvc 2 social web app and some of the requirements have to do with users authentication and personalization. Site visitors should be able to login using credentials not only by registering to my site but also by entering external account credentials (Live ID, facebook, etc...). Also, users should have a custom profile, where they could enter personal details, preferences, etc...

Is there any good tutorial on how to implement custom membership and profile providers? The default Role provider that comes with asp.net mvc is ok and does not need to be re-implemented.

View 5 Replies

Web Forms :: Beginning Web Parts?

Mar 3, 2010

This is my first time working with web parts. Was wondering if anyone can show me how to create a new webpart project in VS2008. I don't see any options for creating a "web part template" when I go to create a new project.

View 2 Replies

Web Forms :: Getting Parts Error With Asp 2.0

Sep 27, 2010

I am having trouble with ASP.NET and trying to use web parts. I am receiving and error. I am using VS 2008, with ASP.NET 2.0. I create a new project and add the webpart manager and then the webpartzone. I build and run the project and receive the error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

SQLExpress database file auto-creation error:

The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:

If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory if it does not already exist. If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database. Sql Server Express must be installed on the machine. The process identity for the web server account must have a local user profile. See the readme document for details on how to create a local user profile for both machine and domain accounts.........................

View 1 Replies

Web Forms :: Organizing Web Parts On .net Form

Jul 18, 2010

I have form and i'm using web parts for asp.net.I want the first web part the stretch the entire width and on the second row I have 2 small web parts to on the second row

<big web part>

<second><third>

But, I can't get the 2nd and third web parts to be on the same line. [Code]....

View 7 Replies

Web Forms :: Web Parts To Be Of Same Height And Width?

Aug 6, 2010

I am using web parts in my web page( ASP.NET 2.0 and C#).

The contents of these web parts vary in size. For example, one web part has calendar control, another web part has the File Upload control.

I have added the web parts under "td" tag. So the web parts are of different sizes now, I want to make the webparts to be of same height and width, regardless of the content available.

How to set the height and width to be same for all web parts regardless of the content available in the webparts.

Also, when I web page is running, I am able to "WebPartZone1" which is the Id in the page. How to hide that name from appearing.

View 1 Replies

Web Forms :: Web Parts - Can't Get All The Display Modes

Oct 16, 2010

I am studying for the 70-562 examination and I came to the web part section.

I was trying to do the exercises presented in the Microsoft's book for this examination, but there is a part where I have to gather all the Display

[Code]....

View 1 Replies

Web Forms :: Avoid Using Of ASPNETDB.MDF For Web Parts?

Dec 18, 2010

I would like to know if it's possible not to use ASPNETDB.MDF file for the web parts.I don't want to store any data in ASPNETDB.MDF, I would like to remove that file, I tried delete it, but every time I compile my project, ASPNETDB.MDF creates it self automatically.

View 2 Replies

Web Forms :: Web Parts - Best Suited For Project Or Not?

Jan 7, 2010

I'm starting a web project where I would like to have the minimize/collapse functionality of the Web Parts. In a future version I would like to let the user move the modules around and add and remove modules to/from the page, but not right now. The users don't have to be authenticated to use the portal and if they are, I can't use the built in authorize functions. My questions are: should I use Web Parts, or should I just use Web User Controls? Is there other libraries, similar to Web Parts, that are better suited for my use?

View 2 Replies

Web Forms :: Table Does Contain Information About Web Parts?

Feb 9, 2011

Which table does contain information about web parts?

For example: if I minimize web part zone and I again connect to my web application (even after server restart) this web part zone still will be minimized.

In which table this information is stored?

View 3 Replies

Web Forms :: Tableless Layout Web Parts?

May 20, 2010

I know this topic has been visited before, but most of the posts I saw were 3+ years old [1]. I just tested adding a WebPartManager and a WebPartZone to an ASP.NET 4.0 site and was dismayed to see it still dumped out a table.Is the preferred way to get a tableless web part layout to use a ControlAdapter? Is there a more modern UI composition framework for ASP.NET that other have good success with, or has everyone just moved to MVC? I am building an application where the (non-technical)by dragging & dropping widgets around.

View 1 Replies

Web Forms :: How To Enable All Display Modes In Web Parts

Dec 20, 2010

I encountered with some strange behaver in web parts. I have a web parts, and everything works fine locally, on my computer, but when I uploading it to the web server I have only one mode off display mode, the browse mode. The edit mode and design mode are disappeared.

I don't have any users.

I have tried to add the SharedScope, but didn't succeed yet, this is what I add in web.config:

[Code]....

And that what I add to the Page_Load:

[Code]....

I still can't see any other display modes.

<webParts>

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved