Re: DataImageUrlField in DetailsView



Thanks for Jesse's inputs,

Hi Gary,

As for the DataImageUrlField, as Jesse has said, it simply display the
value from databound field onto html page, and the value it expected is a
simple string path. e.g. "/images/logo.jpg"

And web page databinding is different from winform databinding which can
not directly bind and display binary stream data(such as image) and display
them inside a web page. If the data of your image field is of binary
stream, you may need to use another spearate httphandler to expose them and
refer the httphandler based url in your DetailsView's image column.

If the data in your image datafield does be of string path value, I think
there might exists some problem with the resolution of the image path at
either server-side or client-side. A common way to troubleshoot is as
below:

** view the page's client-side html source in brower to see whether the
output path is the expected correct path

** print out the path value which is bound in DetailsView to see whether it
is the correct one.

Anyway, if there is anything else particular in your scenario or if you
have any more specific question on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: vs2008 problems
    ... uppercase tags flag as errors although the table still runs. ... As for the VS 2008 html designer, it has been redesigned from the original ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS mangles HTML
    ... I have went through all the options and I don't see a "reset VS 2005 ... The is getting inserted into the html!! ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Updating the html inside a panel
    ... the most outside of the html source. ... control with the html source and add the control to the Panel: ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Maintain formatting
    ... container element which will display the items. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: msgbox
    ... at client-side browser (generally use javascript to display it). ... server on local machine is because the web test server itself is a winform ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)