March 10th, 2010 — 5:05am
Devexpress kontrollerinden webchartcontrol ile farklı türlerde iki seriden grafik oluşturumayı gösteren bir video hazırladım. 2 dakikada nasıl yapıldığını görebilirsiniz.
Video ayrıca çok büyük ve küçük değerlere sahip serilerde otomatik eksen bölümlemenin nasıl yapıldığınıda gösteriyor. (autoscalebreaks)
Comment » | Asp.Net
January 6th, 2010 — 5:46am
on iis 7 there is an option to enable 32 bit applications. if you stuck in an exception be sure you enabled this.

http://sjc.ironspeed.com/post?id=3728528
Comment » | Asp.Net
May 26th, 2009 — 7:37am
CrystalDecisions.Web.CrystalImageHandler web config’den tanıtılmadığı için grafikleri göremiyor olabiliriz.
uygun versiyonda handler’ı ekleyerek aşabiliriz.
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx"
type="CrystalDecisions.Web.CrystalImageHandler,
CrystalDecisions.Web, Version=10.2.3600.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</httpHandlers>
toolbar’daki resimler gözükmüyorsa,
server’da inetpub klasöründe aspnet_client klasörü var. O klasörü projenizin çalıştığı klasöre kopyalayarak aşabiliriz.
Comment » | Asp.Net
February 10th, 2009 — 5:33am
Handlerlar default olarak session değerlerini getirmiyorlar.
Erişmek istediğinizde null oluyor. Eğer null olmasın istiyorsanız IRequiresSessionState veya IReadOnlySessionState interfacelerini implemente etmeniz gerekiyor.
using System.Web;
using System.Web.SessionState;
public class MyHandler : IHttpHandler, IRequiresSessionState
{
public MyHandler()
{
}
#region IHttpHandler Members
public bool IsReusable
{
get { return true; }
}
public void ProcessRequest(HttpContext context)
{
//do work
context.Session["MyValue"] = "New Value";
}
#endregion
}
Comment » | Asp.Net
January 30th, 2009 — 3:32am
by using this static method we can shutdown our web application. Maybe it is not so useful, but we should know…
//Terminates the current application, it restarts next time it is requested.
System.Web.HttpRuntime.UnloadAppDomain();
msdn
Comment » | Asp.Net
January 26th, 2009 — 4:55am
When we need javascript actions from asp.net we need to use RegisterClientScriptBlock method.
it is a better practice to make a js actions class and put your common js methods in it.
this little method below alerts from any page when you call the JsAlert Method.
JsActions.JsAlert("Hi Serdar ;)");
public static class JsActions
{
public static void JsAlert(string alertText)
{
Page p = HttpContext.Current.Handler as Page;
p.ClientScript.RegisterClientScriptBlock(p.GetType(),
"myAlert",
string.Format("<script>alert('{0}');</script>", alertText));
}
}
dotnetslackers
Comment » | Asp.Net