G
Guest
Hi all,
I'm now very frustrated, I've been battling all of today to try and understand the datalist, editing, inserting, updating, etc, I have managed to get most of that sort of stuff working(Thank goodness
). But now I would like to implement validation on my datalist, but I am just not getting it right
( I have got labels in my item template wich of course hold the data coming from my database. I also have a button called edit and when that is clicked, it basically "turns the labels into textboxes" so that I can edit the values,and I successfully save those new values to the database. What I want to have is a RequiredFieldValidator on the edit text boxes, I have already created the RFV's and assigned them to the relevant textboxes, but as soon as I hit the edit button, I get an ASP error telling me NullReferenceExcepetion - the object reference is not set to an instance of an object!
This has been buggin me all damn day and I just can't seem to come right
( I thought that perhpas it wasn't declared in the codebehind, but it is, I have inserted the RFV tags in the HTML side(directly after the textboxes that I want it to validate!) but still I get the same error
anyone got any suggestions?
Thanks
Kevin
I'm now very frustrated, I've been battling all of today to try and understand the datalist, editing, inserting, updating, etc, I have managed to get most of that sort of stuff working(Thank goodness


This has been buggin me all damn day and I just can't seem to come right

anyone got any suggestions?
Thanks
Kevin