Validation & asp:button


Mar 16, 2005
Programming Experience
[font=Tahoma,Verdana,Arial] Hi,

I would like to do validation on my .aspx , however the form tags
are <input type=""> html based, therefore how can i do validation
on the server side(already have javascript validation) since asp:
requiredvalidator only works on asp:tags

Next, i have another form on asp tags, how do i change the
asp:button from the grey image to a picture i want?

Lastly, i used a repeater region to display my products from
a MS access db, what codes should i add to allow a
button to add this item to the shopping cart? codes
to add the item to the session variable?

help appreciated, thanks.

DB: MS Access 2000
App: Dreamweaver MX 2004
Type: ASP .Net VB

<ASP:Repeater runat="server" DataSource='<%# dsProducts.DefaultView %>'>
<td width="150" height="38"><div align="center">Code:<%# dsProducts.FieldValue("product_id", Container) %>

<img src="images/products/<%# dsProducts.FieldValue("product_image", Container) %>"></div></td>
<td width="170"><div align="center"><%# dsProducts.FieldValue("product_name", Container) %></div></td>
<td width="150"><div align="center"><%# dsProducts.FieldValue("product_desc", Container) %></div></td>
<td width="30"><div align="center">$<%# dsProducts.FieldValue("product_cost", Container) %>.00</div></td>
<td width="20">Buy!</td>
Top Bottom