Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this:
ASP.NET
<asp:TextBox ID="TextBox1" CssClass="input-small" runat="server" 
        style="z-index: 1; left: 20px; top: 150px; position: absolute "></asp:TextBox>

I have linked the css classes of bootstrap to my page properly. I am using a simple javascript alert (not that provided with bootstrap) that displays whether email is valid or invalid.

The Problem: When the page is loaded for the first time, every thing is fine. Then I take input in the text box and press the login button, the js alert is displayed. When I click the ok button on the alert box and the web page is again displayed, the height of textbox is shrunk.
Is there anything which I am missing?
Posted

I can't say much looking at the code you have provided. Try to use IE developer toolbar and see what has changed in terms of styles.

P.S. : Better move the inline styling to a css class and use it.
 
Share this answer
 
Try to use Firebug
or put your coded code in update pannel
 
Share this answer
 
Comments
Omkar Hendre 10-Sep-14 8:49am    
after page post back jquery or java script is not work properly

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