| Author: Satinder Kumar 07 Nov 2009 | Member Level: Bronze | Rating:  Points: 2 |
write the code to clear the label on the page load out side the not ispostback condition
label1.text="" if not ispostback then 'other code goes here end if
|
| Author: SuganyaCMR 07 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
hi,
you are given the label text field as "inserted suc..." like this. first empty the message in the property window. and in the save button click event type a message as label.text="......"; so you can solve the above problem
Regards, Suganya
In order to succeed, you must first be willing to fail! Rate my post!.If u found useful
|
| Author: kumar 07 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
hi thanks for the replay right now i am doing like that only. but still i am not able to clear the success message when Required field valdations fails
|
| Author: Arun K 09 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
you can write js for clear that label
function ClearLabel() {
document.getElementById("<%=labelName.ClientID %>").InnerHtml=""
}
Regards: Arun K .NET Developer http://aruninnice.blogspot.com/ Bangalore Do not forget to Rate the post...
|