| |
| 1. | ImageThumbNailer Posted by mborigin on 11/4/2003 2:02:34 PM I do not see the image from the DataSet - I am using Charon cart, and wish to display the image in the details page - everything connected OK, Dreamweaver wrote the correct code, and had no problems? The image still did not show. I copied the DLL to the bin directory, and have the .aspx page in the root directory, but nothing shows?
Malcolm |
| 2. | Re: ImageThumbNailer Posted by mborigin on 11/6/2003 8:43:09 PM Jules:
In the Shopping cart = which now contains the correct reference to the image I placed the following code:
<asp:TemplateColumn HeaderText="Photograph" Visible="True">
<ItemTemplate>
<CharonThumbnailer:Thumbnailer id="tn1" runat="server" ImageToThumbnail='<%# "images/" + Container.DataItem,("Image", Container) %>' ThumbnailHeight="150" ... |
| 3. | Re: ImageThumbNailer Posted by mborigin on 11/6/2003 8:43:47 PM All my code is in C# |
| 4. | Re: ImageThumbNailer Posted by mborigin on 11/6/2003 9:04:19 PM Jules:
As usual, after a few tries here is what works for me:
<asp:TemplateColumn HeaderText="Photograph">
<ItemTemplate>
<asp:HyperLink id="HyperLink3" runat="server"><CharonThumbnailer:Thumbnailer id="tn1" runat="server" ImageToThumbnail='<%# "images/" + DataBinder.Eval(Container.DataItem,("Image")) %>' ThumbnailHeight="50" ... |
| 5. | Re: ImageThumbNailer Posted by mborigin on 11/4/2003 2:25:50 PM My Fault:
Jules - it seems the Cart product has the images folder pre-appended to it, the ImageThumbNailer does not - a simple edit with the "images/" prefix fixed the problem.
Sorry for the lack of QA on my part.
Malcolm |
| 6. | Re: ImageThumbNailer Posted by mborigin on 12/21/2003 10:55:12 AM Jules - after a very serious system crash - my HD is totally trashed and unrecoverable - could you emaiul me the thumbnail files again please... My Cart is OK, I backed it up to CD.
Mal. |
| 7. | Re: DreamWeaver 2004 Script issues Posted by mborigin on 11/5/2003 2:34:46 PM It was a JavaScript error, I will look further into it, but I have to get this site out, and it may be a few days. |
| 8. | Re: DreamWeaver 2004 Script issues Posted by mborigin on 11/9/2003 12:10:20 PM Jules:
The error occurs when the Application tab is selected, i.e. I want to edit a connection, or query, Server Binding etc... The error states that a "JavaScript Error has occurred in Connections.htm" and then the system shuts down on me.
|
| 9. | Re: DreamWeaver 2004 Script issues Posted by mborigin on 11/9/2003 1:39:51 PM It happens as soon as DW2004 opens up the Applications tab - the Connections.htm file which is part of DW2004 - I think it may have been corrupted on my system - It seems to do it for all the sites now. I will re-install, and see what happens. |
| 10. | Re: DreamWeaver 2004 Script issues Posted by mborigin on 11/16/2003 5:19:48 PM Jules:
It was a corrupted connection.htm file, I reinstalled and everything works OK now. You may want to let people know that DWMX2004 does mark some of the sourcecode incorrectly - i.e. the <cart:... tags and other tags are not recognized - but they work fine - probably just a setting for the aspx stuff. |
| 11. | DreamWeaver 2004 Script issues Posted by mborigin on 11/4/2003 2:08:47 PM Jules: I tried using MX 2004, but it had script issues, and eventually crashed??? I switched back to MX, and everything seemed to work correctly again. When will a compatible MX 2004 Cart be available - I know all you get are problems and issues, but let me say I think you have the best e-commerce cart available to .NET and Dreamweaver users and devlopers, thanks ahead of time for the response.
Malcolm |
| 12. | Re: Allow no duplicates in the basket Posted by mborigin on 11/7/2003 12:36:22 PM I have a version in C# but it does not seem to work - wondered if you could help me on this:
protected void Page_Load(Object Src, EventArgs E)
{
bool IsInCart;
IsInCart=false;
CC_Cart.Cart objCart=new CC_Cart.Cart();
System.Data.DataTable objTable;
objTable=objCart.CartTable;
foreach(System.Data.DataRow dr in objTable.Rows) {
if (dr["ProductID"]==ProductsDS.FieldValue("ProductID")) ... |
| 13. | Re: Altering the CC_Cart Object Posted by mborigin on 11/7/2003 12:38:06 PM Worked like a charm - Thanks |
| 14. | Altering the CC_Cart Object Posted by mborigin on 11/5/2003 2:38:50 PM I would like to add an Image field to the CC_Cart object! I have altered the cart.xml file, and updated the AddToCart_Manual.aspx with the correct field, and setup the datagrid to see the new field... I may be doing somthing wrong - but I get a "Image" field not found in the datasource - do I need to reset cookies, in other words clean out the cookie, and try again? Or is there a simpler way to do this. |
| 15. | Cookie Violation Posted by mborigin on 9/10/2003 12:38:38 PM I get this message when I try to check out using c#, for vb its even worse, it crashes with the same message?
I am using .Net 1.1, and have VS 2003 Enterprise installed as well as Dreamweaver 6.1 MX, can anyone help?
System.Web.HttpRequestValidationException: A potentially dangerous Request.Cookies value was detected from the client (CCcart=" at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName)
at ... |
| 16. | Re: Cookie Violation Posted by mborigin on 9/11/2003 10:40:38 AM That did thanks. |
|
|
|
|