D
dalholm
Hi, I'm just starting to poke around with asp.net, and have stumbled on
this problem:
I'm converting an old MS Access database to a web solution. I have
created individual user controls for each table, and added these to my
webpage. Now the master table "cars" has a usercontrol consisting
primarily of a formview and a accessdatasource. A car can be of a type
(bus, sportscar, etc.), data on the type is stored in the "carType"
usercontrol, which has also been added to the page.
Using me.session variables I the "carType" usercontrol is updated
whenever a new car is selected. However, and this is my problem: when I
on the "cars" usercontrol -> formview select "NEW" then I can't figure
out how to get then "carType" usercontrol to update, it still shows the
info for the previously selected car! On the "car" usercontrol ->
formview -> InsertTemplate I have added a dropdownlist listing
everthing in the "carType" table. But I can't trigger an update of the
"carType" usercontrol based on the value selected in this dropdownlist!
It seems, that whenever i can actually access the value of the
dropdownlist, then the "carType" usercontrol has already been
rendered...
Some guidance will be appreciated..
/Anders
this problem:
I'm converting an old MS Access database to a web solution. I have
created individual user controls for each table, and added these to my
webpage. Now the master table "cars" has a usercontrol consisting
primarily of a formview and a accessdatasource. A car can be of a type
(bus, sportscar, etc.), data on the type is stored in the "carType"
usercontrol, which has also been added to the page.
Using me.session variables I the "carType" usercontrol is updated
whenever a new car is selected. However, and this is my problem: when I
on the "cars" usercontrol -> formview select "NEW" then I can't figure
out how to get then "carType" usercontrol to update, it still shows the
info for the previously selected car! On the "car" usercontrol ->
formview -> InsertTemplate I have added a dropdownlist listing
everthing in the "carType" table. But I can't trigger an update of the
"carType" usercontrol based on the value selected in this dropdownlist!
It seems, that whenever i can actually access the value of the
dropdownlist, then the "carType" usercontrol has already been
rendered...
Some guidance will be appreciated..
/Anders