Yup...all of you were on the money :)

I also had to take out the semi-colon

Thanks everyone!


> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> Stacey Piscatella
> Sent: Thursday, April 11, 2002 8:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness
>
> the problem is "\" in your concatination
>
> try @"\"
>
> -----Original Message-----
> From: Deepak Rao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 6:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness
>
>
> It doesn't work either. The tag looks like this now
>
> <asp:HyperLink Runat="server" NavigateUrl='<%#
> DataBinder.Eval(Container.DataItem, "Uri") + "\" +
> DataBinder.Eval(Container.DataItem, "FileName"); %>' Text='Url' />
>
> and I get the compiler error
>
> CS1010: Newline in constant
>
>
> > -----Original Message-----
> > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On
Behalf
> Of
> > Dean Cleaver
> > Sent: Thursday, April 11, 2002 8:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness
> >
> > Then try add a ; just before the last %>'
> >
> > Dino
> >
> > -----Original Message-----
> > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On
Behalf
> Of
> > Deepak Rao
> > Sent: Friday, 12 April 2002 12:53
> > To: [EMAIL PROTECTED]
> > Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness
> >
> >
> > Heh...same error
> >
> > > -----Original Message-----
> > > From: dotnet discussion [mailto:[EMAIL PROTECTED]] On
> Behalf
> > Of
> > > Chris Anderson
> > > Sent: Thursday, April 11, 2002 8:27 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [DOTNET] <asp:hyperlink> and databinding funkiness
> > >
> > > Ahh..you're using C# then :-)
> > >
> > > Try using + instead of &
> > >
> > > Merak
> > >
> > > > Hmmm...I tried your suggestion and I got a compile error
> > > >
> > > > CS1002: ; expected
> > > >
> > > > > -----Original Message-----
> > > > > From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> > > > On Behalf
> > > > Of
> > > > > Chris Anderson
> > > > > Sent: Thursday, April 11, 2002 7:42 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: [DOTNET] <asp:hyperlink> and databinding
funkiness
> > > > >
> > > > > You can try
> > > > >
> > > > > NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Uri") &
> "\"
> > &
> > > > > DataBinder.Eval(Container.DataItem, FileName") %>'
> > > > >
> > > > > But then you sometimes get problems with the ampersands being
> > > > converted
> > > > > to  &amp; !!
> > > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/2002
> > >
> > > You can read messages from the DOTNET archive, unsubscribe from
> > DOTNET, or
> > > subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
> >
> > You can read messages from the DOTNET archive, unsubscribe from
> DOTNET,
> > or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.346 / Virus Database: 194 - Release Date: 10/04/2002
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.346 / Virus Database: 194 - Release Date: 10/04/2002
> >
> > You can read messages from the DOTNET archive, unsubscribe from
> DOTNET, or
> > subscribe to other DevelopMentor lists at
http://discuss.develop.com.
>
> You can read messages from the DOTNET archive, unsubscribe from
DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>
> You can read messages from the DOTNET archive, unsubscribe from
DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to