Add subtitles in quicktime (Mac OS)

By default Quicktime does not put the subtitles in movies. To insert subtitles when you watch movies, you must install a program called Perian.

Download - Perian Site

If we want to see movies in wmv Quictime or Mac OS have to install a necessary codec, Flip4Mac

Download – Site
Read More... Add subtitles in quicktime (Mac OS)

Menu Asp.NET and the browsers Chrome / Safari

There is an existing problem in the ASP.NET Menu control, which makes the menu not rendered correctly in these browsers and derivatives (AppleWebKit). What actually happens is that the server detects the user's user agent (client) and then mount the menu according to this, however, compared to Safari / Chrome and its derivatives, does not recognize them as browsers that are capable, and so the whole menu is 'destroyed'

So there are some ways to inform the ASP.NET existence of these browsers, I'll explain some ways that might lead to you:

Form 1: You create a folder App_Browsers, and within that create a file eg 'safari.browser, which should contain the following:
The way is then alert the Asp.NET the existence of these browsers. And this just create a folder and a file.

If you no longer exist, create a folder in your project App_Browsers. And inside it create a file called safari.browser, which should contain the following:









Form 2: You can add this piece of code to the MasterPage's Page_Load event

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
Request.Browser.Adapters.Clear();
}

Form 3: Add this method in the MasterPage,

protected void Page_PreInit(object sender, EventArgs e)
         {
             // This is necessary because Safari and Chrome browsers don't display the Menu control correctly.
             // All webpages displaying an ASP.NET menu control must inherit this class.
             if (Request.ServerVariables["http_user_agent"].IndexOf("Safari", StringComparison.CurrentCultureIgnoreCase) != -1)
                 Page.ClientTarget = "uplevel";
         }

Form 4: Another method is adding this method in the MasterPage

protected override void AddedControl(Control control, int index)
{
// This is necessary because Safari and Chrome browsers don't display the Menu control correctly.
// Add this to the code in your master page.
if (Request.ServerVariables["http_user_agent"].IndexOf("Safari", StringComparison.CurrentCultureIgnoreCase) != -1)
this.Page.ClientTarget = "uplevel";

base.AddedControl(control, index);
}
Read More... Menu Asp.NET and the browsers Chrome / Safari