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?
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.
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am publishing a portal template.
I want to develop a WebPart and make some settings configurable (just like we can configure parameters for a console application in app.config)
For example, authorized users could set parameters of WebPart in Edit Page (from browser based UI interface), then Select -> Modify WebPart properties, or edit parameters in SharePoint Designer.
The parameters would be application specific parameters.
We have many different clients, and each client can have multiple user accounts.Right now, we have user settings set up on the ASP project, and a WinForms application can see these settings, depending on which user logs into the winforms application. They are specific to the user. I want to make them specific to the client, so users can be in "groups" by their client, and all users in the group would see/update the same settings.
I'm using the built-in membership in my ASP.NET Web Forms 4 app.
I'm also using the PasswordRecovery control for handling users who have forgotten their passwords. Before I reinvent the wheel, I've decided to post this question.
As one can imagine, in most cases, people give it a few tries before requesting a password change. Of course in the process, they lock out their accounts. The problem is that password recovery does not work for locked out accounts.
How do I first unlock the account if I'm using PasswordRecovery control?
RegularExpresssoinValidator. I want to use it in a field where users enter URLs. I not only want to make sure that it's a valid URL but I also want to make sure that it's only those sites that are allowed.Let's say, I want my users to enter only YouTube or CNN URLs. How do I use the RegularExpressionValidator for this?
In our IIS (v 6.0) there is one classic ASP app deployed, which has around 35 concurrent users. Now, a new ASP.NET(3.5) app needs to be deployed on the same server which will have its own 50 concurrent users. In this scenario should we create a Application Pool for this new .net app? What are other recommendations for the IIS settings in future?
I have a E-Shop Site and I need some customization for my users like following :
Store favorite products in their own basket.Customize products list in order to what are their favorite. It must remember their basket next time they want to visit our site.
my question is how I can store information for my customers who are new to my web site also most of customers don't like to have username and password then login first they like to buy during a week and at the end of week pay for them then we can send some products to their locations.
I have already written my application using asp.net with framework 4.0.
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
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.
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
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?
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
When a user that has their IE set to save passwords hits my "Reset Password" form, the first text box set with TextMode set to "Password" is populated with the users saved password. Understandable, this is not the affect I would like as this is their "old" password. I cannot set the text of a text box with mode set to "Password" (naturally). Does someone know how to suppress or clear this value when IE is saving passwords?
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.
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.
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.
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 ?
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)
I use Visual web developer express 2010, with sql server express.
I followed all the instruction to build a simple page with webparts. I added the webpart manager, webpart zone, zone template and added my user control or asp controls inside.
The webparts look as they suppose to in design view, but when I run the application and see the page in the browser (explorer 8 Or Chrome) the webparts look like cells in table: Static, with no menu that will allow the user to minimize or to close the webpart. None of the webparts have the small triangle menu icon.
i created a webpart in default.aspx page. i am trying to access the html code of the default.aspx page from an html file using javascript. When trying to access a javascript error is displayed 'webpartmanager' is undefined. the functionality i am trying to achieve is i want to call all the webparts created in default.aspx page from html page and do all the drag drop, minimize, close in html page.