Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

panel question

Hi Experts,

I have asp:panel and asp:textbox.
The problem is that when I do panel.style.display = "block" it shows up fine but it is transparant and I see textbox behind it.
Any ideas ?

Thank you.
0
fpoyavo
Asked:
fpoyavo
2 Solutions
 
tomvergoteCommented:
are you using gridlayout of flowlayout?

right click the form and select properties and check the dropdown
0
 
fpoyavoAuthor Commented:
Not following you. Please more details. I have form containing textbox and panel.
0
 
tomvergoteCommented:
yes, but it is important for me to know if the form you are talking about is using gridlayout or flowlayout.
Right click the form and select properties (make sure you click the form, not a control)
or
check the html source, somewhere in the head tag there should be gridlayout or formlayout
or
check if there is a dotted grid over the form in designmode

or post your html source here so i can check for myself.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
fpoyavoAuthor Commented:
Hi,

I just have <form id="Form1" method="post" runat="server">
I don't have grid 100%. there is no dotted grid in design mode as well.

Thank you.
0
 
fpoyavoAuthor Commented:
I have found : it is FlowLayout
0
 
tomvergoteCommented:
could you post the page/css/scripts?
0
 
fpoyavoAuthor Commented:
It has just regular asp:TextBox and asp:Panel
0
 
Farshid-ZakerCommented:
hi fpoyavo,
If the text box is in the panel then it's behaviour is ok. I mean, the text box, should be shown inside the panel.
<asp:panel ...><asp:TextBox...></asp:TextBox></asp:Panel>

But if it's in the form of <asp:panel ...></asp:Panel><asp:TextBox...></asp:TextBox>, then your page is grid layout, or your positioning as ABSOLUTE and your text box is on top of your panel. In the other words, their position has overlap.
Although, you have just simple text box and panel, sending your form would be helpful.

Thanks,
Farshid
0
 
gwapoCommented:
Since your design is in FlowLayout, it made obvious that your TextBox is inside the Panel, meaning the Panel is not transparent, it is just showing its content, i.e., Controls and Literal Controls
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now