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


Similar Messages:

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

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 :: 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 :: 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 :: Web Parts Connection / Server Error In '/ Webparts' Application?

Feb 26, 2010

I am using ASP.NET 2.0 and SQL Server 2005. I am new in web parts.I used simple calender control in web part zone it is showing an error.web part manager is also in web page.

I did not use any database connection .

Server Error in '/Webparts' Application.

--------------------------------------------------------------------------------

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not 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. Please 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 2 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 :: Enabling Client Caching Of Part Of A Page That Is Changing Often In Some Parts But Not Others?

May 24, 2010

Let's say you had a page like an eBay auction, where some of the content (top bidder, bids, history, etc) needed to be up to date but other sections would likely never change, like the description. I'd like to know the "right" method for getting that static section cached.

The "cheezy" solution would be to code it up in a separate javascript .js file as a bunch of "document.writeln()" calls, but that's plain evil and ugly.

If I made it a Content section of a master page, that might get it cached at the server, but the client has no way to know that this particular section of the page will never change.

I could IFRAME it but I don't always know the dimensions.

I'm sure this has all been done before, and as much as I love my own wheels, I'd rather not reinvent this one :-)

View 2 Replies

Web Forms :: Define Reusable Master Page Type To Reuse Parts Of The Master Page?

Jan 5, 2011

My Project is a normal web site, not a Web Project, and I am using VS 2005.

I am trying to define common Master Page Type in app_code which has an area to display error messages and the like. Very simple.

I added the following in app_code:

[Code]....

Also, I added the following in Master Page Source Declaration:

[Code]....

Also, I added the controls tblrowErrMsg and lblErrMsg as server controls to the Master Page.

Why I am doing this ?

This will allow me to display error messages from nearly any where inside the code in code-behined, app_code, and other core Class Projects (DLL).

View 4 Replies

Develop A Page Where Individual Section Will Load With Busy Icon When Page Loads Without Using Web Parts?

Feb 11, 2011

i have seen many site where individual web parts load with busy icon when page loads. without using web parts how can develop a page where individual section will load with busy icon when page loads.

View 1 Replies

Control Initial Enabled State For Dependant Controls That Are Enabled / Disabled By JQuery?

Jan 3, 2010

So far, I've seen (and I'm using the following) scripts to show/hide a div or other controls depending on another control in ASP.NET

$('[id$=myRadio_0]').click(function() { $('[id$=myDiv]').show(); });
$('[id$=myRadio_1]').click(function() { $('[id$=myDiv]').hide(); });
and of course, my div in html like
<div id="myDiv" runat="server" visible="false">

and that works fine when the user selects either option of the radiobuttonlist. However, when I assign that radiobuttonlist a value of 1 or yes on my Page_Load on code behind, that isn't (and probably can't be) caught by jQuery, and my div remains invisible even though the control has a value of Yes/1. So, do I need to set the visibility of that div from code behind, or is there a way in jQuery to force a scan of these dependencies after i've set the values for the main controls in code behind?

View 1 Replies

C# - How To Load Different Parts Of The Page Asynchronously Instead Of Waiting For The Whole Page

Mar 31, 2011

I'm working on an ASP.net application in which I've multiple web parts in a page. Each web part has its own data source pulling data from them and showing it. When a user tries to load the page I want to load the page instantly and asynchronously render all the web parts with the data.

View 1 Replies

Web Forms :: Page Cannot Be Run In Debug Mode Because Debugging Is Not Enabled

May 7, 2015

I have doubt in debug, What will be modified in web.config and cause any loss in data? As I am using without debugging till now.

View 1 Replies

C# - Updating Different Parts Of An MVC Page At Once?

Jan 16, 2010

i want to update different areas of my MVC page after one action (say a click) occurs.

how, i use ajax, and wrapping the entire area where all these parts need to be updated is counter intuitive as the ajax data being sent back would be close to the entire page.

so, i have a few partial views, - but the problem is, each action only returns one view! how can i return multiple views from this one action?

i know a popular solution is to just hammer the server with multiple async javascript ajax requests for each "part" of the view, but this really is unnecessary and inefficient, reconstructing and destroying the page (say) 5 times for just one action, when it should just occur once, and once it does, the server should manage all the partial views then and there.

View 3 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

How To Three Panel Web Parts Page Accomplished

Jul 7, 2010

I am setting up an asp.net web parts portal for some stuff. I have a [hopefully] really easy question. How can I make the page have 3 major columns?

Right now I have two columns using <div id="leftpanel" style="float: left"> and <div id="rightpanel" style="float: right">. But I cannot figure out how to get a panel in the center. The right panel is basically in the center and there is not a css float: middle/center. So how is a three panel web parts page accomplished?

View 6 Replies

How To Create Some Parts Of Page Dynamically

Mar 22, 2011

I want to create some parts of my page dynamically.

in fact I want when the user uploads some photos, dynamic parts of the page for viewing thumbs and entering captions will be created (like facebook)

View 3 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

AJAX :: Running Enabled Web Application Developed Using Vs2008 - Getting Error

Jan 5, 2010

I have developed the asp.net 3.5 ajax enabled web application and it is working well for me. i have included ajaxtoolkit dll and used the ajax tool kit controls in my application. And i copied the application source to another computer and open in visual studio 2008. i have installed the asp.net 3.5 in this computer. now the problem is, when i run the application getting error in web.config file. the error is in script. i guess the issue is because of ajax. what i need to do. should i install the ajax latest version in this machine. if so, where can i download the ajax latest version.

View 2 Replies

How To Combine Silverlight Parts Into A Page / Project

Mar 19, 2010

I would like to create a dot net page and combine in it some silverlight parts / elements...

how to do that?

View 4 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







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