that is correct. both of those have been tried.
I am fine with the syntax, I have used Attributes with the datagrid w/our
problem, it is the DataList that is the problem.
Thanks,
SK
"Alvin Bruney" <vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote in
message news:...
> what is your argument to your add function?
> it should be attributes.add("onmouseover","script here");
> or alternatively attributes["onmouseover"] = "script here";
>
> regards
>
> --
>
>
> -----------
> Got TidBits?
> Get it here: www.networkip.net/tidbits
> "Steve Klett" <> wrote in message
> news:e##...
> > I know this is the DataGrid forum, but there is no DataList and this is
> the
> > closest thing. Hope that's cool.
> >
> > Basically... it appears to be impossible to add additional attributes to
a
> > DataList (IE: onMouseOver)
> > The DataListItem.Attributes.Add() method doesn't complain, it adds the
> > strings to the collection but they aren't rendered out. I wondered if
> > anyone here had a work around. The DataGrid is not an acceptable
> workaround
> > because it does not have a <SelectedItemTemplate>
> >
> > I know I can catch the selected item in the bound event, but I haven't
had
> > success adding a new control and binding it. So for now, the DataList
is
> my
> > boy..... kinda, just need to get some DHTML going and for that.. I need
to
> > add attributes.
> >
> > Any help greatly appreciated!
> >
> > Thanks,
> > Steve
> >
> >
>
>