GridView date formatting

by Henrik Stenbæk 23. October 2007 11:44

DataFormatString="{0:dd-MM-yyyy}" HtmlEncode="false"

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: snippets

Need a custom ajax loader icon

by Henrik Stenbæk 4. October 2007 23:43

Generate it at ajaxload.info/

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Resources

Matt Berseth shows ModalPopup with Multiple Cancel Buttons

by Henrik Stenbæk 3. October 2007 14:42

based on: http://mattberseth.com/blog/2007/10/modalpopup_with_multiple_cance.html

1. Add BehaviorID to the Popupextender:

<cc1:ModalPopupExtender BehaviorID="mdlPop" ..

(from Ajax.asp.net: BehaviorID: In cases where you would like to access the client-side behavior for your extender from script code in the client, you can set this BehaviorID to simplify the process.)

2. Add code to the cancel buttons:

.. OnClientClick="$find('mdlPop').hide();return false;" ..

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: AJAX | snippets