Telerik RadGrid layout problem with Visual Studio 2013 'EnableBrowserLink'

While working with Visual Studio 2013 and Telerik RadGrid Control, I saw something so strange,
the RadGrid rendered in a wrong way.
I know my css, I used it before and there was nothing on it wrong. the only different is that I used VS2013 instead of VS2012,
So I searched about this problem.
and here is my search result.
there is some tag can be placed inside the web.config file
-- add this to the web.config file.
<add key="vs:EnableBrowserLink" value="false" />
this will fix the problem.
and here is a complete article about it.
The new Browser Link feature in VS 2013 is causing an error when DetailTable of Hierarchy RadGrid is expanded.

it looks like VS2013 problem, hope Microsoft solve it sooner.

How to remove the watermark from Amazing Slider JQuery lib.

Please find the latest version 6.7 article Here

when I saw it, I said wow, it is awesome, but after using it, there was a watermark on the images,
which make everything looks bad. so i told my self I had to share this with the world. it cost $249

 inside sliderengine folder open amazingslider.js file with any editor and search for this 

text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333

 when you find it search for this part

this.options.fvm

on the second time you find it, replace it with '' 
and then save your file. and then reload your html page. there will be no watermark

update :
some of the people are complaining that, this trick is not working for them,
if you already found this part


text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333
change it to

text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;display:none;




update for version 5.3:
search for

visibility:visible !important;z-index:999999 !important;



you should locate one, then before this look for wposcss change the display to none

update for version 6.3:
first you need to search for this pattern 
{style:mkdiv.attr("style")+"display:block!important;visibility:visible!important;font-size:12px!important;"}
and then change it with this one  
{style:mkdiv.attr("style")+""}

then search for this pattern 
from the beginning of the js file 
display:block !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999
and change it to this 
display:none !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999

save the file and run the html screen 
it should work :) 

How to create Extension method C#

sometimes you need to change an object to another value or to do some calculations on this object.
for example, you had a simple asp.net dropdownlist control and it contains a value for id, and these id's is integers.
so to get the value you need to do something like this
int id = Convert.ToInt32(ddl.SelectedValue);
but what if the SelectedValue was not integer, this will through an .net exception, so you need to write more code, to make sure that the selected value is not empty string. and so on.

so here comes the Extension methods.

the class must be static and the method also must be static and you need to decide which object the method will work on. it can be int, string or even object the parent class for every other classes on .net,

so, I'm gonna stick with the dropdownlist example right now.
namespace Demo
{
    public static class Extension
    {
        public static int ToInt(this string val)
        {
            int d = 0;

            if (!string.IsNullOrEmpty(val.Trim()))
                int.TryParse(val.Trim(), out d);

            return d;
        }
    }
}
as you can see here the namespace is Demo, the class is static and also the method is static.
now how to use it.
using Demo;

string str = "34";
int convertedNum = str.ToInt();
just like this, and the default value will be there, also if there was any error it will be zero.

filter attribute that checks whether current connection is secured

using APS.net Core to mark all website pages working with https protocol we will do this using IAuthorizationFilter. and here is an exampl...