fdsafog56
asked on
DetailsView with dropdownlist. SelectedValue doesn't apear in the intelliSense.
Hi,
I had to allow selection from DropDownList in edit mode of DetailsView control instead of the default TextBox so I used this example : http://blogs.msdn.com/robburke/archive/2006/03/09/547082.aspx
It works good. but the only thing that I don't undertand is that in the html tab I don't see the SelectedValue property in the DropDownList properties intelliSense. But if I write it manually it works good : SelectedValue= '<%# Bind("State")%>'.
My question is why the SelectedValue doesn't apear in the DropDownList intelliSense. Is that a bug of the Visual Studio ?
David
I had to allow selection from DropDownList in edit mode of DetailsView control instead of the default TextBox so I used this example : http://blogs.msdn.com/robburke/archive/2006/03/09/547082.aspx
It works good. but the only thing that I don't undertand is that in the html tab I don't see the SelectedValue property in the DropDownList properties intelliSense. But if I write it manually it works good : SelectedValue= '<%# Bind("State")%>'.
My question is why the SelectedValue doesn't apear in the DropDownList intelliSense. Is that a bug of the Visual Studio ?
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Robert and Max.
When I drag a DropDownList on a form(not in detailsView) and I turn from the Design tab to the source tab ,I look for SelectedValue property in the intelliSense and I don't find it there but I can find it in the code behind, so the reason that I don't see SelectedValue property in the intelliSense(In the source tab) must be other than you mentioned.
Indeed, the reason I can't see the dropdownlist properties in the code behind is because it is nested in the detailsview .
What is the reason that some properties don't appear in the intellisense in the source tab but they apear in the code behind intellisense ( like SelectedValue ) ?
Thanks in advance.
David
When I drag a DropDownList on a form(not in detailsView) and I turn from the Design tab to the source tab ,I look for SelectedValue property in the intelliSense and I don't find it there but I can find it in the code behind, so the reason that I don't see SelectedValue property in the intelliSense(In the source tab) must be other than you mentioned.
Indeed, the reason I can't see the dropdownlist properties in the code behind is because it is nested in the detailsview .
What is the reason that some properties don't appear in the intellisense in the source tab but they apear in the code behind intellisense ( like SelectedValue ) ?
Thanks in advance.
David
Regards,
Max.