http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ModalPopup/ModalPopup.aspx[^] may be this is what you want
C
cramteke
@cramteke
Posts
-
disable or remove minimize and maximize buttons in a startupwindow -
button in Repeater itemsince you are dynamically adding control so the controls are not saved. try adding the controls when the page post back aging and it should work then
-
How to refresh the ASP.Net page after asynchronously updating the contents of pagekeep some hidden button in the page and call button1.click() or __dopostback("","") or this.form[0].submit()
-
disable or remove minimize and maximize buttons in a startupwindowtry window.open function
-
How to ignore -ve value while sorting generic list in c#.you can do some thing like this
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
List<decimal> lstIntCol = new List<decimal>();
lstIntCol.Add(0.3M);
lstIntCol.Add(0.2M);
lstIntCol.Add(-0.3M);
lstIntCol.Sort(new decimalComparer());
foreach (decimal d in lstIntCol)
{
Response.Write(d.ToString() + "--");
}
}
}public class decimalComparer : System.Collections.Generic.IComparer<decimal>
{#region IComparer<decimal> Members public int Compare(decimal x, decimal y) { return decimal.Compare(Math.Abs(y),Math.Abs(x)); } #endregion
}