>Hi
>
>I have a web form.
>
>I want to check if a textbox is empty.
>
>At the moment I have button click with this code
>
>
Response.Write("<script>alert('Enter team name')</script>");
>
>this gives me a message but at the same time the browser window behind goes blank.
>
>Any ideas how I can stop that happening or other ways to display a message.
>
>
>Thanks
>
If you're using AJAX you can use button_extender control.
If it's not broken, fix it until it is.
My Blog