Tuesday, January 8, 2013

How to add new style kendo on ui control

Some time we need to customize our control and for that we use style. I am not going to details. i am just showing where to use the style on kendo ui control. consider the date picker control we can see

  @(Html.Kendo().DatePicker()  
        .Name("monthpicker")  
        .Format("MMMM yyyy")  
        .Value("November 2011")  
        .HtmlAttributes(new { style = "width:150px" })  
     )  

so we can use style  declaring on

.HtmlAttributes(new { style = "width:150px" })  

C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...