Click here to Skip to main content
15,916,945 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error when upgrading project .net Framework from 3.5 to 4.5 Pin
jkirkerx7-Nov-14 7:18
professionaljkirkerx7-Nov-14 7:18 
QuestionHow to create Custom Project Template in ASP.Net Pin
meeram395-Nov-14 20:07
professionalmeeram395-Nov-14 20:07 
AnswerRe: How to create Custom Project Template in ASP.Net Pin
Richard MacCutchan5-Nov-14 22:32
mveRichard MacCutchan5-Nov-14 22:32 
Questionsend data between ASP.NET Pages Pin
Member 111107675-Nov-14 20:00
Member 111107675-Nov-14 20:00 
AnswerRe: send data between ASP.NET Pages Pin
ZurdoDev6-Nov-14 2:09
professionalZurdoDev6-Nov-14 2:09 
GeneralRe: send data between ASP.NET Pages Pin
shaluIT8-Nov-14 14:27
shaluIT8-Nov-14 14:27 
QuestionCorrectly displaying styled label? Pin
Member 87616675-Nov-14 12:09
Member 87616675-Nov-14 12:09 
AnswerRe: Correctly displaying styled label? Pin
Peter Leow5-Nov-14 14:24
professionalPeter Leow5-Nov-14 14:24 
GeneralRe: Correctly displaying styled label? Pin
Member 87616675-Nov-14 14:39
Member 87616675-Nov-14 14:39 
AnswerRe: Correctly displaying styled label? Pin
Peter Leow5-Nov-14 14:55
professionalPeter Leow5-Nov-14 14:55 
GeneralRe: Correctly displaying styled label? Pin
Member 87616675-Nov-14 15:03
Member 87616675-Nov-14 15:03 
AnswerRe: Correctly displaying styled label? Pin
jkirkerx6-Nov-14 7:14
professionaljkirkerx6-Nov-14 7:14 
GeneralRe: Correctly displaying styled label? Pin
Member 87616676-Nov-14 7:54
Member 87616676-Nov-14 7:54 
GeneralRe: Correctly displaying styled label? Pin
jkirkerx6-Nov-14 8:15
professionaljkirkerx6-Nov-14 8:15 
GeneralRe: Correctly displaying styled label? Pin
Member 87616676-Nov-14 9:09
Member 87616676-Nov-14 9:09 
GeneralRe: Correctly displaying styled label? Pin
jkirkerx6-Nov-14 9:23
professionaljkirkerx6-Nov-14 9:23 
I don't feel comfortable with that, it should be double quote marks.

The iForget was just a placeholder, I wasn't able to remember the name of the CSS class, perhaps you have 2 CSS classes with the same name? Anyways complete your testing using the same name and then change it later, back to something more elegent.

Cleanup the .iForget CSS Class, and just put 1 display statement in it for display: none;
.iForget {
   display: none;
   font: normal 14px 'Droid Sans' , 'Trebuchet MS' , Arial, sans-serif;
   color: #ffffff;
   position: absolute;
   top: 330px;
   border: 1px solid white;
   padding: 15px;
}


In you button code, it should be
Protected Sub uploadButton_Click(sender As [Object], e As EventArgs)
  
  If Page.IsPostback then

   With messageArea //To Show the Message use 'inline-block'
     .style.remove(HtmlTextWriterStyle.display)
     .style.add(HtmlTextWriterStyle.display, "inline-block")
   End With

  End If

End Sub


but remember that the label or span tag will not change until the page posts back to the server and makes the round trip. So I'm not sure what the button click does, if it uploads a file, then the label will not change until the file upload is complete.

So this setup here will make the label not appear. You click the button, the tasks will complete, and then the label will appear.
GeneralRe: Correctly displaying styled label? Pin
Member 87616676-Nov-14 10:04
Member 87616676-Nov-14 10:04 
GeneralRe: Correctly displaying styled label? Pin
jkirkerx6-Nov-14 10:06
professionaljkirkerx6-Nov-14 10:06 
GeneralRe: Correctly displaying styled label? Pin
Member 87616676-Nov-14 10:38
Member 87616676-Nov-14 10:38 
GeneralRe: Correctly displaying styled label? Pin
jkirkerx6-Nov-14 10:50
professionaljkirkerx6-Nov-14 10:50 
GeneralRe: Correctly displaying styled label? Pin
Member 87616676-Nov-14 10:57
Member 87616676-Nov-14 10:57 
Questiondisplay contents of GAC 3.5 and 4.5 versions Pin
pmcm5-Nov-14 5:43
pmcm5-Nov-14 5:43 
QuestionThe future of WCF Pin
josephdoggie5-Nov-14 3:44
josephdoggie5-Nov-14 3:44 
AnswerRe: The future of WCF Pin
ZurdoDev5-Nov-14 5:16
professionalZurdoDev5-Nov-14 5:16 
AnswerRe: The future of WCF Pin
Jameel VM5-Nov-14 18:43
Jameel VM5-Nov-14 18:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.