Web Forms :: Webparts Appear With No Menu?

Aug 6, 2010

I'm learning about webparts in asp.net.

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.

Attached is my code.

[Code]....

View 3 Replies


Similar Messages:

Web Forms :: What Is The Differences Between WebParts 2.0 To 3.5

Mar 22, 2010

I think that I am confuse here. Now I am using WebParts as they being used on 2.0 framework (like they are using on TheBeerHouse kit)

But in most of the forums they talk about SharePoint. Does sharepoint means webparts as I know them, or this is a new version of the webparts?

View 4 Replies

Web Forms :: Call Webparts Using Javascript

Feb 18, 2010

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.

View 1 Replies

Web Forms :: Multipage Webparts Without Masterpages?

Sep 22, 2010

Im looking for a way to add a naviagtion webpart to multiple pages via the catalog part - without using masterpages.

View 3 Replies

Web Forms :: Display Mode In Webparts?

Mar 24, 2010

I am trying to create a webparts in .net 3.5 but in display mode its showing only browse not design.

my code is as follows,

this is ascx.cs page

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;

[Code]....

View 5 Replies

Web Forms :: Unable To Move WebParts Between Zones

Apr 26, 2010

We have a generic site which we deploy to clients and they personalise the text using the web parts. The problem we are currently experiencing is that they are unable to move web-parts between zones. This is not a JS issue as no errors are being thrown and this is not a CSS issue either, as we re-deployed the website here on our own server and it works perfectly fine. On our client's site, we can drag parts around in the zone it is in, however when we try to move a part out of that zone, we are given a circle cursor with a line through it. Adding parts to a zone is not an issue.

This could perhaps be linked to a previous issue of being unable to view any editable parts of a webpart. I resolved this by removing all the WebPersonalization from the WebPersonalization table in our MSSQL database.

View 2 Replies

Web Forms :: How To Send Data From Page Into Webparts

Mar 8, 2010

There is a page that retrieves for about 100 records from database.

In this page I have several of webparts. wach webpart has a usercontol, and in it there is a datalist.

I need way to sen data from the page into the webparts. for each webpart I wish to send 20 records only from the 100 that was retrieved from database.

NOTE: Sometins in that page there is 4 webparts, and sometimes there is only 2...it keeps changing.

How can I achieve that?

View 1 Replies

Web Forms :: How To Create Rounded Corner Webparts In .net 3.5

Nov 20, 2010

I want to create rounded corner webparts in my webpage using .

View 3 Replies

Web Forms :: Looking For Custom Code To Create Webparts?

Feb 2, 2011

I have few ASPX pages and I am planning to have some webparts on these pages.

a) Looking for custom code to create ASP.NET webpart (code samples, webcasts or samples would be great)

b) Once I have webpart created, I would like to know how I can refernce them in ASPX pages.

View 1 Replies

Web Forms :: How To Add Webparts Solution To Existing Website

Mar 19, 2010

I have one of the .Net site running and want to implement web-parts on that site. well I am not using (aspnet_Users, or aspnet_Membership) defaults tables from aspnetDB but I have my own login controls and create new user contols ect on the site. so in short I have the users uniq ID when logged in from our corporate database nothing similar to aspnetDB.

Hecen want to know can I impelemt webparts in the existing site by just importing the tables from aspnetdb like (aspnet_PersonalizationAllUsers, aspnet_PersonalizationPerUser) to my database and what else I will require apart from these tables?

1. which list of store procedures I should coopy?

2. Any modification to my web.config?

3. Are their any functions/classes which I might have to copy to my App_Code folder to work these webparts with my exisitng site and userdetails

Is it possible ?

View 1 Replies

Web Forms :: Adding Webparts To Multipages Without Using Masterpages?

Sep 24, 2010

Is there a way to add the same webpart to multiple pages across a site (using shared personalisation) without the use of masterpages?

View 5 Replies

Web Forms :: .net 2.0 Webparts Refreshes After Drag & Drop?

Jun 21, 2010

I am using web parts in asp.net 2.0 . Its all work well except every time I drag & drop or minimise and element the whole page get refreshed. I am also using master pages and theming.

View 4 Replies

Web Forms :: Webparts Change The Sql Connection String At Runtime?

Feb 27, 2010

Does anyone has an idea on how to change the connection string of the webparts at runtime. i have a multitenant app, and would like to store each accounts users settings in their respective DB's i tried changing the connstring in the webpartsmanager init, and the page load event

Dim myConfiguration As System.Configuration.Configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~")

View 1 Replies

Web Forms :: Reading Webparts Custom Properties From Database?

Jan 19, 2010

we are working on some utilities to provide the webmaster, one of which needs to search the properties of the webparts on a page for certain string values. So I want to desterilize the blob into the object graph and
iterate through the properties.

View 1 Replies

Web Forms :: Showing Custom Edit Template In Webparts

Nov 11, 2010

I have developed a webpart.., and i have requirement now when i click on the edit ....a custom template should be displayed consisting a text box conbtrol and save and cancel buttons. when i click on save button the values shoud be saved in one of the personizable properties of webparts..

View 3 Replies

Web Forms :: Adding Controls To Zone Template In Webparts?

Oct 3, 2010

I have created 4 WebPartZones in my aspx page.

I need to add usercontrols dynamically to ZoneTemplate of each WebPartZone by reading a config file.

How can i dynamically add controls to Zonetemplate of each webpart at runtime

View 3 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 :: Semantically Driven Linq-olap Content And Webparts?

Jun 13, 2010

it will be very interesting that controls for input in forms have another property ie semanticid semanticname so semantically can be relationate i.e textboxes content if then we retrieve the data using linq having olap cubes we could have a lot of diferent views comunicating diferent controls of diferent webparts that shares the same semantically set or point to same ontology for the several dates or same localization from different input forms collection data,etc.

View 3 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 :: WebParts - Populate Form Immediately After ListBox Binded?

Feb 3, 2010

The user has to select from the ListBox to populate the DataGrid control. However, the Default value in the ListBox does not cause the DataGrid to be populated. Why is this?

[Code]....

View 3 Replies

Web Forms :: How To Make The Drag/drop Functionality Of WebParts Work In Firefox

Jan 26, 2011

Does anyone now how I can make the drag/drop functionality of WebParts work in Firefox?

View 3 Replies

Web Forms :: How To Change Orientation Of Webparts From Vertical To Horizontal In Catelog Zone

Feb 11, 2011

by default closed webparts are listed in catelog zone vertically

for example,

[checkbox] [webpart 1]

[checkbox] [webpart 2]

[checkbox] [webpart 3]

any one guide me which property is used to list them horizontally?

i want them like

[checkbox] [webpart 1] [checkbox] [webpart 2] [checkbox] [webpart 3]

View 3 Replies

Web Forms :: Ajax Control Toolkit And Custom Script Controls Do Not Work In Webparts?

Aug 18, 2010

I am trying to implement a webpart control with some ajax functionality and I just realized that when the webpart is on the page in shared view and the user is not logedin then the webpart/ajax control does not fire the OnPreRender event and so the scriptcontrol does not get registered....

even tried puting a simple hovermenuextender on a webpart control and the same error occurs:

"Extender control 'HoverMenuExtender1' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors(). Parameter name: extenderControl"

this only happens when a webpart control is on the page in shared view and the user navigates to the page without being logged in....

View 1 Replies

Web Forms :: Add/Remove Default Classes From The Menu Generated From The TreeView Or Menu Control

Apr 5, 2010

Is there a way to add/delete/update the default classes (for instance AspNet-Menu-WithChildren,AspNet-Menu-NonLink ) of the html generated by the asp.net menu or treeview control? I am using CSSAdapters so the menu control renders in a list format instead of table format.

View 1 Replies

Web Forms :: Style The Menu Control To Allow The Menu Items To Float To The Right Of The Container?

Feb 3, 2011

Currently I have a menu control on my webform in ASP.Net 4.0 :

<div class="PNMenu">
<asp:SiteMapDataSource ID="PNSiteMap" runat="server" ShowStartingNode="false" />
<asp:Menu ID="PNMainMenu" runat="server" DataSourceID="PNSiteMap" RenderingMode="List" Orientation="Horizontal" CssClass="PN-PrimaryNavMenu" >
</asp:Menu>
</div>

I am trying to style the menu control to allow the menu items to float to the right of the container, however I am unable to do so as whenever I am styling the a, ul or li it keeps getting overidded by asp.net and floats everything left.

.PNMenu
{
clear:both;

[code]...

View 5 Replies







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