zedgraph - creating masterpane in ASP.NET page

ghfever

New Member
How do I call Zedgraph's function \[code\]masterPane.SetLayout()\[/code\] from Web C# Application? Basically i'm stuck at step \[code\]myMasterPane.SetLayout(g, PaneLayout.SingleColumn);\[/code\]How do I create that variable g which is supposed to be a Graphic()I tried \[code\]Graphics g = new Graphics();\[/code\] and \[code\]Graphics g;\[/code\]none of these work.new Graphics() gives me Error 2 The type 'System.Drawing.Graphics' has no constructors defined
and anyways I'm assuming this needs to be initialized somehow.One important difference that I want to do vs the example below is that I want to go directly from my master pane to an image using\[code\]masterPane.GetImage()\[/code\], my issue is I can't get that \[code\]masterpane\[/code\] setup unless I find a way to call \[code\]myMasterPane.SetLayout()\[/code\]I found this article but I can't get this workinghttp://zedgraph.org/wiki/index.php?title=Use_a_MasterPane_in_a_web_page
 
Top