Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Islamegy® #1
Datalist question
I'm using a datalist with Repeat Column = 2..
Which will be Rendered
<TR>
<TD></TD>
<TD></TD>
</TR>
now i want to add horizontal seprator.. I mean new row with doted line.. so
i try to insert TableRow control between each row, but when i rty to
override AddedControls i found all controls of type DataListItem.
Which method i need to override to accomplish this task??
<TR>
<TD></TD>
</TR>
Islamegy® Guest
-
DataList Control Formatting Question
Hi I have a Datalist control and am using it to display some data (snippet below). Sometimes there is no record for, say, "Mobile". In this... -
datalist please help soon
H data I'm binding to the DataList is information about products in my product database. Perhaps passed in the QueryString to this page is a... -
Datalist/Datagrid question concerning selecting item and bringing it into focus
When someone clicks view on my datalist if the item was way down on the page they must then scroll back down to it. How can I avoid this? (jump... -
newbie--datalist question
I have the ASP Unleased book--of course all code. So it doesn't help me tie it to the VSNET IDE easily--to know what I have to do and what is done... -
Design Question -- DataList, Probably Easily Answered
Hi Ron, Check out this article: http://www.developer.com/net/asp/article.php/2215041 I think it will get you going in the right direction. ... -
David Wier #2
Re: Datalist question
I haven't used a DataList in a while, but you might look into the
SeparatorTemplate
--
David Wier
MVP/ASPInsider
[url]http://aspnet101.com[/url]
[url]http://aspexpress.com[/url]
"Islamegy®" <Islamegy@Private.4me> wrote in message
news:eaiHqqrxGHA.3496@TK2MSFTNGP02.phx.gbl...so> I'm using a datalist with Repeat Column = 2..
> Which will be Rendered
> <TR>
> <TD></TD>
> <TD></TD>
> </TR>
>
> now i want to add horizontal seprator.. I mean new row with doted line..> i try to insert TableRow control between each row, but when i rty to
> override AddedControls i found all controls of type DataListItem.
>
> Which method i need to override to accomplish this task??
>
> <TR>
> <TD></TD>
> </TR>
>
>
David Wier Guest
-
Islamegy® #3
Re: Datalist question
I used it but when RepeatColumn = 2 the seprator will be Vertical between
cells not horizonal between rows.
"David Wier" <david_wier@noSpamhotmail.com> wrote in message
news:%23xR46lsxGHA.3512@TK2MSFTNGP04.phx.gbl...>I haven't used a DataList in a while, but you might look into the
> SeparatorTemplate
>
> --
> David Wier
> MVP/ASPInsider
> [url]http://aspnet101.com[/url]
> [url]http://aspexpress.com[/url]
>
>
>
> "Islamegy®" <Islamegy@Private.4me> wrote in message
> news:eaiHqqrxGHA.3496@TK2MSFTNGP02.phx.gbl...> so>> I'm using a datalist with Repeat Column = 2..
>> Which will be Rendered
>> <TR>
>> <TD></TD>
>> <TD></TD>
>> </TR>
>>
>> now i want to add horizontal seprator.. I mean new row with doted line..>>> i try to insert TableRow control between each row, but when i rty to
>> override AddedControls i found all controls of type DataListItem.
>>
>> Which method i need to override to accomplish this task??
>>
>> <TR>
>> <TD></TD>
>> </TR>
>>
>>
>
Islamegy® Guest
-
andrew #4
Re: Datalist question
you could always watch the mod of the item count on itemcreated and
then insert the code accordingly.
Although it might be easy to derive a new control and overload the
render function. I don't know. just throwing up ideas.
Islamegy® wrote:> I used it but when RepeatColumn = 2 the seprator will be Vertical between
> cells not horizonal between rows.
>
> "David Wier" <david_wier@noSpamhotmail.com> wrote in message
> news:%23xR46lsxGHA.3512@TK2MSFTNGP04.phx.gbl...> >I haven't used a DataList in a while, but you might look into the
> > SeparatorTemplate
> >
> > --
> > David Wier
> > MVP/ASPInsider
> > [url]http://aspnet101.com[/url]
> > [url]http://aspexpress.com[/url]
> >
> >
> >
> > "Islamegy®" <Islamegy@Private.4me> wrote in message
> > news:eaiHqqrxGHA.3496@TK2MSFTNGP02.phx.gbl...> > so> >> I'm using a datalist with Repeat Column = 2..
> >> Which will be Rendered
> >> <TR>
> >> <TD></TD>
> >> <TD></TD>
> >> </TR>
> >>
> >> now i want to add horizontal seprator.. I mean new row with doted line...> >> >> i try to insert TableRow control between each row, but when i rty to
> >> override AddedControls i found all controls of type DataListItem.
> >>
> >> Which method i need to override to accomplish this task??
> >>
> >> <TR>
> >> <TD></TD>
> >> </TR>
> >>
> >>
> >andrew Guest



Reply With Quote

