Posted on: 1/31/2014 5:09:44 PM | Views : 636

I have a listview control and in the insert template have a 3rd party control (asp.net basic date picker), if I use this control by itself it has a text property with the date in chosen by the user which I can access
However as this control is embeded inside my listview in the insert template when I find the control, I do not know if I can then some how access its text property, but do not Know what to cast the control to as it is not a textbox etc, (I even tried datetime) is it possible with a 3rd party control embedded like this to use its properties as if it was just a stand alone control ?
I use something like this to find the control as is typical:-
   TextBox Testing= (TextBox)ListView2.FindControl("BasicDatePicker3");
But this will not work as it is not a text box or even date time object

Go to the complete details ...