CSS Formatting disappears after JavaScript Alertbox clicked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gwyn Thomas
    New Member
    • Jan 2008
    • 10

    #16
    Yes, once the button in the gridview is clicked the code behind processes the request and if a matching file exists it is played, if not, the alert box is shown on the page being re-loaded. At this point the text comes back a different size behind the alert box.

    On clicking one of the other buttons on the form which causes a postback the text is returned to normal.

    Comment

    • yogesh8585
      New Member
      • Jul 2010
      • 1

      #17
      I have got the solution

      Please remove where you write Response.Write( message)
      instead of this use

      message= "r u ok";
      ScriptManager.R egisterClientSc riptBlock(this,
      this.GetType(), Guid.NewGuid(). ToString(), message,true);


      respoce.write causing the problem

      Comment

      Working...