Click here to Skip to main content
15,880,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create an usercontrol for login in my web site project(contain 2 textbox,2 label and 2 button). then I place it in my table in master-page. but the size of my usercontrol is changed and size of it be slovenly.(width of it become small)
how to can i insert usercontrol without change(design of it) in my master-page?

excuse me if my English language is bad.
Sergey Alexandrovich Kryukov 10-Nov-13 11:54am    
The idea is: user controls should allow change in size. They should be flexible enough. But of course you can develop rigid controls...
JoCodes 10-Nov-13 23:09pm    
Suggest you to give the width of usercontrol in percentange ( like 100% ) instead of pixels so that the usercontrol will take the width of the container control and fit to it perfectly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900