Click to See Complete Forum and Search --> : Problem when i come back to page using history.back()


ajitn
12-12-2007, 05:50 AM
hello friends ...

i have a problem with data list ..

when i come back to the page using history.back() from the details pages.

my datalist is ben disturbed .. and when i refresh the page ...
the datalist comes to its original style..

the disturbance is in the datalist layout.

here is the data list code.
<asp:datalist id="m_dlstProductList" runat="server" style="width:600px;" RepeatColumns="4">
<HeaderTemplate>
<table cellpadding="0" cellspacing="0" style="BORDER-LEFT: black 1px solid;BORDER-TOP: black 1px solid;" class="ProductLightColor" summary="">
<tr>
<td valign=top>
</HeaderTemplate>
<ItemTemplate>
<table style="WIDTH:150px;" cellpadding="0" cellspacing="0" align="center" class="ProductLightColor" summary="">
<tr>
<td align="center" class="productSetting1"><a href="PONUDBA.aspx?prodid=<%#DataBinder.Eval(Container.DataItem,"pk_ProductID")%>&catname=<%Response.Write(Getcatname());%>&prodname=<%#DataBinder.Eval(Container.DataItem,"str_Name")%>"(><img style="border:0px; width:100px; height:114px;" src="dynamicdata/ProductImages/small/<%#DataBinder.Eval(Container.DataItem,"str_ThumbImage")%>" align="middle"></a></td>
</tr>
<tr>
<td class="ProductTitleText productSetting2" align="center">
<a href="PONUDBA.aspx?prodid=<%#DataBinder.Eval(Container.DataItem,"pk_ProductID")%>&catname=<%Response.Write(Getcatname());%>&prodname=<%#DataBinder.Eval(Container.DataItem,"str_Name")%>"(><%#DataBinder.Eval(Container.DataItem,"str_ShortDesc")%></a>
</td>
</tr>
</table>
</ItemTemplate>
<FooterTemplate>
</td>
</tr>
</table>
</FooterTemplate>
</asp:datalist>


the CSS is
.productSetting1{
width:150px;
height:150px;
BORDER-RIGHT: black 1px solid;
}

.ProductTitleText
{
font-family:Verdana;
color:Black;
font-size:10px;
font-weight:bold;
text-decoration:none;
}
.productSetting2
{
width:150px;BORDER-BOTTOM: black 1px solid;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; height:30px
}


any solutions for this ... ????

lmf232s
12-12-2007, 02:32 PM
what do you mean "my datalist is ben disturbed"?