DataList Problems

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
 
G

Guest

it may be because of session state. the variables in the session state are not keeped in memory. Is there any settings i shoud know?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top