G
Guest
I'm trying to build a commerce site and i can't understand why my DataList controls acts diferent with the same code in the same page
My database contains amoung others 'category', 'subcategory' and 'product'
I have a DataList for each column in the database. when i select a category from the cathegory DataList - the Subcategory DataList loads, and when i click on a subcategory the Product DataList loads, and in the end when i choose a product the details are shown. But it doesen't work. It only works the first time the page loads when i click on a product from the DataList the details are shown (first time are shown 'Special Offers' in the Product DataList)
i don't know what to do. The code is the same for every DataList so why they are not working the same
url to this page is
http://www.sharpdev.r
url to default page source code is
http://www.sharpdev.ro/source.ra
When i click on a datalist a session variable is chainging to let the other DataLists what to Display on PostBack
<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="sdsite.Default" smartNavigation="true" EnableSessionState="True" enableViewState="False"%><%@ OutputCache duration="200" location ="Any" VaryByParam = "*" %
Could it be becouse of Session State? I used this on a site without session state and it worked well. (http://imobiliare.sharpdev.ro
And another problem is that the Session ID does not always apear in the browser's address bar
thank you
My database contains amoung others 'category', 'subcategory' and 'product'
I have a DataList for each column in the database. when i select a category from the cathegory DataList - the Subcategory DataList loads, and when i click on a subcategory the Product DataList loads, and in the end when i choose a product the details are shown. But it doesen't work. It only works the first time the page loads when i click on a product from the DataList the details are shown (first time are shown 'Special Offers' in the Product DataList)
i don't know what to do. The code is the same for every DataList so why they are not working the same
url to this page is
http://www.sharpdev.r
url to default page source code is
http://www.sharpdev.ro/source.ra
When i click on a datalist a session variable is chainging to let the other DataLists what to Display on PostBack
<%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="sdsite.Default" smartNavigation="true" EnableSessionState="True" enableViewState="False"%><%@ OutputCache duration="200" location ="Any" VaryByParam = "*" %
Could it be becouse of Session State? I used this on a site without session state and it worked well. (http://imobiliare.sharpdev.ro
And another problem is that the Session ID does not always apear in the browser's address bar
thank you