If you are using c# in asp.net then make javascript function in codebehind and register it with codebehind and call where u need it.
Example:-
private void MsgBox(string msg)
{
string showMsg = "<script language='javas cript'>" +
"alert("+msg+") ;</script>";
RegisterStartup Script("ds",msg );
string str = "<script language='javas cript'>"...
User Profile
Collapse
-
.net project global.asax.cs file namespace error
I have a project that includes references as dll. that dll having namespace such as spname . but when I run it in browser IE . showing error namespace spname could not be found (are u missing a using directive or assembly references) in global.asax.cs file line 5
Buy when I check in line 5 I see "using spname;"
pls. help me....
Dhananjay Singh
No activity results to display
Show More
Leave a comment: