Web Forms :: WebPart Feature For Administrators Only

Mar 5, 2010

I need to set the webpart to administrators only. How can I allow only shared scope. User scope is not allowed even for administrators.

View 1 Replies


Similar Messages:

Web Forms :: Deployed Project Not Showing Webpart Verb Tool Bar (minimize, Close Buttons Of WebPart)

Jan 4, 2011

I am just started development in ASP.NET.

I have created one sample application for WebParts. It is working fine when I run it from Visual Studio or local environment.

But when, I have publish file in IIS virtual directory (in my PC or same PC) at that time it is stop showing Verb tool bar (minimize, close buttons of WebPart).

View 1 Replies

C# - Reload The Information Of The Sharepoint 2007 Webpart After A Button Is Clicked From Another Webpart?

Dec 29, 2010

I am new in sharepoint development. I have 2 webparts attached on a page. The first webpart (MyTestingWebpart1) basically it does only inserting of data and the other webpart (MyTestingWebpart[2]) displays the records from the database. Now my problem is when I try to click on the save button, somehow I don't know how to refresh the webpart that displays the newly inserted record. Is this possible?

I have added a query at the page load event of MyTestingWebPart[2]. Both of the webparts attached are web user controls.

View 2 Replies

Registration - Email Sent To Administrators For Activation

Jan 21, 2010

I found a tutorial on how to setup a user will be emailed an activation link when registering [URL]. What I want is modify it so that the email is sent to the administrators for activation.

View 9 Replies

Security :: Notify Administrators About New User Registration

Jan 29, 2010

I want to enable newly registered users on a site. I have figured out to put "DisableCreatedUser="True"" on the CreateUserWizard. What I have no idea about is how to have an email sent to the administrators email to notify them that a new user has registered.

View 1 Replies

Allowing Administrators To Change SQL Server Connection?

Apr 7, 2010

What is your opinion on allowing administrators to update the SQL Server Connection string dynamically from the application versus just showing them the connection details in the application? Because the database connection is so important and on a heavily used system the abrupt change to the connection seems like it could cause problems. However I would think displaying the server and catalog and whether the connection is using SSPI or SQL Auth could be helpful for administrators who don't like playing with .NET config files.

View 4 Replies

Security :: Custom NEW User Setup Which Build To Allow System Administrators To Setup Users?

Sep 21, 2010

I'm having trouble setting up a custom NEW User Screen. Here is my situation, I have a Request for Access Screen that uses the CreateNewUser Wizard Control. I want to leave the Question and Answer for this, however I also want a custom NEW User Setup which I build myself to allow the system administrators to setup users, but for this setup I don't want the administrators to have to pick the question and answer for the NEW user, so I would like to bypass this for this setup. However, my Membership.CreateUser keeps asking for it. How can I accomplish this? I've included a copy of my current web.config file. You will notice a AspNetAdminMemberhip which I use to allow the System Administrators to reset passwords.

<?
<
<
<
<
<
<
<
<
</
</
</
</
<
<
<
<
</
<
<
<
<

xml
version="1.0"?><configuration>configSections>sectionGroup
name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">sectionGroup
name="scripting"
type="System.Web.Configuration.ScriptingSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">section
name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
requirePermission="false"
allowDefinition="MachineToApplication"/>sectionGroup
name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">section
name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
requirePermission="false"
allowDefinition="Everywhere"/>section
name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
requirePermission="false"
allowDefinition="MachineToApplication"/>section
name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
requirePermission="false"
allowDefinition="MachineToApplication"/>sectionGroup>sectionGroup>sectionGroup>configSections>connectionStrings>add
name="LBX_ChangeControlConnectionString"
connectionString="Data
Source=10.31.30.26;Initial Catalog=LBX_ChangeControl;Persist Security Info=True;User ID=sa;Password=wstinol"
providerName="System.Data.SqlClient"/>remove
name="LocalSqlServer"/>add
name="LocalSqlServer"
connectionString="Data
Source=10.31.30.26;Initial Catalog=LBX_ChangeControl;Persist Security Info=True;User ID=sa;Password=wstinol"
providerName="System.Data.SqlClient"/>connectionStrings>system.web>membership>providers>add
name="AspNetAdminMembership"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="LocalSqlServer"
applicationName="/"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
enablePasswordRetrieval="false"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="8"
minRequiredNonalphanumericCharacters="1"
/>
</
</
<
<
<
<
<
<
<
<
providers>membership>roleManager
enabled="true"/>authentication
mode="Forms"/>profile
enabled="true">properties>add
name="FirstName"
type="string"/>add
name="LastName"
type="string"/>add
name="Gender"
type="string"/>add
name="ProfileImageID"
type="string"/>add
name="Department"
type="string"/>add
name="PhoneNumber"
type="string"/>properties>profile>pages>controls>add
tagPrefix="asp"
namespace="System.Web.UI"
assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>controls>pages>
Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this affects performance, set this value to true only during development.

<
<
<
<
<
<
</
<
<

-->compilation
debug="true">assemblies>add
assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>add
assembly="System.Design,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>add
assembly="System.Web.Extensions.Design,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>add
assembly="System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><add
assembly="CrystalDecisions.CrystalReports.Engine,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.ReportSource,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Shared,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Web,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.ReportAppServer.ClientDoc,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Enterprise.Framework,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Enterprise.InfoStore,
Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>compilation>httpHandlers>remove
verb="*"
path="*.asmx"/>add
verb="*"
path="*.asmx"
validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>add
verb="*"
path="*_AppService.axd"
validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>add
verb="GET,HEAD"
path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
validate="false"/>add
verb="GET"
path="CrystalImageHandler.aspx"
type="CrystalDecisions.Web.CrystalImageHandler,
CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>httpModules>add
name="ScriptModule"
type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>httpModules>system.web>system.webServer>validation
validateIntegratedModeConfiguration="false"/>modules>add
name="ScriptModule"
preCondition="integratedMode"
type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>modules>handlers>remove
name="WebServiceHandlerFactory-Integrated"/>add
name="ScriptHandlerFactory"
verb="*"
path="*.asmx"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>add
name="ScriptHandlerFactoryAppServices"
verb="*"
path="*_AppService.axd"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>add
name="ScriptResource"
preCondition="integratedMode"
verb="GET,HEAD"
path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>handlers>system.webServer>location
allowOverride="true"
inheritInChildApplications="true">appSettings>add
key="CrystalImageCleaner-AutoStart"
value="true"
/>add
key="CrystalImageCleaner-Sleep"
value="60000"
/>add
key="CrystalImageCleaner-Age"
value="120000"
/>appSettings>location>system.net>mailSettings>smtp
from="Lockbox@tdbanknorth.com">network
host="ME6AWMAIL01.bkng.net"
password=""
userName=""
/>smtp>mailSettings>system.net>configuration>

View 1 Replies

Web Forms :: WebPart Drag And Drop?

Feb 17, 2011

I cannot get the Drag and Drop functionality of Web Parts is to work. I have a very simple test page with two WebPartZones.. In the OnInit method of the code behind I put the page in design mode. In the first zone I have a textbox.At runtime the text box renders as a web part. When I hover over the web part header my mouse pointer changes the 'move' pointer, but I cannot drag the item. I do not see it dragging and the part never moved. I am using Visual Studio 2010 with IE 8. I have tried IE8 in compatibility mode and regular mode. The results are the same. Here is the markup from my test page:

<form id="form1" runat="server">
<div>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<asp:WebPartZone ID="LEFT" runat="server">
<ZoneTemplate>
<asp:TextBox ID="tb" runat="server" />
</ZoneTemplate>
</asp:WebPartZone>
aa
<asp:WebPartZone ID="RIGHT" runat="server">
</asp:WebPartZone>
aa
<asp:EditorZone ID="EditorZone1" runat="server">
</asp:EditorZone>
</div>
</form>

Here is the code behind:

protected override void OnInit(EventArgs e)
{
base.OnInit(e);
WebPartManager mgr = WebPartManager.GetCurrentWebPartManager(this);
mgr.DisplayMode = WebPartManager.DesignDisplayMode;
}

What am I missing?

View 2 Replies

Web Forms :: How To Set Background Color Of Webpart

Feb 15, 2011

I am trying to set different backgroundcolor of each webpart title. But unable to do that.

View 1 Replies

Web Forms :: How To Add Button (Verb) To WebPart

Jan 13, 2011

I seen some posts, some MSDN Materials...uh...Basically what i observed is every is creating a user control and adding it tot the web part..

I had a doubt that can we add button directly to the webpart in the title Zone? If yes how?

provide a simple example for adding custom verbs to the WebPart.

View 1 Replies

Web Forms :: Single Instance Of A Webpart

Mar 12, 2010

Is it possible to restrict users from adding more than one isntance of a webpart on a page?

View 1 Replies

Web Forms :: In Webpart Getting Only Browse Mode?

Apr 13, 2010

I have written the code for webpart in my VS 2005 and i am getting all the mode like(Browse,Desing,Edit etc..)but when i put that wesbite in my local IIS , and when run it i am getting only the browse optionbelow is the for loop code

[Code]....

tell what is the problem, in my vs 2005 enviorment i am getting all the option, but in local IIS i am getting only browse option

View 1 Replies

Web Forms :: Gridview Inside Webpart In C#?

Jan 1, 2010

I am trying to read the data from XMLDataSource into a gridview (in asp.net). It works when I perform below logic:

Dim ds As New DataSet()
ds.ReadXml(Server.MapPath("LoadData.xml"))
GridView1.DataSource = ds.Tables(0)
GridView1.DataBind()
and I hardcoded the resultant hyperlinks inside the GridView with some name using the following exp: (and it works).....

But when i embed the griview inside a webpart , configure the datasource, I am not able to read the data from the XMLDataSource. I get the following error: The DataSourceID of "GridView1" must be the ID of a control of type IDataSource. A control with ID "XMLDataSource1" could not be found.

View 3 Replies

Web Forms :: Cannot Get Dynamic Webpart Data

Apr 7, 2010

I get a problem in rendering dynamic webpart data. Firstly, I add a user control as webpart to a WebPartZone control by WebPartMnager.AddMethod() And then, it returns a WebPart object (adding method OK) -> No problem here it also shows the user control on my page. Everything look like perfect. aspnet_Paths and aspnet_PersonalizationAllUsers table also have data -> No problem here

You can see this photo : [URL] However, when I re-start browser or re-load my current page (ctrl + F5) then the user control which I added is disappear. You can see this photo : [URL]....................

View 6 Replies

Web Forms :: Inline Editing On A Webpart?

Jan 16, 2011

Is in-line editing possible on a webpart??I would like to enable a user to directly edit text within a webpart, without a postback and without launching its editor.Can someone show me how this would be done? How would I save the content using a callback?

View 2 Replies

Web Forms :: Adding Webpart Dynamically?

Mar 27, 2011

I have a custom webpart which i am adding to webpartzone dynamically.., in the custom webpart am loading a usercontrol which has Gridview in it with data. On the page load it is working fine, when i click the paging button of the gridview , then nothing is visible on the page...

View 4 Replies

Web Forms :: WebPart - Smooth Transition Between Zones?

Jan 12, 2011

I would like to achieve a nice smooth transition when the user moves controls between the WebPartZones similar to how iGoogle implements it. I've not yet been able to achieve this - the transition is very jumpy and not very smooth (I cannot use SilverLight).

Has anybody achieved this using WepPartZones without the use of SilverLight?

View 1 Replies

Web Forms :: Minimize WebPart ChromeState On Page_Load ?

Jan 5, 2010

I just have one quick question concerning WebPart ChromeStates; we have several WebPartZones in a page. Management now has this requirement: all webpart chromestates should be set to Minimized on Page_Load, whatever the last saved state is. In fact, it
is better that it doesn't remember it's saved state at all. Problem is, if we close the page with one or more WebPartZones ChromeState set to Restore / Normal, the next time the page is loaded, it remembers those states. We just wanted it to be minimized
on each page load.

We have already set profile AutoSaveEnabled to False, set each WebPart ChromeState to Minimized on each Page Load via code-behind, Reset Personalization Settings on each page load, and all other things I have researched in the forums, yet, it still retains.it's last state upon browser close. We use IE 6 exclusively, and we are not allowed to upgrade to 7 or 8.

View 2 Replies

Web Forms :: WebPart With Pager - Page Won't Load

May 3, 2010

I have a similar scenario. Sharepoint --> Ascx Control Webpart --> ListView w DataPager. The thing is, when I use the QueryStringField everything works ok. The Pages, clicks, etc... The problem is that when you use QueryStringField(QSF) it reloads all the page when you navigate through pages (this is because it builds different urls using the QSF). Everything ok until now.

As I have other webparts in the same page that interact with this one, I don't want a full render of the page because the other webpart reloads entirely. So, if I take out the QSF the link to pages appear but when I click on them they won't load.

View 1 Replies

Web Forms :: How To Control The Title / Border And Others In A Webpart

Feb 7, 2011

how can I control the border ( currently it displays thin-line border) and control the display of heading (currently it display 'untitled') and other similar features.

<asp:WebPartManager ID="WebPartManager1" runat="server">
<Personalization Enabled="False" />
</asp:WebPartManager>
<asp:WebPartZone ID="WebPartZone1" runat="server" BorderColor="#CCCCCC"
Font-Names="Verdana" Padding="6">
<EmptyZoneTextStyle Font-Size="0.8em" />
<PartStyle Font-Size="0.8em" ForeColor="#333333" />
<TitleBarVerbStyle Font-Size="0.6em" Font-Underline="False" ForeColor="White" />
<MenuLabelHoverStyle ForeColor="#D1DDF1" />
<MenuPopupStyle BackColor="#507CD1" BorderColor="#CCCCCC" BorderWidth="1px"
Font-Names="Verdana" Font-Size="0.6em" />
<MenuVerbStyle BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
ForeColor="White" />
<PartTitleStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.8em"
ForeColor="White" />
<ZoneTemplate>
<site:AboutUs ID="AboutUSControl" runat="server" />
</ZoneTemplate>
<MenuVerbHoverStyle BackColor="#EFF3FB" BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" ForeColor="#333333" />
<PartChromeStyle BackColor="#EFF3FB" BorderColor="#D1DDF1" Font-Names="Verdana"
ForeColor="#333333" />
<HeaderStyle Font-Size="0.7em" ForeColor="#CCCCCC" HorizontalAlign="Center" />
<MenuLabelStyle ForeColor="White" />
</asp:WebPartZone>

View 3 Replies

Web Forms :: Change Webpart List In DeclarativeCatalogPart?

Sep 28, 2010

When users choose webpart, I want different users have different choices.

For example, User A can see Webpart A in the catalog,

User B can see WebPart B in the catalog.

How to write code for this?

View 1 Replies

Web Forms :: Disabling WebPart Checkbox In DeclarativeCatalogPart?

Jan 18, 2011

I have read through a number of posts but cannot find solution to my requirement. I need

1. Use DeclarativeCatalogPart to list ALL my webparts. I do not want to use PageCatalogPart because I want the user to always see ALL web parts available in the catalog, regardless if they are closed or not.

2. Disable the checkbox in DeclarativeCatalogPart for the WebParts that already exist on the page.

I wrote all the code to determine if WebPart exists, but I cannot figure out how to get access to that checkbox next to each WebPart.

View 1 Replies

Web Forms :: Get Webpart Underlying Control And Add It To Panel

Aug 12, 2010

[Code]....

I get the error : Cannot modify the controls collection of a GenericWebPart. To create a new GenericWebPart, use the WebPartManager.CreateWebPart() method

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 :: Configure Webpart Page For All Users?

Jan 13, 2010

I have a problem when config webpart page for all users.

I created a web application with webpart and using account (in table aspnet_Users) to manager web part in webpart page .

After deploy and public then user (that not login) not see webpart.

config webpart for all users (include user not login)

View 4 Replies







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