Alerts how to

promotec asked 3 months ago

Hi there,i try to use Alerts whit c# asp.net webform, but i dont understand how its works, is there a more dummy example like an html? i guess dont need to use that thing calling Toast. just the alerts calling from codebehind, any example? Ps: Thanks! and sorry my bad english


Hello,

thank you for your more detailed explanation.
If you want to trigger bootstrap alert, please check out this documentation.
I've also created for you a small demonstration in jsfiddle, check it out here LINK
As you see, bootsrap alerts are visible by default. If you want for example to trigger it by clicking a button, you have to write some css first.
Is this resolve your problem?


promotec commented 2 months ago

Thanks a lot for your response, isn´t exactly what i need but i can start from here.


Anna Morawska commented 2 months ago

You are welcome, good luck :)
Ania


Hello promotec,
could you clarify what exactly you want to do? If you need just a simple alert, check out this example.
Let me know if this solves your problem.
Best,
Ania


promotec commented 2 months ago

Yes, looks like its confuse, what i need is: where's the simple way to call alerts like boostrap?
ex:
<pre><div class="alert alert-success">
  <strong>Success!</strong> Indicates a successful or positive action.
</div></pre>
 


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No