Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET bootstrap
I am using this:
<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 19-Jan-13 5:05am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Try to use Firebug
or put your coded code in update pannel
  Permalink  
Comments
Omkar Hendre at 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)

  Print Answers RSS
0 BillWoodruff 260
1 Mathew Soji 244
2 Afzaal Ahmad Zeeshan 232
3 OriginalGriff 231
4 Maciej Los 230
0 OriginalGriff 6,419
1 Sergey Alexandrovich Kryukov 6,008
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,070


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 29 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100