validating edit controls

G

Guest

Hi there, I know i can validate textboxes when i know the id but can i
validate the input to textboxes in a bound column? (i.e. they are
automatically turned into textboxes when i make that row the edititemindex).

I know i'll be able to if i turn them into itemtemplates but it is nice and
clean and simple as a bound control, so is there a way without using
itemtemplates?

I have another quick question. how do i control the width of the textbox in
a boundcolumn when going into edit mode? It seems to ignore ItemStyleWidth
and makes the boxes really long and my grid look a right mess!

Thanks
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top