I am learning MultiView control.
Here are question:
I added 5 views in the MultiView but all views are tight together.
I can not drag and drop another control such as text boxes or labels into view area.
How to fix it?
What you are showing is the designer for the MultiView. This shows you a design time view of each view, meaning that you can drag and drop controls into the View, or you can add this in directly in the ASPX markup as well.
If you run the page as is, you will only see the contents of the first view. You will need to add additional controls to toggle the current view.
hay aspfun,
could you please use the code tags when you post codes or markup
thanks
You Don't Have to Rate Me. I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter :@avrail
010011000111010101110110001000000100110101111001001000000101000001100011
maybe you drag and drop in the wrong way, i mean maybe you try to drop the control inside the MultiView tags not in the View tags
You Don't Have to Rate Me. I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter :@avrail
010011000111010101110110001000000100110101111001001000000101000001100011
It is very dificulty to add another text box under (not next to the button) textbox1 in view1. The code like below only add textbox2 next to the button1.
This isn't a problem with the MultiView, but rather a problem with the way that you are doing it.
By default, controls are going to want to flow, one after the other. Just because you put the text that is the control on a new line, doesn't mean that it will appear on a new line.
hay,
you can use html table to help you in the layout of the page
You Don't Have to Rate Me. I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter :@avrail
010011000111010101110110001000000100110101111001001000000101000001100011
I would really suggest that you stay away from using a table to control your layout.
Although this might seem like an obvious solution, you WILL run into problems down the line. I would highly recommend that you use CSS to control the layout of the controls on your page.
but really i don't know exactly what the layout you want to do
You Don't Have to Rate Me. I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter :@avrail
010011000111010101110110001000000100110101111001001000000101000001100011
I found that real problem is adding a control which has style. For example, if I add the label below in view1, the layout is fine but if adding in view3, I need to ajust top value. It does not follow "drag and drop".