CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 10/12/2007 11:20:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
Grzesiek23
Asp.Net User
WebParts + Untitled title + MasterPage10/12/2007 11:20:41 PM

0/0

Hello!

I have Masterpage with WebPartManager and WebPartZone.

I dragged my ascx control and calendar and press "View in browser".

All works fine, but I have

"Untitled [1]" above my user control and

"Untitled [2]" above calendar (both controls in one webpart zone).

 

How can I remove this? I tried use Title=" " but it removed only "Untitled", but [1] and [2] left.

Anyone can help me?
 

Moayad Mardini
Asp.Net User
Re: WebParts + Untitled title + MasterPage10/13/2007 9:44:42 AM

0/0

When two or more parts have the same title (which is " " in your situation), asp.net will automatically add numbers ([1], [2], [3], ...) to identity each one, so you have to give each particular part a special title to get rid of those numbers.
Remember, you can hide the title by setting ChromeType property.

Hope this helps. 


MSDN Forums Moderator
Remember to mark the helpful replies as answers!
vinz
Asp.Net User
Re: WebParts + Untitled title + MasterPage10/17/2007 4:10:28 PM

0/0

 Try to set the Titles in your webpartzone Elements
 Example:

 <casp:WebPartZone ID="WebPartZone1" runat="server">
                   <ZoneTemplate>
                         <asp:Calendar  ID="Calendar1" runat="server" Title="My Calendar"></asp:Calendar>

                          <uc1:UserControl ID="UserControl 1" runat="server" Title="My UserControl" />
                    </ZoneTemplate>
 </asp:WebPartZone>

 


Always remember to click ?Mark as Answer? if my replies helped you!

Learn through experience and grow from it...

vinz
SDE - .NET/ASPNET/C#
Koffeekoder Articles
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Visual C# 2005: A Developer's Notebook Authors: Jesse Liberty, Pages: 221, Published: 2005

Web:
WebParts + Untitled title + MasterPage - ASP.NET Forums Re: WebParts + Untitled title + MasterPage. 10-13-2007, 5:44 AM. Contact ... Re: WebParts + Untitled title + MasterPage. 10-17-2007, 12:10 PM. Contact ...
Webparts with MasterPages - ASP.NET Forums Webparts with MasterPages. Last post 09-10-2007 1:26 AM by nagendra2004. ... CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %> ...
HOWTO: Pass data to your masterpage. - JipJip-a-go - BloggingAbout.NET Dec 19, 2005 ... WebParts; using System.Web.UI.HtmlControls; ... CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %> ...
CodeProject: FileUpload with Master Page, Ajax Update Panel ... May 23, 2008 ... Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="Untitled ...
Re: Visual Studio 2008 MasterPage; content page error. - MSDN Forums Nov 3, 2007 ... Untitled Page. . . ... WebParts;. using System.Web.UI.HtmlControls; ...
Masterpages and FindControl - .NET C# Masterpages and FindControl. Get answers to your questions in our .NET C# forum. ... Title="Untitled Page" %> ...
p2p.wrox.com Forums - MasterPage to other Default Forms Untitled Page ... Is there any other way to link the MasterPage to Default forms.. Please help me... Cheers ...
How to reference an object in a Master Page? : ASP.NET 2.0 NET 2.0/C# I have a Master Page named Store.master. ... < title>Untitled Page ...
How to add master page to a page at runtime???? - ASP.NET Forums do i have to write anything in masterpage also? .... Channel 9: Bill Hill: The Future of Reading on the Web, Part 2. TechNet Edge ...
AJAX Not working in Particular Masterpages masterpages. This step was necessary, otherwise the validation tool ... Untitled Page




Search This Site:










print function results in server error

login question

web.sitemap overwrite programmatically

how do i decrypt this? =(

dock a toolbar with internet explorer

how to: webrequest on a .htaccess protected page?

composite control causing datagrid to not render

error in setup in web application projects

login default button not working properly in firefox

novice- setting up an admin editable news section

get ou's via activedirectorymembershipprovider

include files in asp.net

sql registration

application settings

dnn 2.0 - known issue for passwords as numbers?

how can i show web parts based on a user role

default dnn3 skins re-distribution?

vs2008 vs vs2005 when running via f5

installing dnn 3.2

microsoft tree view dns host name mismatch

createuserwizard: how to programmatically access controls in step of steptype start?

help!! what did vwd 2008 express do to my web.config?

windows authentication using forms

automatic ftp upload on save

expand and collapse in tree view navigation control

anonymous users

security problems - parent portal and child portal - design

access to client registry

step to configure validation block in asp.net 2.0 or 3.5 application.(urgent)

ms sql mdf database file attached vs created on sql server

 
All Times Are GMT