M
Matej Kavèiè
Hello, i have one problem.
I use loadcontrol in default.aspx page. On page i have placeholder and on
load i with loadcontral load dynamic some user control.
Some times i must load same user control twice, like test.ascx, ockey thats
no problem. But now in test.ascx is loaded twice so how can i now
determinete in load function in user control whic one is. I also want to
create that when i load user contol in default.aspx write some parameters in
some property maybe in session[], and than read that properties but i must
read right one, if the user control is difrent then i yust write on load
session["test"]="first" session["test2"]="second" ockej on load of user
control test.asc i youst read property from session["test"] and user control
test2.ascx read from session["test2"]. This is ok but when i have one user
control loaded twice how can now write difrent parameter for sam user
control...
thanks
I use loadcontrol in default.aspx page. On page i have placeholder and on
load i with loadcontral load dynamic some user control.
Some times i must load same user control twice, like test.ascx, ockey thats
no problem. But now in test.ascx is loaded twice so how can i now
determinete in load function in user control whic one is. I also want to
create that when i load user contol in default.aspx write some parameters in
some property maybe in session[], and than read that properties but i must
read right one, if the user control is difrent then i yust write on load
session["test"]="first" session["test2"]="second" ockej on load of user
control test.asc i youst read property from session["test"] and user control
test2.ascx read from session["test2"]. This is ok but when i have one user
control loaded twice how can now write difrent parameter for sam user
control...
thanks