No Results from Gallery

Last post 01-05-2006, 10:14 PM by gxhpainter. 1 replies.
Sort Posts: Previous Next
  •  12-19-2005, 6:29 PM 14042

    No Results from Gallery

    I have followed the instructions for adding the Gallery to my VS2003 project added the reference and copied the .dll and .lic to my bin folder. I am building the image subfolder in another ASPX page and transferring to the page with Gallery1 object in it. I am setting the Gallery1.folderpath = "Photo" & imgkey   where imgkey is a query variable retrieved and set on pageload.
     
    I am getting the gallery.xml file to build but it looks like this ( no images are listed  - looked at the sample which i got to run )  any ideas ... I copied the sample gallery.xml and images into my subfolder and the gallery.xml file was overwritten with this: ( any ideas on what i am missing ?) I am using the developer license.

    image gallery page code:

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    'Put user code to initialize the page here

    If Not IsPostBack Then

    Dim imgKey As String

    imgKey = Request.Params("ImageKey").ToString

    'Label1.Text = imgKey

    Gallery1.FolderPath = "Photos/" & imgKey

    End If

    End Sub

     THIS IS THE GALLERY.XML FILE THAT GETS CREATED:
      <?xml version="1.0" standalone="yes" ?>
    - <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="NewDataSet" msdata:IsDataSet="true">
    - <xs:complexType>
    - <xs:choice maxOccurs="unbounded">
    - <xs:element name="image">
    - <xs:complexType>
    - <xs:sequence>
      <xs:element name="url" type="xs:string" minOccurs="0" />
      <xs:element name="id" msdata:AutoIncrement="true" type="xs:int" />
      <xs:element name="title" type="xs:string" minOccurs="0" />
      <xs:element name="description" type="xs:string" minOccurs="0" />
      <xs:element name="date" type="xs:string" minOccurs="0" />
      <xs:element name="size" type="xs:string" minOccurs="0" />
      <xs:element name="width" type="xs:int" minOccurs="0" />
      <xs:element name="height" type="xs:int" minOccurs="0" />
      <xs:element name="t_width" type="xs:int" minOccurs="0" />
      <xs:element name="t_height" type="xs:int" minOccurs="0" />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:choice>
      </xs:complexType>
    - <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//image" />
      <xs:field xpath="id" />
      </xs:unique>
      </xs:element>
      </xs:schema>
  •  01-05-2006, 10:14 PM 14479 in reply to 14042

    Re: No Results from Gallery

    This is sad.... I posted my original queston on 12/19 and followed up with an email to support ... NO REPLIES from anyone. I had to give up on this product and go with another one that worked with no issues although not quite as nice as this appeared to be. Tried and tried but never got the xml file to have the proper data and when i copied valid data into it from the demo... when i called my program it wrote over the top and wiped out the xml file again.
View as RSS news feed in XML