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 > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 11/18/2005 12:38:17 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
thzero
Asp.Net User
Custom CompositeControl surrounded by <span> tag11/18/2005 12:38:17 AM

0/0

I've created a bunch of custom controls based on the CompositeControl and I get the control surrounded with a <span> tag.  How in the world do I avoid getting this <span> tag? 

Essentially most of the custom controls I have currently override CreateChildControls() and display a custom table row or column element with additional controls configured within the row/column.  Is there someway to force the CompositeControl to output the ID to the <TR> or <TD> tag rather than the <SPAN> tag?

Here's a quick psuedo-code of the CreateChildControl:

{
if DisplayRow
   add <TR> via Literal
add <TD> via Literal
add Label
add </TD> via Literal
add <TD> via Literal
add TextBox (or other data control)
add </TD>
if DisplayRow
   add </TR> via Literal
}

Thanks!
thzero
Asp.Net User
Re: Custom CompositeControl surrounded by <span> tag11/23/2005 5:59:44 AM

0/0

For anyone that may be looking for the same thing the answer is to override the following TagKey property (it only has a getter) and return the appropriate HtmlTextWriterTag

BorekBernard
Asp.Net User
Re: Custom CompositeControl surrounded by <span> tag11/25/2005 12:38:36 AM

0/0

In generic webcontrol-based controls, you can specify the desired html tag in the contructor (Panel do it this way) or you can override RenderBeginTag method and use whatever tag you want (maybe not the recommended way, though).

Borek Bernard, http://borber.com
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Custom CompositeControl surrounded by tag - ASP.NET Forums I've created a bunch of custom controls based on the CompositeControl and I get the control surrounded with a tag. ...
Release History Now custom XML and ASP.NET tags within the HTML are properly preserved. ...... not get applied to list, but it added formatting FONT/SPAN tags in between. ...
Asp.Net It is possible to build a custom server control (sometimes called a custom control or composite control). (We will build these in part 2 of this article). ...
Live XML feeds support – RadRotator Now custom XML and ASP.NET tags within the HTML are properly preserved. ...... heuristics to determine whether a font/span tag is fully selected or not. ...
DotNet NONE/CUSTOM AUTHENTICATION The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as shown below: 132 ...
visual basic 2005 programmer's reference 2005 MissingFieldException(“RowSortingListView”, “Tag”) End Set End Property Composite Controls A composite control combines several existing controls into one ...
Microsoft.Press.Mcts.Self Paced.Training.Kit.Exam.70 526.Microsoft ... 430 Format a DataGridView Control by Using Custom Painting . ...... is a container control that appears as a subdivision of the form surrounded by a border. ...
DIAR.com - News Archive 2003 The unmanned aerial vehicle (UAV), custom developed by the Commonwealth ...... to fabricate tooling for the F-35's composite control surfaces and fixed ...
Programmer's Guide Volume 2 Because names must be surrounded with single quotation marks if they contain ...... composite control type and the fields that. make up the composite. ...
NASA Scientific and Technical Aerospace Reports For the 6.5L HMMWV engine tested the composite control strategy did not ...... composition surrounded by thin rims that are zoned to Fe-rich compositions. ...




Search This Site:










problem accessing dnn 2.0 beta remotely with vs.net 2002

sliding menu

hybrid logins - i don't see this mode covered

form authentication problem

custom membershipuser sample in vb.net

blog plugin

object reference not set to an instance of an object.

how to create portlet without using sharepoint

move aspnetdb problem

dnn xxl 1.1.10 beta 9/15/03

forms authentication

wysiwyg on the mac

classifieds sub menu

dnn and community server membership tables together?

issue with login page

how to custom membership ?

target for an url with sitemap provider

links module

dnn and security/privacy certifications

dal - typed dataset group of files question

just wanted to say thanks

question to the core : why did you choos to have one asp_application by portal ?

extending datagrid -> gridlayout no longer working

server cannot access application directory

login trouble when moving site

authentication with active directory (over dmz)

dropdown box

hooking up intellisense

executescalar()

what are your favorite free modules?

 
All Times Are GMT