O
odd.morten.sveas
Hi
I'm building a web site where some users can create receivables
(invoices). This website will support several organisations and
different users migth have responibility for more that one
organisation.
My problem is when I'm buliding this receivables page. The receivable
are entered through a asp.net DetailsView. The first thing a user will
do i to choose organisation. This is done by adding a DropDownList in a
TemplateField . Next, the user will find a customer. She will choose
between the customers belonging to the organisation just choosen. Here
comes my problem: I will use a DropDownList in a TemplateField here as
well, but how can this list be filtered by the selection of
organisation?
I have tried to use a where clause and SelectParameter, I'm not sure
how to refeer to the DropDownList in a TemplateField. I seems that the
compiler is not awhere of controls within the DetailsView.
I should mention that I use SQL server as DataSource, and that all
DropDownLists are populated from this DataSource.
I'm building a web site where some users can create receivables
(invoices). This website will support several organisations and
different users migth have responibility for more that one
organisation.
My problem is when I'm buliding this receivables page. The receivable
are entered through a asp.net DetailsView. The first thing a user will
do i to choose organisation. This is done by adding a DropDownList in a
TemplateField . Next, the user will find a customer. She will choose
between the customers belonging to the organisation just choosen. Here
comes my problem: I will use a DropDownList in a TemplateField here as
well, but how can this list be filtered by the selection of
organisation?
I have tried to use a where clause and SelectParameter, I'm not sure
how to refeer to the DropDownList in a TemplateField. I seems that the
compiler is not awhere of controls within the DetailsView.
I should mention that I use SQL server as DataSource, and that all
DropDownLists are populated from this DataSource.