iDenTiTy
Expert Member
Hi Guys,
First off, I have hardly has ANY ASP.NET dev behind me in 2 years (in fact I'd say none).
But I have hit a wall with a dropdownlist custom validation..
Firstly, I don't want to use the visual pane, I would prefer to work in the code..
You see, I have a gridview with 3 columns. The first column is a dropdownlist (for when you add to the database), the rest has standard numerictextbox controls.
My dropdownlist has a VERY simple datasource select statement. The insert is as well.
However, my problem comes in with the VB.NET (*.aspx.vb) part.
How do I bind the alidation routine to the control, so that the item I select with the dropdownlist, cannot be inserted into the database when I click the 'add' button?
I am busy writing the code I think should work, but it just won't work.
As soon as I can get my files from my other pc, I will show the progress I have made.
Jeesh, this ASP.NET + VB.NET is so alien to me, it's not funny.

First off, I have hardly has ANY ASP.NET dev behind me in 2 years (in fact I'd say none).
But I have hit a wall with a dropdownlist custom validation..
Firstly, I don't want to use the visual pane, I would prefer to work in the code..
You see, I have a gridview with 3 columns. The first column is a dropdownlist (for when you add to the database), the rest has standard numerictextbox controls.
My dropdownlist has a VERY simple datasource select statement. The insert is as well.
However, my problem comes in with the VB.NET (*.aspx.vb) part.
How do I bind the alidation routine to the control, so that the item I select with the dropdownlist, cannot be inserted into the database when I click the 'add' button?
I am busy writing the code I think should work, but it just won't work.
As soon as I can get my files from my other pc, I will show the progress I have made.
Jeesh, this ASP.NET + VB.NET is so alien to me, it's not funny.