data controls that output <div> and not <span> or <table> tags

 hi are there any controls that can output <div>?

or can someone show me how to build my own controls for displaying data in div format? 

3/20/2008 6:25:02 AM 72751 articles. 3 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 31
Get it on Google Play
Get it on Apple App Store


use a Repeater control. Probably, haven't tested it myself, in .NET 3.5 you could also use the ListView for this.

Grz, Kris. 

Read my blog. Handy Firefox plugins for web developers.

Workaround for non working Mark as answer buttons.
3/20/2008 9:23:35 AM

Similar Artilces:

Data control that outputs <div> and not <table >or <span>
 hi? i've been doing xhtml and css for a while and have just ventured into'm getting to grips with all the web controls but i have one problem.i want to be able to output a div layout for the data controls.the closest i have found is the datalist control that you can alter to output <span> instead of <table>is there any control that can output a <div> layout ? please point me in the right direction thanks  Hi, Panel should render as <DIV>, and if you use it in Repeater, you can do databinding etc. Repeater does not create markup...

Panel control generates <div> tags or <table> tags?
The reason is I'm confuse with my code. On some pages, they generate <div></div> html tags when I viewed the source, while on some occasions, they generate <table></table> html tags. Why is this so? Is it due to some settings? I've used them the same way by declaring them <asp:Panel id="pnABC" runat="server"> ... </asp:Panel> although sometimes I use the Visible attribute too. Can anyone clarify why? no one can answer this? Hi, have you checked the pages with different browsers to note this? E.g with IE it is D...

Custom Composite Control
Let's start with what I'm looking for: <controls:MyWrapper id="Blah" runat="server">     <content>         <controls:Exporter id="Blah1" runat="server"  {This control has an image button and some other controls} />         <controls:GridView {This is a fully functional GridView} />         <controls:CustomFooterDetailer id="Yadda" runat="server" /> &nb...

"<table></table>" and "<frameset><frame></frame></frameset>" in perl/tk
Dear my friends... Anybody would be so kind telling me what is similar in perl/tk to arrange the location of a form written in perl/tk? I want a nice look for my perl/tk application. Somewhat like this below: 1. Name : <place to type-in> 2. Address : <place to type-in> 3. Telephone : <place to type-in> I have made the main menu of my application with "Menubutton". And I want if the user click on the menu that what the user see is only the aimed application displayed on the determined area (under the main menu) but the menu has no change in po...

>>>> Heads up <<<<
I just got a warning from Norton that "PamelaSetup-Basic.exe" has a virus in it. The name is "VirusBurst" Luckily, I did not install this software and Norton's quarantined it so I could delte it, which I have done. Symantec has not completed analysis of this particular piece of garbage but it did catch the sig. If you have installed Pamela, you may be in trouble. Duffy wrote: > I just got a warning from Norton that "PamelaSetup-Basic.exe" has a virus > in it. The name is "VirusBurst" > > Luckily, I did not install...

How to strip a string of <html>, ,</html>, <body>, </body>, <form ... >, </form> tags?
I have stream which is the HTML input of a page. Now I want to use only that part of this page, that is within <form .....> and </form> tags, and excluding these tags.How would I go about stripping <html>, ,</html>, <body>, </body>, <form ... >, </form>, <head> and </head> tags? I have to make sure that <head ...javascript..> and its corresponding </head> tags are not stripped in this process.sun21170    Wait... you said you wanted to strip the head tags, and you're also saying you need to NOT strip the ...

Put a table (like <table><td></td></table>) in a Datagrid
Hello First of all, I just want to advise that I'll have many questions about datagrid for the next few days. I have to display a datagrid that seems very complicated for me (newbie in  So I display an image in my datagrid where the name of my image is in my datagrid's linked table. This is working fine. Now I would like to have a link like "Enlarge Image" below the image displayed. I guess that I need a table to do this to. I would like also to put a header text but I guess this is another question that I'll have to post later Thank you in advance for ...

>>>> ROOT Exploit in SAMBA <<<<<<
"A flaw has been detected in the Samba main smbd code which could allow an external attacker to remotely and anonymously gain Super User (root) privileges on a server running a Samba server. This flaw exists in previous versions of Samba from 2.0.x to 2.2.7a inclusive. This is a serious problem and all sites should either upgrade to Samba 2.2.8 immediately or prohibit access to TCP ports 139 and 445." Binaries are available from Samba for RedHat, and some other distributions. So far as I can tell, the RedHat update mirrors I norm...

>>>> BUY RAM <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...

C<< >> vs C<< >> vs C<< x >>
Ugh. So we all know that there's this syntax for formatting codes (n=E9s "interio= r sequences") like C<< x >>. And that tokenizes as three tokens: "C<< ", open-C code "x", content " >>" close-code matching the C open-code And this is explicated by what I wrote in perlpodspec where I say that such a code... * starts with a capital letter (just US-ASCII [A-Z]) followed by two or more "<"'s, one or more whitespace characters, * any number of characters * one or more whit...

.. ~~~!!!~~~ ================================================== ================================================== CLICK HERE TO ENTER: >>> <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

>>>> BLU-RAY MOVIES <<<<
.. ~~~!!!~~~ ================================================== ================================================== CLICK HERE TO ENTER: >>> <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

[PATCH] correctly handle C<< >> and C<<< >>> in diagnostics
This is just a quick hack; ideally someone would make it use an actual pod parser. --- perl/lib/ 2003-12-30 15:48:47.000000000 -0800 +++ perl/lib/ 2004-05-25 01:54:31.735904000 -0700 @@ -314,10 +314,10 @@ sub noop { return $_[0] } # spensive for a noop sub bold { my $str =$_[0]; $str =~ s/(.)/$1\b$1/g; return $str; } sub italic { my $str = $_[0]; $str =~ s/(.)/_\b$1/g; return $str; } - s/[BC]<(.*?)>/bold($1)/ges; + s/C<<< (.*?) >>>|C<< (.*?) >>|[BC]<(.*?)>/bold($+)/ges; ...

Lists in .net
Like a good AKA accessible app building developer, my application's navbar is controlled with CSS and using <ul> and <li> I just have the code in the HTML display and it works fine when everything should be visible, however, I need to restrict some users from viewing certain navbar links based on their security levels.  How do I hide the list items that need to be hidden? TIA hello! give them ids and runat="server" attribute. then in code behind set the Visible property to false. orzeh code less, think more! Okay, I tried putting the link as a link bu...

Web resources about - data controls that output <div> and not <span> or <table> tags -

Resources last updated: 11/25/2015 2:16:35 AM