PDA

View Full Version : viewport is not displayed in usercontrol asp.net



hieu79vn
10 Apr 2012, 10:09 PM
Hello,

I have created a viewport with a treeview on the left and a grid on the right. it runs well if i put both of them in an sx aaaspx page but if i put them in a usercontrol, the grid and tree disappear. do you know how can i fix this?
Thank you
Tang

scottmartin
11 Apr 2012, 9:42 AM
I do not have experience with usercontrol, but I would suspect that since a viewport is designed to use the browser body by default, there is a collision. Can you just use a container/panel?

Regards,
Scott.

hieu79vn
12 Apr 2012, 12:11 AM
yes, you are right ;)