The server block is not well formed
Hi all, I've received this error ever since I decided to host my website. Can somebody please advice on how to fix the problem?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Khargesh RajputPosted May 11, 2015, 11:58 PM
I have no more idea about gritter but i know gritter will show message as you want.
search for gritter google.
syntax is like this
ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "CallJS", "showGritter('Record Not Found...','No Record For Search','top-center');", true);
return;
Yi Rong TanPosted May 11, 2015, 9:48 PM
Thank you so much for helping me all these while! One last thing I hope you can help me with:
Please refer to the below codes. How do I Transfer this block of code to use a response of a Javascript messagebox ?
Khargesh RajputPosted May 11, 2015, 1:33 AM
To display message you can use javascript alert
like
string message = "wrong emailid .";
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("");
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", sb.ToString());
Yi Rong TanPosted May 11, 2015, 1:25 AM
I've managed to fix the earlier errors. Thanks alot! However now I'm facing an error pertaining to the message box in my page. Can you kindly advise on this too? Many thanks!
Khargesh RajputPosted May 11, 2015, 12:05 AM
there should be same name.
and here why you have write masterpage==
there should be single = operator
Yi Rong TanPosted May 11, 2015, 12:01 AM
I've changed the text to "Login". However, I'm still facing the same error.
Khargesh RajputPosted May 10, 2015, 11:42 PM
and it inherits to Default page
If login is page name then it should inherit login and in cs code name should be same
check it