Drop Down List User Control



I have created a user control that is a drop down list that pulls from
my database. I then drop that control into a detailsview control on
an insert item template. When I run the insert command, the drop down
list control isn't returning a value. How can I pass the value from
the drop down list control into the Insert Command Parameters? The
same situation works fine when the drop down list isn't a user control
but is created on the screen. I would like to use the usercontrol
because I will be using these values in multiple places.

.



Relevant Pages

  • RE: user control - image button only works on second select
    ... So does the test page and usercontrol I sent you works as you expected? ... control, as for the main page and dropdownlist, I don't think there will ... user control - image button only works on second select ... | only working on selecting the button twice. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: UserControl event & method call sequence
    ... a usercontrol on an aspx page, following are the order of events. ... It does not always use this user control ... >>> I have an aspx page that loads an ascx user control. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Context is not a member of....
    ... assuming that the code behind of the user control i.e ... Enter.ascx.vb resides in the App_Code directory, if I add the CodeFile ... If the code behind of the user control Enter.ascx.vb is placed in some ... TextBoxes are named txt1 & txt2. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP, C#.net
    ... I have a user control. ... OnInit method, ... get the gridview to retain its DataSource.. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Instantiate control at runtime
    ... property for the user control to true to go to the ... previous questions in the click event of a button control. ... Button click is not too late to create checkboxes. ... John Saunders ...
    (microsoft.public.dotnet.framework.aspnet)