- 博客(13)
- 资源 (6)
- 收藏
- 关注
原创 C# Asp.Net Set Image Url to byte[]
//during data bind img.ImageUrl = "data:image/jpg;base64," + Convert.ToBase64String(data.ImgStream); //data.ImgStream is byte[]
2013-12-30 18:14:17 1882
原创 asp.net get window width/height in server side
Step 1: put a hidden field on asp.net page Step 2: use jquery set value $(document).ready(function() { $("#width").val() = $(window).width(); $("#height").val() = $(win
2013-12-30 09:13:11 1530
原创 Asp.Net Sync & ASync Processing request
ASync &Sync in Asp.net Sync Process request If requestqueue is more than setting value, will return Server Unavailable error (503) ASync Process Request There is
2013-12-24 21:49:16 1393
原创 Asp.Net Cache
Asp.net Cache Output Cache Usage · Cache all request: · : will cache for each request with query string · : cache request with special query string · Var
2013-12-24 19:50:59 1633
原创 Asp.net Binding
Asp.net binding Single value binding Way 1: Step 1: Step 2: callPage.DataBind(); Single value binding can be applied to : a. property b. member c. return value of a meth
2013-12-24 18:45:36 1172
原创 Asp.Net Control Summary
Asp.Net Control Html Server Control · Use Server Change Event totrack event(input , checkbox , radio , select) · Need submit data to Server ,then server can trigger · Vi
2013-12-24 18:24:57 1203
原创 Div Popup fix the page content height
If you change position: absolute to position: fixed it will work in all browsers except IE6. This fixes the div to the viewport, so it doesn't move out of view when scrolling. You can use $(doc
2013-12-24 12:17:09 1150
原创 Div Popup Example
<div id="div_popup_background" runat="server" enableviewstate="True" style="position: absolute; left: 0; top: 0; z-index: 10; width: 100%; height: 150%; background-color: grey;
2013-12-16 14:10:50 1442
转载 Highlight Current Line in Visual Studio 2010
From : http://blog.dileno.com/archive/201010/highlight-current-line-in-visual-studio-2010/ I recently ran into a minor problem with my Visual Studio theme - the current line was highlighted and
2013-12-16 12:08:19 1398
原创 Js AJAX call code behind Web Method
Js AJAX call web method Js : $.ajax({ type: "POST", url: "CustomerPersonalDetails.aspx/SearchAddress", data: "{ 'searchParam': 'abc' }", contentType: "applicatio
2013-12-02 17:41:01 1367
原创 Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb
using WCSF framework , got error : Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb.WebClientApplication'. Step 1: open Global.asax File C
2013-12-02 17:36:09 2955
原创 css style override
in main : .form input{ float: left; width: 50%; font-size: 20px; } in page want float : right (remain another 2 attributes ): .form input{ float: right;
2013-12-02 17:34:03 1584
原创 using Proto buf in WCF
Step 1: download Protobuf and ref in prj Step 2: Simply change DataContract -> ProtoContract DataMember -> Protomember (orderNo) [ProtoContract] public class CompositeType {
2013-12-02 17:29:52 1552
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人