Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to show popup in aspx pages on VS 2012 #27

Open
deekshitkumar opened this issue Nov 1, 2013 · 0 comments
Open

Unable to show popup in aspx pages on VS 2012 #27

deekshitkumar opened this issue Nov 1, 2013 · 0 comments

Comments

@deekshitkumar
Copy link

Hi,
I'm unable to display the popup in my master page in ASP.NET
The toast related markup:
Undefined symbol $
Kindly Help.

[code]

//

within script tag
this was generated by a function as follows:

public void showmessage(string message, int choice)
{
string type="",script="";
switch(choice)
{
case 1:type="success";
break;
case 2:type="notice";
break;
case 3:type="warning";
break;
case 4:type="error";
break;
}
script="$().toastmessage('showToast',{";
script+="text:'"+message+"',";
script+="sticky:true,";
script+="type:'"+type+"'});";
ScriptManager.RegisterClientScriptBlock(Page,this.GetType(),"Msg",script,true);
//client.RegisterClientScriptBlock(this.GetType(),"Msg",script);
}

[/code]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant