Skip to content

Toast Alert Library written in C# mapping the JavaScript function

Notifications You must be signed in to change notification settings

VijayK1990/ToastAlertwithCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ToastAlertwithCSharp

Toast Alert Library written in C# mapping the JavaScript function

Simple Implementation

protected void BtnShowToast_Click(object sender, EventArgs e)
    {
        ToastType = Convert.ToInt32(DdlToastType.SelectedValue),
            CssClass = DdlToastPosition.SelectedValue,
            Title = TxtToastTitle.Text,
            Message = TxtToastMessage.Text,
            ExtendRules = new ExtendedToastAlertRules()
            {
                EnableDebugging = false
            }
        };

        Page.ClientScript.RegisterStartupScript(GetType(), 
					JavascriptCodeIdentifier.SHOW_TOAST_ALTER_BAR, ToastAlerter.EmbedToastAlertCodeBlock(Toal), true);
    }

About

Toast Alert Library written in C# mapping the JavaScript function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published