locked
setting InterpolationMode CS0103: The name 'InterpolationMode' does not exist in the current context RRS feed

  • Question

  • User-860945821 posted

    error

    <!--StartFragment --> Compiler Error Message: CS0103: The name 'InterpolationMode' does not exist in the current context

    Source Error:

    Line 64:         Graphics grPhoto = Graphics.FromImage(bmPhoto);
    Line 65:         grPhoto.Clear(Color.White);
    Line 66:         grPhoto.InterpolationMode = InterpolationMode.HighQualityBicubic;
    Line 67:         //grPhoto.InterpolationMode =


    Code...

    <%@ Page Language="C#" %>
    <%
    @ Import Namespace="System.Drawing" %>
    <%
    @ Import Namespace="System.Drawing.Imaging" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script type="text/C#" runat="server">

    void Page_Load() {
    //The @ means "Ignore escape characters!" in the following string. It is a verbatim
    //literal string - any backslashes (and newlines) in the string are not treated as
    //escape characters or real line terminators.
    //FileInfo f = new FileInfo( @"C:\Test.txt" );
    //FileInfo f = new FileInfo("C:\\Test.txt");

    string WorkingDirectory = @"C:\test";
    System.Drawing.
    Image imgPhotoVert = System.Drawing.Image.FromFile(WorkingDirectory + @"\JillandBen.jpg");
    System.Drawing.
    Image imgPhoto = null;
    imgPhoto = FixedSize(imgPhotoVert, 100, 100);
    imgPhoto.Save(WorkingDirectory +
    @"\newJIllandBen.jpg", ImageFormat.Jpeg);
    imgPhoto.Dispose();
    }

    static System.Drawing.Image FixedSize(System.Drawing.Image imgPhoto, int Width, int Height){
    //code from http://www.codeproject.com/csharp/imageresize.asp

    //to better understand the code go here
    //http://msdn.microsoft.com/en-us/library/k0fsyd4e(VS.80).aspx

    int sourceWidth = imgPhoto.Width;
    int sourceHeight = imgPhoto.Height;
    int sourceX = 0;
    int sourceY = 0;
    int destX = 0;
    int destY = 0;|
    float nPercent = 0;
    float nPercentW = 0;
    float nPercentH = 0;

    nPercentW = ((float)Width / (float)sourceWidth);
    nPercentH = ((
    float)Height / (float)sourceHeight);

    if (nPercentH < nPercentW){
    nPercent = nPercentH;
    destX = System.
    Convert.ToInt16((Width - (sourceWidth * nPercent)) / 2);
    }

    else{
    nPercent = nPercentW;
    destY = System.
    Convert.ToInt16((Height - (sourceHeight * nPercent)) / 2);
    }

    int destWidth = (int)(sourceWidth * nPercent);
    int destHeight = (int)(sourceHeight * nPercent);

    Bitmap bmPhoto = new Bitmap(Width, Height, PixelFormat.Format24bppRgb);
    bmPhoto.SetResolution(imgPhoto.HorizontalResolution, imgPhoto.VerticalResolution);
    Graphics grPhoto = Graphics.FromImage(bmPhoto);
    grPhoto.Clear(
    Color.White);
    grPhoto.InterpolationMode = InterpolationMode.HighQualityBicubic;
    grPhoto.DrawImage(imgPhoto,
    new Rectangle(destX, destY, destWidth, destHeight),
    new Rectangle(sourceX, sourceY, sourceWidth, sourceHeight),

    GraphicsUnit
    .Pixel);
    grPhoto.Dispose();
    return bmPhoto;
    }

    Saturday, March 25, 2006 4:32 PM

All replies

  • User-1029435529 posted

    Add the following additional import to the top of your page:

        <%@ Import Namespace="System.Drawing.Drawing2D" %>
     

    Saturday, March 25, 2006 5:49 PM
  • User-860945821 posted

    You are my hero.

     

     

    Monday, March 27, 2006 10:38 AM
  • User-2093932949 posted

     I have very similar problem. (works on my local machine fine, but when i upload to my server[godaddy], it gives the error shown below).

    Code below.

     

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0103: The name 'textToPass' does not exist in the current context

    Source Error:


    Line 41:                                 <div style="background-color: #11AEE3; border-style: dashed; border: 2px; border-color: White;">
    Line 42: <%--<iframe src=<%=_watchLink %>; width='680' height='480' scrolling='no' frameborder='0'></iframe>--%>
    Line 43: <object width="640" height="481"><param name="movie" value=<%= textToPass %>></param><param name="allowFullScreen" value="true"></param><embed src=<%= textToPass %> type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="481"></embed></object>
    Line 44: <%--<object width="640" height="271"><param name="movie" value="http://www.megavideo.com/v/BE93C9ZNfe0d95d2b7c7171882a9fc42419bf139"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/v/BE93C9ZNfe0d95d2b7c7171882a9fc42419bf139" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="271"></embed></object>--%>
    Line 45: <%--Mr. Woodcock - http://www.megavideo.com/v/HQNL2JF66adb9bb6bfa32c57fcb809d799850978, 

     

     .aspx page code where error occurs:

    <object width="640" height="481"><param name="movie" value=<%= textToPass %>></param><param name="allowFullScreen" value="true"></param><embed src=<%= textToPass %> type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="481"></embed></object>

     

    .cs page code:



            protected void Page_Load(object sender, EventArgs e)
            {
               
                try
                {
                    if (!Page.IsPostBack)
                    {                   
                        Service1Client svc = new Service1Client();
                        if (Request.QueryString["Id"] != null)
                        {
                            Id = Convert.ToInt32(Request.QueryString["Id"]);
                            MoviesDescription data=svc.GetVideoUrl(Id);
                            MediaPlayer1.MediaSource = data.URL;
                            textToPass = "http://www.megavideo.com/v/1DQ6W4CKd18ada78206754a1849049a92855f9a6";   
                            _watchLink = "http://www.megavideo.com/v/B7X1DO38a3f8a49bb531dc0aa41cb058296da4f6";
                            _movieName = "'" + data.Name.Trim() + "'";
                            _VideoTitle = data.Name.Trim();
                            imgMovie.Src = (data.Thumbnail.ToString() != string.Empty)?data.Thumbnail.ToString():"images/noimage.jpg" ;  
                            lblMovieNameDesc.Text = data.Name; 
                            lblMovieDetailsDesc.Text = data.Description_Tag_Line;
                            label_PageTitle.Text = "Watch " + data.Name.Trim() + " Trailer & Movie";
                            Page.Title = data.IMDB_Link.Trim();
                            rating.CurrentRating = Convert.ToInt32(data.Rating);  
                            svc.SQLTOXML(data.Genre);
                           
                        }
                    }               
                }
                catch  {}
            }

     

    Any help will be greatly appreciated!

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Tuesday, November 18, 2008 11:13 PM
  • User-2093932949 posted

     Adding the entire error page that I am getting on the server.

     

    Server Error in '/' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0103: The name 'textToPass' does not exist in the current context

    Source Error:


    Line 42:                                 <div style="background-color: #11AEE3; border-style: dashed; border: 2px; border-color: White;">
    Line 43: <%--<iframe src=<%=_watchLink %>; width='680' height='480' scrolling='no' frameborder='0'></iframe>--%>
    Line 44: <object width="640" height="481"><param name="movie" value=<%= textToPass %>></param><param name="allowFullScreen" value="true"></param><embed src=<%= textToPass %> type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="481"></embed></object>
    Line 45: <%--<object width="640" height="271"><param name="movie" value="http://www.megavideo.com/v/BE93C9ZNfe0d95d2b7c7171882a9fc42419bf139"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/v/BE93C9ZNfe0d95d2b7c7171882a9fc42419bf139" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="271"></embed></object>--%>
    Line 46: <%--Mr. Woodcock - http://www.megavideo.com/v/HQNL2JF66adb9bb6bfa32c57fcb809d799850978,

    Source File: d:\hosting\3178491\html\videos.aspx    Line: 44


    Show Detailed Compiler Output:

    C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\assembly\dl3\8050dceb\7e166cc9_7847c901\MuvieFlicks.DLL" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\assembly\dl3\e0956e9d\44053d89_f63fc901\AjaxControlToolkit.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions.Design\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_iyuce6fd.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\assembly\dl3\cd94b0b7\c5bb1efb_f63fc901\System.Web.Silverlight.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_oh5a8udj.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\oh5a8udj.res" /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_oh5a8udj.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_oh5a8udj.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_oh5a8udj.2.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7aa694a7\f1f3de3c\App_Web_oh5a8udj.3.cs"


    Microsoft (R) Visual C# 2008 Compiler version 3.5.21022.8
    for Microsoft (R) .NET Framework version 3.5
    Copyright (C) Microsoft Corporation. All rights reserved.

    d:\hosting\3178491\html\videos.aspx(44,100): error CS0103: The name 'textToPass' does not exist in the current context
    d:\hosting\3178491\html\videos.aspx(44,188): error CS0103: The name 'textToPass' does not exist in the current context

    Show Complete Compilation Source:

    Line 1:    #pragma checksum "D:\Hosting\3178491\html\videos.aspx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8D568FE820C4FBC444C208FC41B5C196"
    Line 2: //------------------------------------------------------------------------------
    Line 3: // <auto-generated>
    Line 4: // This code was generated by a tool.
    Line 5: // Runtime Version:2.0.50727.1434
    Line 6: //
    Line 7: // Changes to this file may cause incorrect behavior and will be lost if
    Line 8: // the code is regenerated.
    Line 9: // </auto-generated>
    Line 10: //------------------------------------------------------------------------------
    Line 11:
    Line 12: namespace ASP {
    Line 13:
    Line 14: #line 322 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 15: using System.Web;
    Line 16:
    Line 17: #line default
    Line 18: #line hidden
    Line 19:
    Line 20: #line 321 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 21: using System.Text.RegularExpressions;
    Line 22:
    Line 23: #line default
    Line 24: #line hidden
    Line 25:
    Line 26: #line 7 "D:\Hosting\3178491\html\videos.aspx"
    Line 27: using System.Web.UI.WebControls;
    Line 28:
    Line 29: #line default
    Line 30: #line hidden
    Line 31:
    Line 32: #line 325 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 33: using System.Web.Security;
    Line 34:
    Line 35: #line default
    Line 36: #line hidden
    Line 37:
    Line 38: #line 320 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 39: using System.Text;
    Line 40:
    Line 41: #line default
    Line 42: #line hidden
    Line 43:
    Line 44: #line 324 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 45: using System.Web.SessionState;
    Line 46:
    Line 47: #line default
    Line 48: #line hidden
    Line 49:
    Line 50: #line 316 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 51: using System;
    Line 52:
    Line 53: #line default
    Line 54: #line hidden
    Line 55:
    Line 56: #line 7 "D:\Hosting\3178491\html\videos.aspx"
    Line 57: using System.Web.UI.WebControls.WebParts;
    Line 58:
    Line 59: #line default
    Line 60: #line hidden
    Line 61:
    Line 62: #line 318 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 63: using System.Collections.Specialized;
    Line 64:
    Line 65: #line default
    Line 66: #line hidden
    Line 67:
    Line 68: #line 1 "D:\Hosting\3178491\html\videos.aspx"
    Line 69: using ASP;
    Line 70:
    Line 71: #line default
    Line 72: #line hidden
    Line 73:
    Line 74: #line 7 "D:\Hosting\3178491\html\videos.aspx"
    Line 75: using System.Web.UI;
    Line 76:
    Line 77: #line default
    Line 78: #line hidden
    Line 79:
    Line 80: #line 326 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 81: using System.Web.Profile;
    Line 82:
    Line 83: #line default
    Line 84: #line hidden
    Line 85:
    Line 86: #line 5 "D:\Hosting\3178491\html\videos.aspx"
    Line 87: using MuvieFlicks;
    Line 88:
    Line 89: #line default
    Line 90: #line hidden
    Line 91:
    Line 92: #line 323 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 93: using System.Web.Caching;
    Line 94:
    Line 95: #line default
    Line 96: #line hidden
    Line 97:
    Line 98: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 99: using AjaxControlToolkit;
    Line 100:
    Line 101: #line default
    Line 102: #line hidden
    Line 103:
    Line 104: #line 317 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 105: using System.Collections;
    Line 106:
    Line 107: #line default
    Line 108: #line hidden
    Line 109:
    Line 110: #line 7 "D:\Hosting\3178491\html\videos.aspx"
    Line 111: using System.Web.UI.SilverlightControls;
    Line 112:
    Line 113: #line default
    Line 114: #line hidden
    Line 115:
    Line 116: #line 319 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 117: using System.Configuration;
    Line 118:
    Line 119: #line default
    Line 120: #line hidden
    Line 121:
    Line 122: #line 330 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
    Line 123: using System.Web.UI.HtmlControls;
    Line 124:
    Line 125: #line default
    Line 126: #line hidden
    Line 127:
    Line 128:
    Line 129: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
    Line 130: public class videos_aspx : global::MuvieFlicks.Default, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
    Line 131:
    Line 132:
    Line 133: #line 16 "D:\Hosting\3178491\html\videos.aspx"
    Line 134: protected global::System.Web.UI.WebControls.Label label_PageTitle;
    Line 135:
    Line 136: #line default
    Line 137: #line hidden
    Line 138:
    Line 139:
    Line 140: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 141: protected global::System.Web.UI.WebControls.Panel pnlWatch;
    Line 142:
    Line 143: #line default
    Line 144: #line hidden
    Line 145:
    Line 146:
    Line 147: #line 41 "D:\Hosting\3178491\html\videos.aspx"
    Line 148: protected global::System.Web.UI.WebControls.Panel pnlWatchDetails;
    Line 149:
    Line 150: #line default
    Line 151: #line hidden
    Line 152:
    Line 153:
    Line 154: #line 149 "D:\Hosting\3178491\html\videos.aspx"
    Line 155: protected global::System.Web.UI.WebControls.TextBox TextBox1;
    Line 156:
    Line 157: #line default
    Line 158: #line hidden
    Line 159:
    Line 160:
    Line 161: #line 154 "D:\Hosting\3178491\html\videos.aspx"
    Line 162: protected global::System.Web.UI.WebControls.Panel Panel1;
    Line 163:
    Line 164: #line default
    Line 165: #line hidden
    Line 166:
    Line 167:
    Line 168: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 169: protected global::AjaxControlToolkit.CollapsiblePanelExtender CollapsiblePanelExtender2;
    Line 170:
    Line 171: #line default
    Line 172: #line hidden
    Line 173:
    Line 174: private static bool @__initialized;
    Line 175:
    Line 176: private static object @__stringResource;
    Line 177:
    Line 178: private static object @__fileDependencies;
    Line 179:
    Line 180: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 181: public videos_aspx() {
    Line 182: string[] dependencies;
    Line 183: ((global::MuvieFlicks.Default)(this)).AppRelativeVirtualPath = "~/videos.aspx";
    Line 184: if ((global::ASP.videos_aspx.@__initialized == false)) {
    Line 185: global::ASP.videos_aspx.@__stringResource = this.ReadStringResource();
    Line 186: dependencies = new string[2];
    Line 187: dependencies[0] = "~/videos.aspx";
    Line 188: dependencies[1] = "~/template.Master";
    Line 189: global::ASP.videos_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
    Line 190: global::ASP.videos_aspx.@__initialized = true;
    Line 191: }
    Line 192: this.Server.ScriptTimeout = 30000000;
    Line 193: }
    Line 194:
    Line 195: protected System.Web.Profile.DefaultProfile Profile {
    Line 196: get {
    Line 197: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
    Line 198: }
    Line 199: }
    Line 200:
    Line 201: protected System.Web.HttpApplication ApplicationInstance {
    Line 202: get {
    Line 203: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
    Line 204: }
    Line 205: }
    Line 206:
    Line 207: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 208: private global::System.Web.UI.WebControls.Label @__BuildControllabel_PageTitle() {
    Line 209: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 210:
    Line 211: #line 16 "D:\Hosting\3178491\html\videos.aspx"
    Line 212: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 213:
    Line 214: #line default
    Line 215: #line hidden
    Line 216: this.label_PageTitle = @__ctrl;
    Line 217: @__ctrl.TemplateControl = this;
    Line 218: @__ctrl.ApplyStyleSheetSkin(this);
    Line 219:
    Line 220: #line 16 "D:\Hosting\3178491\html\videos.aspx"
    Line 221: @__ctrl.ID = "label_PageTitle";
    Line 222:
    Line 223: #line default
    Line 224: #line hidden
    Line 225:
    Line 226: #line 16 "D:\Hosting\3178491\html\videos.aspx"
    Line 227: @__ctrl.BackColor = System.Drawing.Color.White;
    Line 228:
    Line 229: #line default
    Line 230: #line hidden
    Line 231:
    Line 232: #line 16 "D:\Hosting\3178491\html\videos.aspx"
    Line 233: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 234:
    Line 235: #line default
    Line 236: #line hidden
    Line 237: return @__ctrl;
    Line 238: }
    Line 239:
    Line 240: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 241: private global::System.Web.UI.WebControls.Label @__BuildControlLabel3() {
    Line 242: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 243:
    Line 244: #line 36 "D:\Hosting\3178491\html\videos.aspx"
    Line 245: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 246:
    Line 247: #line default
    Line 248: #line hidden
    Line 249: this.Label3 = @__ctrl;
    Line 250: @__ctrl.ApplyStyleSheetSkin(this);
    Line 251:
    Line 252: #line 36 "D:\Hosting\3178491\html\videos.aspx"
    Line 253: @__ctrl.ID = "Label3";
    Line 254:
    Line 255: #line default
    Line 256: #line hidden
    Line 257:
    Line 258: #line 36 "D:\Hosting\3178491\html\videos.aspx"
    Line 259: ((System.Web.UI.IAttributeAccessor)(@__ctrl)).SetAttribute("style", "font-family: Verdana; font-size: medium; color: Red; font-weight:bold");
    Line 260:
    Line 261: #line default
    Line 262: #line hidden
    Line 263:
    Line 264: #line 36 "D:\Hosting\3178491\html\videos.aspx"
    Line 265: @__ctrl.Font.Underline = true;
    Line 266:
    Line 267: #line default
    Line 268: #line hidden
    Line 269: System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
    Line 270:
    Line 271: #line 36 "D:\Hosting\3178491\html\videos.aspx"
    Line 272: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("Click to WATCH FULL MOVIE"));
    Line 273:
    Line 274: #line default
    Line 275: #line hidden
    Line 276: return @__ctrl;
    Line 277: }
    Line 278:
    Line 279: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 280: private global::System.Web.UI.WebControls.Panel @__BuildControlpnlWatch() {
    Line 281: global::System.Web.UI.WebControls.Panel @__ctrl;
    Line 282:
    Line 283: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 284: @__ctrl = new global::System.Web.UI.WebControls.Panel();
    Line 285:
    Line 286: #line default
    Line 287: #line hidden
    Line 288: this.pnlWatch = @__ctrl;
    Line 289: @__ctrl.TemplateControl = this;
    Line 290: @__ctrl.ApplyStyleSheetSkin(this);
    Line 291:
    Line 292: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 293: @__ctrl.ID = "pnlWatch";
    Line 294:
    Line 295: #line default
    Line 296: #line hidden
    Line 297:
    Line 298: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 299: ((System.Web.UI.IAttributeAccessor)(@__ctrl)).SetAttribute("Style", "cursor: pointer;");
    Line 300:
    Line 301: #line default
    Line 302: #line hidden
    Line 303: System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
    Line 304:
    Line 305: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 306: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n \r\n "));
    Line 307:
    Line 308: #line default
    Line 309: #line hidden
    Line 310: global::System.Web.UI.WebControls.Label @__ctrl1;
    Line 311:
    Line 312: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 313: @__ctrl1 = this.@__BuildControlLabel3();
    Line 314:
    Line 315: #line default
    Line 316: #line hidden
    Line 317:
    Line 318: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 319: @__parser.AddParsedSubObject(@__ctrl1);
    Line 320:
    Line 321: #line default
    Line 322: #line hidden
    Line 323:
    Line 324: #line 34 "D:\Hosting\3178491\html\videos.aspx"
    Line 325: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(" \r\n \r\n "));
    Line 326:
    Line 327: #line default
    Line 328: #line hidden
    Line 329: return @__ctrl;
    Line 330: }
    Line 331:
    Line 332: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 333: private global::System.Web.UI.WebControls.Panel @__BuildControlpnlWatchDetails() {
    Line 334: global::System.Web.UI.WebControls.Panel @__ctrl;
    Line 335:
    Line 336: #line 41 "D:\Hosting\3178491\html\videos.aspx"
    Line 337: @__ctrl = new global::System.Web.UI.WebControls.Panel();
    Line 338:
    Line 339: #line default
    Line 340: #line hidden
    Line 341: this.pnlWatchDetails = @__ctrl;
    Line 342: @__ctrl.TemplateControl = this;
    Line 343: @__ctrl.ApplyStyleSheetSkin(this);
    Line 344:
    Line 345: #line 41 "D:\Hosting\3178491\html\videos.aspx"
    Line 346: @__ctrl.ID = "pnlWatchDetails";
    Line 347:
    Line 348: #line default
    Line 349: #line hidden
    Line 350: @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__RenderpnlWatchDetails));
    Line 351: return @__ctrl;
    Line 352: }
    Line 353:
    Line 354: private void @__RenderpnlWatchDetails(System.Web.UI.HtmlTextWriter @__w, System.Web.UI.Control parameterContainer) {
    Line 355: this.WriteUTF8ResourceString(@__w, 1053, 265, true);
    Line 356:
    Line 357: #line 44 "D:\Hosting\3178491\html\videos.aspx"
    Line 358: @__w.Write( textToPass );
    Line 359:
    Line 360:
    Line 361: #line default
    Line 362: #line hidden
    Line 363: @__w.Write("></param><param name=\"allowFullScreen\" value=\"true\"></param><embed src=");
    Line 364:
    Line 365: #line 44 "D:\Hosting\3178491\html\videos.aspx"
    Line 366: @__w.Write( textToPass );
    Line 367:
    Line 368:
    Line 369: #line default
    Line 370: #line hidden
    Line 371: @__w.Write(" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" width=\"640\" height=\"" +
    Line 372: "481\"></embed></object>\r\n \r\n " +
    Line 373: " \r\n </div>\r\n " +
    Line 374: " ");
    Line 375: }
    Line 376:
    Line 377: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 378: private global::System.Web.UI.SilverlightControls.MediaPlayer @__BuildControlMediaPlayer1() {
    Line 379: global::System.Web.UI.SilverlightControls.MediaPlayer @__ctrl;
    Line 380:
    Line 381: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 382: @__ctrl = new global::System.Web.UI.SilverlightControls.MediaPlayer();
    Line 383:
    Line 384: #line default
    Line 385: #line hidden
    Line 386: this.MediaPlayer1 = @__ctrl;
    Line 387: @__ctrl.TemplateControl = this;
    Line 388: @__ctrl.ApplyStyleSheetSkin(this);
    Line 389:
    Line 390: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 391: @__ctrl.ID = "MediaPlayer1";
    Line 392:
    Line 393: #line default
    Line 394: #line hidden
    Line 395:
    Line 396: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 397: @__ctrl.AutoPlay = true;
    Line 398:
    Line 399: #line default
    Line 400: #line hidden
    Line 401:
    Line 402: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 403: @__ctrl.Height = new System.Web.UI.WebControls.Unit(480, System.Web.UI.WebControls.UnitType.Pixel);
    Line 404:
    Line 405: #line default
    Line 406: #line hidden
    Line 407:
    Line 408: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 409: @__ctrl.MediaSkinSource = "~/WebPlayerSkin/skin.xml";
    Line 410:
    Line 411: #line default
    Line 412: #line hidden
    Line 413:
    Line 414: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 415: @__ctrl.Width = new System.Web.UI.WebControls.Unit(640, System.Web.UI.WebControls.UnitType.Pixel);
    Line 416:
    Line 417: #line default
    Line 418: #line hidden
    Line 419:
    Line 420: #line 69 "D:\Hosting\3178491\html\videos.aspx"
    Line 421: @__ctrl.OnClientMediaEnded = "Media_Ended";
    Line 422:
    Line 423: #line default
    Line 424: #line hidden
    Line 425: return @__ctrl;
    Line 426: }
    Line 427:
    Line 428: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 429: private global::System.Web.UI.HtmlControls.HtmlImage @__BuildControlimgMovie() {
    Line 430: global::System.Web.UI.HtmlControls.HtmlImage @__ctrl;
    Line 431:
    Line 432: #line 87 "D:\Hosting\3178491\html\videos.aspx"
    Line 433: @__ctrl = new global::System.Web.UI.HtmlControls.HtmlImage();
    Line 434:
    Line 435: #line default
    Line 436: #line hidden
    Line 437: this.imgMovie = @__ctrl;
    Line 438: @__ctrl.TemplateControl = this;
    Line 439:
    Line 440: #line 87 "D:\Hosting\3178491\html\videos.aspx"
    Line 441: @__ctrl.ID = "imgMovie";
    Line 442:
    Line 443: #line default
    Line 444: #line hidden
    Line 445:
    Line 446: #line 87 "D:\Hosting\3178491\html\videos.aspx"
    Line 447: @__ctrl.Src = "";
    Line 448:
    Line 449: #line default
    Line 450: #line hidden
    Line 451:
    Line 452: #line 87 "D:\Hosting\3178491\html\videos.aspx"
    Line 453: @__ctrl.Height = 200;
    Line 454:
    Line 455: #line default
    Line 456: #line hidden
    Line 457:
    Line 458: #line 87 "D:\Hosting\3178491\html\videos.aspx"
    Line 459: @__ctrl.Width = 300;
    Line 460:
    Line 461: #line default
    Line 462: #line hidden
    Line 463: return @__ctrl;
    Line 464: }
    Line 465:
    Line 466: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 467: private global::System.Web.UI.WebControls.Label @__BuildControllblMovieName() {
    Line 468: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 469:
    Line 470: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 471: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 472:
    Line 473: #line default
    Line 474: #line hidden
    Line 475: this.lblMovieName = @__ctrl;
    Line 476: @__ctrl.TemplateControl = this;
    Line 477: @__ctrl.ApplyStyleSheetSkin(this);
    Line 478:
    Line 479: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 480: @__ctrl.ID = "lblMovieName";
    Line 481:
    Line 482: #line default
    Line 483: #line hidden
    Line 484:
    Line 485: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 486: @__ctrl.Text = "Name:";
    Line 487:
    Line 488: #line default
    Line 489: #line hidden
    Line 490:
    Line 491: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 492: @__ctrl.Font.Names = new string[] {
    Line 493: "verdana"};
    Line 494:
    Line 495: #line default
    Line 496: #line hidden
    Line 497:
    Line 498: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 499: @__ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Medium;
    Line 500:
    Line 501: #line default
    Line 502: #line hidden
    Line 503:
    Line 504: #line 112 "D:\Hosting\3178491\html\videos.aspx"
    Line 505: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 506:
    Line 507: #line default
    Line 508: #line hidden
    Line 509: return @__ctrl;
    Line 510: }
    Line 511:
    Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 513: private global::System.Web.UI.WebControls.Label @__BuildControllblMovieNameDesc() {
    Line 514: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 515:
    Line 516: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 517: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 518:
    Line 519: #line default
    Line 520: #line hidden
    Line 521: this.lblMovieNameDesc = @__ctrl;
    Line 522: @__ctrl.TemplateControl = this;
    Line 523: @__ctrl.ApplyStyleSheetSkin(this);
    Line 524:
    Line 525: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 526: @__ctrl.ID = "lblMovieNameDesc";
    Line 527:
    Line 528: #line default
    Line 529: #line hidden
    Line 530:
    Line 531: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 532: @__ctrl.Text = "";
    Line 533:
    Line 534: #line default
    Line 535: #line hidden
    Line 536:
    Line 537: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 538: @__ctrl.Font.Names = new string[] {
    Line 539: "verdana"};
    Line 540:
    Line 541: #line default
    Line 542: #line hidden
    Line 543:
    Line 544: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 545: @__ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Small;
    Line 546:
    Line 547: #line default
    Line 548: #line hidden
    Line 549:
    Line 550: #line 115 "D:\Hosting\3178491\html\videos.aspx"
    Line 551: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 552:
    Line 553: #line default
    Line 554: #line hidden
    Line 555: return @__ctrl;
    Line 556: }
    Line 557:
    Line 558: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 559: private global::System.Web.UI.WebControls.Label @__BuildControllblMovieRating() {
    Line 560: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 561:
    Line 562: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 563: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 564:
    Line 565: #line default
    Line 566: #line hidden
    Line 567: this.lblMovieRating = @__ctrl;
    Line 568: @__ctrl.TemplateControl = this;
    Line 569: @__ctrl.ApplyStyleSheetSkin(this);
    Line 570:
    Line 571: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 572: @__ctrl.ID = "lblMovieRating";
    Line 573:
    Line 574: #line default
    Line 575: #line hidden
    Line 576:
    Line 577: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 578: @__ctrl.Text = "Rating:";
    Line 579:
    Line 580: #line default
    Line 581: #line hidden
    Line 582:
    Line 583: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 584: @__ctrl.Font.Names = new string[] {
    Line 585: "verdana"};
    Line 586:
    Line 587: #line default
    Line 588: #line hidden
    Line 589:
    Line 590: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 591: @__ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Medium;
    Line 592:
    Line 593: #line default
    Line 594: #line hidden
    Line 595:
    Line 596: #line 120 "D:\Hosting\3178491\html\videos.aspx"
    Line 597: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 598:
    Line 599: #line default
    Line 600: #line hidden
    Line 601: return @__ctrl;
    Line 602: }
    Line 603:
    Line 604: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 605: private global::AjaxControlToolkit.Rating @__BuildControlrating() {
    Line 606: global::AjaxControlToolkit.Rating @__ctrl;
    Line 607:
    Line 608: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 609: @__ctrl = new global::AjaxControlToolkit.Rating();
    Line 610:
    Line 611: #line default
    Line 612: #line hidden
    Line 613: this.rating = @__ctrl;
    Line 614: @__ctrl.TemplateControl = this;
    Line 615: @__ctrl.ApplyStyleSheetSkin(this);
    Line 616:
    Line 617: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 618: @__ctrl.ID = "rating";
    Line 619:
    Line 620: #line default
    Line 621: #line hidden
    Line 622:
    Line 623: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 624: @__ctrl.BehaviorID = "RatingBehavior1";
    Line 625:
    Line 626: #line default
    Line 627: #line hidden
    Line 628:
    Line 629: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 630: @__ctrl.CurrentRating = 2;
    Line 631:
    Line 632: #line default
    Line 633: #line hidden
    Line 634:
    Line 635: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 636: @__ctrl.MaxRating = 5;
    Line 637:
    Line 638: #line default
    Line 639: #line hidden
    Line 640:
    Line 641: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 642: @__ctrl.StarCssClass = "ratingStar";
    Line 643:
    Line 644: #line default
    Line 645: #line hidden
    Line 646:
    Line 647: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 648: @__ctrl.WaitingStarCssClass = "savedRatingStar";
    Line 649:
    Line 650: #line default
    Line 651: #line hidden
    Line 652:
    Line 653: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 654: @__ctrl.FilledStarCssClass = "filledRatingStar";
    Line 655:
    Line 656: #line default
    Line 657: #line hidden
    Line 658:
    Line 659: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 660: @__ctrl.EmptyStarCssClass = "emptyRatingStar";
    Line 661:
    Line 662: #line default
    Line 663: #line hidden
    Line 664:
    Line 665: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 666: ((System.Web.UI.IAttributeAccessor)(@__ctrl)).SetAttribute("style", "float: left;");
    Line 667:
    Line 668: #line default
    Line 669: #line hidden
    Line 670:
    Line 671: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 672: @__ctrl.Changed -= new AjaxControlToolkit.RatingEventHandler(this.rating_Changed);
    Line 673:
    Line 674: #line default
    Line 675: #line hidden
    Line 676:
    Line 677: #line 123 "D:\Hosting\3178491\html\videos.aspx"
    Line 678: @__ctrl.Changed += new AjaxControlToolkit.RatingEventHandler(this.rating_Changed);
    Line 679:
    Line 680: #line default
    Line 681: #line hidden
    Line 682: return @__ctrl;
    Line 683: }
    Line 684:
    Line 685: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 686: private global::System.Web.UI.WebControls.Label @__BuildControllblMovieDetails() {
    Line 687: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 688:
    Line 689: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 690: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 691:
    Line 692: #line default
    Line 693: #line hidden
    Line 694: this.lblMovieDetails = @__ctrl;
    Line 695: @__ctrl.TemplateControl = this;
    Line 696: @__ctrl.ApplyStyleSheetSkin(this);
    Line 697:
    Line 698: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 699: @__ctrl.ID = "lblMovieDetails";
    Line 700:
    Line 701: #line default
    Line 702: #line hidden
    Line 703:
    Line 704: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 705: @__ctrl.Text = "Description:";
    Line 706:
    Line 707: #line default
    Line 708: #line hidden
    Line 709:
    Line 710: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 711: @__ctrl.Font.Names = new string[] {
    Line 712: "verdana"};
    Line 713:
    Line 714: #line default
    Line 715: #line hidden
    Line 716:
    Line 717: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 718: @__ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Medium;
    Line 719:
    Line 720: #line default
    Line 721: #line hidden
    Line 722:
    Line 723: #line 136 "D:\Hosting\3178491\html\videos.aspx"
    Line 724: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 725:
    Line 726: #line default
    Line 727: #line hidden
    Line 728: return @__ctrl;
    Line 729: }
    Line 730:
    Line 731: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 732: private global::System.Web.UI.WebControls.Label @__BuildControllblMovieDetailsDesc() {
    Line 733: global::System.Web.UI.WebControls.Label @__ctrl;
    Line 734:
    Line 735: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 736: @__ctrl = new global::System.Web.UI.WebControls.Label();
    Line 737:
    Line 738: #line default
    Line 739: #line hidden
    Line 740: this.lblMovieDetailsDesc = @__ctrl;
    Line 741: @__ctrl.TemplateControl = this;
    Line 742: @__ctrl.ApplyStyleSheetSkin(this);
    Line 743:
    Line 744: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 745: @__ctrl.ID = "lblMovieDetailsDesc";
    Line 746:
    Line 747: #line default
    Line 748: #line hidden
    Line 749:
    Line 750: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 751: @__ctrl.Text = "";
    Line 752:
    Line 753: #line default
    Line 754: #line hidden
    Line 755:
    Line 756: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 757: @__ctrl.Font.Names = new string[] {
    Line 758: "verdana"};
    Line 759:
    Line 760: #line default
    Line 761: #line hidden
    Line 762:
    Line 763: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 764: @__ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Small;
    Line 765:
    Line 766: #line default
    Line 767: #line hidden
    Line 768:
    Line 769: #line 139 "D:\Hosting\3178491\html\videos.aspx"
    Line 770: @__ctrl.ForeColor = System.Drawing.Color.White;
    Line 771:
    Line 772: #line default
    Line 773: #line hidden
    Line 774: return @__ctrl;
    Line 775: }
    Line 776:
    Line 777: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 778: private global::System.Web.UI.WebControls.TextBox @__BuildControlTextBox1() {
    Line 779: global::System.Web.UI.WebControls.TextBox @__ctrl;
    Line 780:
    Line 781: #line 149 "D:\Hosting\3178491\html\videos.aspx"
    Line 782: @__ctrl = new global::System.Web.UI.WebControls.TextBox();
    Line 783:
    Line 784: #line default
    Line 785: #line hidden
    Line 786: this.TextBox1 = @__ctrl;
    Line 787: @__ctrl.TemplateControl = this;
    Line 788: @__ctrl.ApplyStyleSheetSkin(this);
    Line 789:
    Line 790: #line 149 "D:\Hosting\3178491\html\videos.aspx"
    Line 791: @__ctrl.ID = "TextBox1";
    Line 792:
    Line 793: #line default
    Line 794: #line hidden
    Line 795: return @__ctrl;
    Line 796: }
    Line 797:
    Line 798: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 799: private global::System.Web.UI.WebControls.Panel @__BuildControlPanel1() {
    Line 800: global::System.Web.UI.WebControls.Panel @__ctrl;
    Line 801:
    Line 802: #line 154 "D:\Hosting\3178491\html\videos.aspx"
    Line 803: @__ctrl = new global::System.Web.UI.WebControls.Panel();
    Line 804:
    Line 805: #line default
    Line 806: #line hidden
    Line 807: this.Panel1 = @__ctrl;
    Line 808: @__ctrl.TemplateControl = this;
    Line 809: @__ctrl.ApplyStyleSheetSkin(this);
    Line 810:
    Line 811: #line 154 "D:\Hosting\3178491\html\videos.aspx"
    Line 812: @__ctrl.ID = "Panel1";
    Line 813:
    Line 814: #line default
    Line 815: #line hidden
    Line 816: @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__RenderPanel1));
    Line 817: return @__ctrl;
    Line 818: }
    Line 819:
    Line 820: private void @__RenderPanel1(System.Web.UI.HtmlTextWriter @__w, System.Web.UI.Control parameterContainer) {
    Line 821: this.WriteUTF8ResourceString(@__w, 1318, 562, true);
    Line 822:
    Line 823: #line 162 "D:\Hosting\3178491\html\videos.aspx"
    Line 824: @__w.Write(_movieName );
    Line 825:
    Line 826:
    Line 827: #line default
    Line 828: #line hidden
    Line 829: this.WriteUTF8ResourceString(@__w, 1880, 385, true);
    Line 830: }
    Line 831:
    Line 832: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 833: private global::AjaxControlToolkit.CollapsiblePanelExtender @__BuildControlCollapsiblePanelExtender2() {
    Line 834: global::AjaxControlToolkit.CollapsiblePanelExtender @__ctrl;
    Line 835:
    Line 836: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 837: @__ctrl = new global::AjaxControlToolkit.CollapsiblePanelExtender();
    Line 838:
    Line 839: #line default
    Line 840: #line hidden
    Line 841: this.CollapsiblePanelExtender2 = @__ctrl;
    Line 842: @__ctrl.TemplateControl = this;
    Line 843: @__ctrl.ApplyStyleSheetSkin(this);
    Line 844:
    Line 845: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 846: @__ctrl.ID = "CollapsiblePanelExtender2";
    Line 847:
    Line 848: #line default
    Line 849: #line hidden
    Line 850:
    Line 851: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 852: @__ctrl.CollapseControlID = "pnlWatch";
    Line 853:
    Line 854: #line default
    Line 855: #line hidden
    Line 856:
    Line 857: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 858: @__ctrl.TargetControlID = "pnlWatchDetails";
    Line 859:
    Line 860: #line default
    Line 861: #line hidden
    Line 862:
    Line 863: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 864: @__ctrl.ExpandControlID = "pnlWatch";
    Line 865:
    Line 866: #line default
    Line 867: #line hidden
    Line 868:
    Line 869: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 870: @__ctrl.Collapsed = true;
    Line 871:
    Line 872: #line default
    Line 873: #line hidden
    Line 874:
    Line 875: #line 207 "D:\Hosting\3178491\html\videos.aspx"
    Line 876: @__ctrl.AutoCollapse = false;
    Line 877:
    Line 878: #line default
    Line 879: #line hidden
    Line 880: return @__ctrl;
    Line 881: }
    Line 882:
    Line 883: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 884: private void @__BuildControlContent1(System.Web.UI.Control @__ctrl) {
    Line 885: System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
    Line 886:
    Line 887: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 888: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n <meta name=\"verify-v1\" content=\"4rNTBEWHGIJa8/dxu/rd5ArL9vuC94O9XC+C7Vp1WwY" +
    Line 889: "=\" />\r\n <form>\r\n\r\n <script src=\"Scripts/player.js\" type=\"text/javascript\">" +
    Line 890: "</script>\r\n \r\n <div id=\"PageTitleBlock\">\r\n "));
    Line 891:
    Line 892: #line default
    Line 893: #line hidden
    Line 894: global::System.Web.UI.WebControls.Label @__ctrl1;
    Line 895:
    Line 896: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 897: @__ctrl1 = this.@__BuildControllabel_PageTitle();
    Line 898:
    Line 899: #line default
    Line 900: #line hidden
    Line 901:
    Line 902: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 903: @__parser.AddParsedSubObject(@__ctrl1);
    Line 904:
    Line 905: #line default
    Line 906: #line hidden
    Line 907:
    Line 908: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 909: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(2265, 452, true));
    Line 910:
    Line 911: #line default
    Line 912: #line hidden
    Line 913: global::System.Web.UI.WebControls.Panel @__ctrl2;
    Line 914:
    Line 915: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 916: @__ctrl2 = this.@__BuildControlpnlWatch();
    Line 917:
    Line 918: #line default
    Line 919: #line hidden
    Line 920:
    Line 921: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 922: @__parser.AddParsedSubObject(@__ctrl2);
    Line 923:
    Line 924: #line default
    Line 925: #line hidden
    Line 926:
    Line 927: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 928: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n "));
    Line 929:
    Line 930: #line default
    Line 931: #line hidden
    Line 932: global::System.Web.UI.WebControls.Panel @__ctrl3;
    Line 933:
    Line 934: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 935: @__ctrl3 = this.@__BuildControlpnlWatchDetails();
    Line 936:
    Line 937: #line default
    Line 938: #line hidden
    Line 939:
    Line 940: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 941: @__parser.AddParsedSubObject(@__ctrl3);
    Line 942:
    Line 943: #line default
    Line 944: #line hidden
    Line 945:
    Line 946: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 947: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(2717, 588, true));
    Line 948:
    Line 949: #line default
    Line 950: #line hidden
    Line 951: global::System.Web.UI.SilverlightControls.MediaPlayer @__ctrl4;
    Line 952:
    Line 953: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 954: @__ctrl4 = this.@__BuildControlMediaPlayer1();
    Line 955:
    Line 956: #line default
    Line 957: #line hidden
    Line 958:
    Line 959: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 960: @__parser.AddParsedSubObject(@__ctrl4);
    Line 961:
    Line 962: #line default
    Line 963: #line hidden
    Line 964:
    Line 965: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 966: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(3305, 637, true));
    Line 967:
    Line 968: #line default
    Line 969: #line hidden
    Line 970: global::System.Web.UI.HtmlControls.HtmlImage @__ctrl5;
    Line 971:
    Line 972: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 973: @__ctrl5 = this.@__BuildControlimgMovie();
    Line 974:
    Line 975: #line default
    Line 976: #line hidden
    Line 977:
    Line 978: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 979: @__parser.AddParsedSubObject(@__ctrl5);
    Line 980:
    Line 981: #line default
    Line 982: #line hidden
    Line 983:
    Line 984: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 985: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(3942, 1937, true));
    Line 986:
    Line 987: #line default
    Line 988: #line hidden
    Line 989: global::System.Web.UI.WebControls.Label @__ctrl6;
    Line 990:
    Line 991: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 992: @__ctrl6 = this.@__BuildControllblMovieName();
    Line 993:
    Line 994: #line default
    Line 995: #line hidden
    Line 996:
    Line 997: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 998: @__parser.AddParsedSubObject(@__ctrl6);
    Line 999:
    Line 1000: #line default
    Line 1001: #line hidden
    Line 1002:
    Line 1003: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1004: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n </td>\r\n " +
    Line 1005: " <td>\r\n " +
    Line 1006: " "));
    Line 1007:
    Line 1008: #line default
    Line 1009: #line hidden
    Line 1010: global::System.Web.UI.WebControls.Label @__ctrl7;
    Line 1011:
    Line 1012: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1013: @__ctrl7 = this.@__BuildControllblMovieNameDesc();
    Line 1014:
    Line 1015: #line default
    Line 1016: #line hidden
    Line 1017:
    Line 1018: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1019: @__parser.AddParsedSubObject(@__ctrl7);
    Line 1020:
    Line 1021: #line default
    Line 1022: #line hidden
    Line 1023:
    Line 1024: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1025: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(5879, 264, true));
    Line 1026:
    Line 1027: #line default
    Line 1028: #line hidden
    Line 1029: global::System.Web.UI.WebControls.Label @__ctrl8;
    Line 1030:
    Line 1031: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1032: @__ctrl8 = this.@__BuildControllblMovieRating();
    Line 1033:
    Line 1034: #line default
    Line 1035: #line hidden
    Line 1036:
    Line 1037: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1038: @__parser.AddParsedSubObject(@__ctrl8);
    Line 1039:
    Line 1040: #line default
    Line 1041: #line hidden
    Line 1042:
    Line 1043: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1044: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n </td>\r\n " +
    Line 1045: " <td>\r\n " +
    Line 1046: " "));
    Line 1047:
    Line 1048: #line default
    Line 1049: #line hidden
    Line 1050: global::AjaxControlToolkit.Rating @__ctrl9;
    Line 1051:
    Line 1052: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1053: @__ctrl9 = this.@__BuildControlrating();
    Line 1054:
    Line 1055: #line default
    Line 1056: #line hidden
    Line 1057:
    Line 1058: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1059: @__parser.AddParsedSubObject(@__ctrl9);
    Line 1060:
    Line 1061: #line default
    Line 1062: #line hidden
    Line 1063:
    Line 1064: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1065: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(6143, 278, true));
    Line 1066:
    Line 1067: #line default
    Line 1068: #line hidden
    Line 1069: global::System.Web.UI.WebControls.Label @__ctrl10;
    Line 1070:
    Line 1071: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1072: @__ctrl10 = this.@__BuildControllblMovieDetails();
    Line 1073:
    Line 1074: #line default
    Line 1075: #line hidden
    Line 1076:
    Line 1077: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1078: @__parser.AddParsedSubObject(@__ctrl10);
    Line 1079:
    Line 1080: #line default
    Line 1081: #line hidden
    Line 1082:
    Line 1083: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1084: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n </td>\r\n " +
    Line 1085: " <td>\r\n " +
    Line 1086: " "));
    Line 1087:
    Line 1088: #line default
    Line 1089: #line hidden
    Line 1090: global::System.Web.UI.WebControls.Label @__ctrl11;
    Line 1091:
    Line 1092: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1093: @__ctrl11 = this.@__BuildControllblMovieDetailsDesc();
    Line 1094:
    Line 1095: #line default
    Line 1096: #line hidden
    Line 1097:
    Line 1098: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1099: @__parser.AddParsedSubObject(@__ctrl11);
    Line 1100:
    Line 1101: #line default
    Line 1102: #line hidden
    Line 1103:
    Line 1104: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1105: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(6421, 404, true));
    Line 1106:
    Line 1107: #line default
    Line 1108: #line hidden
    Line 1109: global::System.Web.UI.WebControls.TextBox @__ctrl12;
    Line 1110:
    Line 1111: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1112: @__ctrl12 = this.@__BuildControlTextBox1();
    Line 1113:
    Line 1114: #line default
    Line 1115: #line hidden
    Line 1116:
    Line 1117: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1118: @__parser.AddParsedSubObject(@__ctrl12);
    Line 1119:
    Line 1120: #line default
    Line 1121: #line hidden
    Line 1122:
    Line 1123: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1124: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n </div>\r\n </td>\r\n " +
    Line 1125: " \r\n <td valign=\"top\" align=\"right\">\r\n " +
    Line 1126: " "));
    Line 1127:
    Line 1128: #line default
    Line 1129: #line hidden
    Line 1130: global::System.Web.UI.WebControls.Panel @__ctrl13;
    Line 1131:
    Line 1132: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1133: @__ctrl13 = this.@__BuildControlPanel1();
    Line 1134:
    Line 1135: #line default
    Line 1136: #line hidden
    Line 1137:
    Line 1138: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1139: @__parser.AddParsedSubObject(@__ctrl13);
    Line 1140:
    Line 1141: #line default
    Line 1142: #line hidden
    Line 1143:
    Line 1144: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1145: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(6825, 2108, true));
    Line 1146:
    Line 1147: #line default
    Line 1148: #line hidden
    Line 1149: global::AjaxControlToolkit.CollapsiblePanelExtender @__ctrl14;
    Line 1150:
    Line 1151: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1152: @__ctrl14 = this.@__BuildControlCollapsiblePanelExtender2();
    Line 1153:
    Line 1154: #line default
    Line 1155: #line hidden
    Line 1156:
    Line 1157: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1158: @__parser.AddParsedSubObject(@__ctrl14);
    Line 1159:
    Line 1160: #line default
    Line 1161: #line hidden
    Line 1162:
    Line 1163: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1164: @__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(8933, 578, true));
    Line 1165:
    Line 1166: #line default
    Line 1167: #line hidden
    Line 1168: }
    Line 1169:
    Line 1170: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 1171: private void @__BuildControlTree(videos_aspx @__ctrl) {
    Line 1172:
    Line 1173: #line 1 "D:\Hosting\3178491\html\videos.aspx"
    Line 1174: @__ctrl.MasterPageFile = "~/template.Master";
    Line 1175:
    Line 1176: #line default
    Line 1177: #line hidden
    Line 1178:
    Line 1179: #line 1 "D:\Hosting\3178491\html\videos.aspx"
    Line 1180: @__ctrl.Title = "_VideoTitle";
    Line 1181:
    Line 1182: #line default
    Line 1183: #line hidden
    Line 1184:
    Line 1185: #line 1 "D:\Hosting\3178491\html\videos.aspx"
    Line 1186: this.InitializeCulture();
    Line 1187:
    Line 1188: #line default
    Line 1189: #line hidden
    Line 1190:
    Line 1191: #line 9 "D:\Hosting\3178491\html\videos.aspx"
    Line 1192: this.AddContentTemplate("ContentPlaceHolder1", new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.@__BuildControlContent1)));
    Line 1193:
    Line 1194: #line default
    Line 1195: #line hidden
    Line 1196: System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
    Line 1197:
    Line 1198: #line 1 "D:\Hosting\3178491\html\videos.aspx"
    Line 1199: @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
    Line 1200:
    Line 1201: #line default
    Line 1202: #line hidden
    Line 1203: }
    Line 1204:
    Line 1205: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 1206: protected override void FrameworkInitialize() {
    Line 1207: base.FrameworkInitialize();
    Line 1208: this.SetStringResourcePointer(global::ASP.videos_aspx.@__stringResource, 0);
    Line 1209: this.@__BuildControlTree(this);
    Line 1210: this.AddWrappedFileDependencies(global::ASP.videos_aspx.@__fileDependencies);
    Line 1211: this.Request.ValidateInput();
    Line 1212: }
    Line 1213:
    Line 1214: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 1215: public override int GetTypeHashCode() {
    Line 1216: return 1083664914;
    Line 1217: }
    Line 1218:
    Line 1219: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    Line 1220: public override void ProcessRequest(System.Web.HttpContext context) {
    Line 1221: base.ProcessRequest(context);
    Line 1222: }
    Line 1223: }
    Line 1224: }
    Line 1225:
    <script type="text/javascript"> function OnToggleTOCLevel1(level2ID) { var elemLevel2 = document.getElementById(level2ID); if (elemLevel2.style.display == 'none') { elemLevel2.style.display = ''; } else { elemLevel2.style.display = 'none'; } } </script>


    Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

     

    Tuesday, November 18, 2008 11:18 PM
  • User-860945821 posted

    From the limited code that you provided, it appears that you have not declared your textToPass so you might neet to add something like

    protected string textToPass;

    Wednesday, November 19, 2008 12:31 AM