Click here to Skip to main content
15,902,189 members

Comments by Hardus Lombaard (Top 10 by date)

Hardus Lombaard 5-Apr-11 4:54am View    
Deleted
The server side name of my label is "lblCase". I changed my code to the following but it still doesn't work:
<pre>
protected void Page_Unload(object sender, EventArgs e){ //hide case number label this.Page.ClientScript.RegisterClientScriptBlock(typeof(string), "hidelabel", "<script language=javascript>$get('" + this.lblCase.ClientId + "').style.display = 'none';</script>");}
</pre>
Hardus Lombaard 5-Apr-11 4:53am View    
The server side name of my label is "lblCase". I changes my code to the following but it still doesn't work:
<pre>
protected void Page_Unload(object sender, EventArgs e){ //hide case number label this.Page.ClientScript.RegisterClientScriptBlock(typeof(string), "hidelabel", "<script language="javascript">$get('" + this.lblCase.ClientId + "').style.display = 'none';</script>");}
</pre>
Hardus Lombaard 15-Sep-10 8:07am View    
Nope I was wrong - I still have all the errors, but the project builds successfully. This is very strange. Visual Studio reports 0 errors after a successful build, but then after a while and some activity it again reports the same errors. Don't know why. :(
Hardus Lombaard 15-Sep-10 4:45am View    
So you suggest that I should just continue with my work and ignore all this? I'm afraid that I might get problems in the future.
Hardus Lombaard 24-Aug-10 10:44am View    
I was in a hurry for an answer and you saved me. Thanks a lot!