Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Web Form tab is missing on the toolbox


Message #1 by "dev" <devendra_vyawahare@p...> on Fri, 15 Nov 2002 18:11:10 +0530
Hi All
I am new in the ASP.NET
I had a tab on my toolbox with name Web Forms. By mistake it has been
deleted.

I don't know how to get it back on the toolbox.

I am using .NET Framework

All the suggestions are welcome

Dev
TCS,Pune
INDIA


-----Original Message-----
From: Dave Rezoski [mailto:daverezoski@h...]
Sent: Thursday, November 14, 2002 4:41 AM
To: ASP.NET
Subject: [aspx] Re: Using a databound element as an attribute



try this:

<A href='News.aspx?SelectedID=<%# DataBinder.Eval(Container.DataItem,
"NewsID") %>'>					<%#
DataBinder.Eval(Container.DataItem, "HeadLine") %> </A>





----Original Message Follows----
From: "Jeff Edwards" <jedwards_1@c...>
Reply-To: "ASP.NET" <aspx@p...>
To: "ASP.NET" <aspx@p...>
Subject: [aspx] Using a databound element as an attribute
Date: Wed, 13 Nov 2002 13:53:56 -0600

I have used a data repeater to pull up news items and format the output.
While this compiles OK, I get an error "Expression expected"

<A href="News.aspx?SelectedID=<%# DataBinder.Eval(Container.DataItem,
'NewsID') %>">					<%#
DataBinder.Eval(Container.DataItem, "HeadLine") %> </A>

Using the databound element as an attribute does causes the error. Can
anyone give me a pointer on what the best way to correct this is?




_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail




  Return to Index