.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

How do I do this?

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :ASP.Net

When I try this I get an error message that the Response.--- type isn't supported. That this cs file has got nothing to do with HTML.

I think I need to make it so that I am in a Page_load method, but that I want to be sure that this cannot work this way. The cs file needs to be linked to a html page. I thought via the Page.cshtml file.


<!DOCTYPE html>
<html lang="en">
        <meta charset="utf-8" />
        <img src=@Href("Page.cshtml") />


@using System.Drawing;

    var picture = new ProduceImageFile(1.0f, 1.0f, 1.0f, 100);


    public ProduceImageFile(float zoomIN, float startReIN, float startImIN, int startColorIN)
        zoom = zoomIN;
        startRe = startReIN;

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend