![]() |
DataList Fromatting Cell
Here is the problem,
I have a datalist that builds a list of links horizontally across the screen for a menu bar. i.e <asp:datalist id="menuTabs" runat="server> <ItemTemplate> <asp:Hyperlink id="myLink" runat="server"> </ItemTemplate> </asp:datalist> At runtime how can I access the last cell that is created and change its width, as I want the last cell to padd out all remaining space in the table that is created by the datalist. Paul |
Re: DataList Fromatting Cell
In PreRender event:
myList.Items[myList.Items.Count-1].FindControl("myLink"); Eliyahu "Paul Say" <saywin@tpg.com.au> wrote in message news:umWHG4IeFHA.1328@TK2MSFTNGP12.phx.gbl... > Here is the problem, > > I have a datalist that builds a list of links horizontally across the screen > for a menu bar. > > i.e > > <asp:datalist id="menuTabs" runat="server> > <ItemTemplate> > <asp:Hyperlink id="myLink" runat="server"> > </ItemTemplate> > </asp:datalist> > > At runtime how can I access the last cell that is created and change its > width, as I want the last cell to padd out all remaining space in the table > that is created by the datalist. > > Paul > > |
| All times are GMT. The time now is 11:10 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.