473,396 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Parameter error

Hello,

Here is my control:
<asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%= GetBrowsePath((int)
DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
Height="70" Width="100" Runat="server" />

When I look to the HTML output I see:
....<%%%20GetBrowsePath((int)%20DataBinder.Eval(Co ntainer.DataItem,'itemId'))
%20%>

Why I this not working?

Thanks!
Nov 17 '05 #1
2 943
</asp:Image> is missing?

"Arjen" <bo*****@hotmail.com> wrote in message
news:bh**********@news1.tilbu1.nb.home.nl...
Hello,

Here is my control:
<asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%= GetBrowsePath((int) DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
Height="70" Width="100" Runat="server" />

When I look to the HTML output I see:
....<%%%20GetBrowsePath((int)%20DataBinder.Eval(Co ntainer.DataItem,'itemId')) %20%>

Why I this not working?

Thanks!

Nov 17 '05 #2
Also "<%=" may be "<%#"
Also 'itemId' ?? check

"Arjen" <bo*****@hotmail.com> wrote in message
news:bh**********@news1.tilbu1.nb.home.nl...
Hello,

Here is my control:
<asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%= GetBrowsePath((int) DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
Height="70" Width="100" Runat="server" />

When I look to the HTML output I see:
....<%%%20GetBrowsePath((int)%20DataBinder.Eval(Co ntainer.DataItem,'itemId')) %20%>

Why I this not working?

Thanks!

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Aguilar, James | last post by:
Hey all. I was making a newbie mistake that I eventually figured out. That is not my question. My question is about the error message. So let me set the stage for you: class Superclass {...
4
by: js | last post by:
I have a stored procedure named "processInventory" like the following. Depending on the passed in parameters, I would like to add a WHERE clause for "select" action. For example, if any varchar...
4
by: Andy Davis | last post by:
I have developed a number of reports that are based on parameter queries where the user enters criteria such as a date range and a sales rep say. I want to be able to show a graphical picture in...
4
by: Ondrej Spanel | last post by:
The code below does not compile with .NET 2003, I get folowing error: w:\c\Pokusy\delegTemplArg\delegTemplArg.cpp(11) : error C2993: 'float' : illegal type for non-type template parameter 'x' ...
2
by: Robert E. Flaherty | last post by:
I am using System.Data.OracleClient (Oracle Provider for OLE DB 9.2.0.4.0) in an ASP.NET 1.1 app. I am evoking a stored procedure with a number of input parameters and two output parameters, both...
8
by: Patreek | last post by:
Hi, On the line where I'm assigning RecordCount to be the value of my output parameter, I'm getting the generic "Object reference not set to an instance of an object" error. I've isolated it...
0
by: RG | last post by:
OleDbCommand.Prepare error: Size of parameter (VB.NET 2003) I need to do a SQL INSERT statement into an Access table, and I’d like to use the exact technique described in the Help file example...
15
by: main() | last post by:
Hi all, When i compile following piece of code, # include <stdio.h> void fun(int val) { int val; /*problem is here*/ printf("%d\n",val);
8
by: Alec MacLean | last post by:
Hi, I'm using the DAAB Ent Lib (Jan 2006) for .NET 2.0, with VS 2005 Pro. My project is a Web app project (using the WAP add in). Background: I'm creating a survey system for our company, for...
11
by: wuzertheloser | last post by:
Write a program which calculates the integral of the function f(x)=(A*x^m)/n! on the interval from a to b (0<a<b). In the main program, scanf a double value for m and a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.