Group: Forum Members
Last Active: 3 Years Ago
Posts: 11,
Visits: 45
|
Am getting the error ' nChartControl1 ' does not exist in the current content I normally add the line & nbsp ; protected System . Web . UI . WebControls following by the field type , how can I do this from Nevron ?
|
Group: Forum Members
Last Active: Last Month
Posts: 3,055,
Visits: 4,055
|
Hi Mike , There are three Nevron chart controls and they reside in the following namespaces : Nevron . Chart . WinForm Nevron . Chart . Wfp Nevron . Chart . ThinWeb Nevron . Chart . WebForm most likely you use the NChartControl defined in the Nevron . Chart . WebForm namespace , so you need to import it or reference the chart control type with its fully qualified name - Nevron . Chart . WebForm . NChartControl . We hope this helps - let us know if you have any questions or meet any problems .
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 3 Years Ago
Posts: 11,
Visits: 45
|
Thanks, have add the extra references, but still cant access the chart control.
ASPX page <table id="Table1" style="width: 745px; vertical-align: top;" summary="Example layout table"> <tr> <td id="Td1" class="ImageCell" style="width: 420px; vertical-align: top;"> <!-- Chart control placeholder BEGIN --> <ncwc:NChartControl id="nChartControl1" runat="server" Width="420px" Height="320px"> </ncwc:NChartControl> <!-- Chart control placeholder END --> </td> <td id="exampleVDelimiterCell" class="DelimiterCell" rowspan="2"> </td> <td id="exampleConfigurationCell" class="ControlsPanel" rowspan="2" style="width: 325px;"> </td> </tr> </table>
c# Page cant see the control nChartControl1
|
Group: Forum Members
Last Active: Last Month
Posts: 3,055,
Visits: 4,055
|
Hi Mike , Please make sure to include : & lt ;%@ Register TagPrefix =" ncwc " Namespace =" Nevron . Chart . WebForm " Assembly =" Nevron . Chart . WebForm " %& gt ; at the top of the aspx page . Let us know if the problem persists .
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 3 Years Ago
Posts: 11,
Visits: 45
|
Yes , already there , see complete ASPX file & lt ;%@ Page language =" c #" Codebehind =" datareports . aspx . cs " AutoEventWireup =" True " Inherits =" ciconi_results . datareports " %& gt ; & lt ;%@ Register TagPrefix =" uc1 " TagName =" _Header " Src =" header . ascx " %& gt ; & lt ;%@ Register TagPrefix =" uc1 " TagName =" _Footer " Src =" footer . ascx " %& gt ; & lt ;%@ Register TagPrefix =" ncwc " Namespace =" Nevron . Chart . WebForm " Assembly =" Nevron . Chart . WebForm " %& gt ; & lt ;%@ Register TagPrefix =" uc2 " TagName =" _ChartControl " Src =" ChartControl . ascx " %& gt ; & lt ;! DOCTYPE HTML PUBLIC "-// W3C // DTD HTML 4 . 0 Transitional // EN " & gt ; & lt ; html & gt ; & lt ; head runat =" server "& gt ; & nbsp ;& nbsp ; & lt ; title & gt ; Ciconi Results & lt ;/ title & gt ; & lt ; meta name =" GENERATOR " content =" Microsoft Visual Studio . NET 7 . 1 " /& gt ; & lt ; meta name =" CODE_LANGUAGE " content =" C #" /& gt ; & lt ; meta name =" vs_defaultClientScript " content =" JavaScript " /& gt ; & lt ; meta name =" vs_targetSchema " content =" http://schemas.microsoft.com/intellisense/ie5" /& gt ; & lt ;/ head & gt ; & nbsp ; & lt ; body & gt ; & lt ; uc1 : _header id = _Header1 runat =" server "& gt ;& lt ;/ uc1 : _header & gt ; & nbsp ;& nbsp ; & lt ; div id =" main "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& lt ; div class =" container "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ; div class =" row "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ; div class =" twelve columns "& gt ; & lt ; h2 & gt ; Data Reports & lt ;/ h2 & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& lt ; hr /& gt ; & nbsp ;& nbsp ; & lt ; form id =" Form1 " method =" post " runat =" server "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ; div class =" content "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& lt ; div id =" bodytext "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ; div class =" row top30 "& gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& lt ; div class =" column grid_8 "& gt ; & lt ; table id =" Table1 " style =" width : 745px ; vertical - align : top ;" summary =" Example layout table "& gt ; & lt ; tr & gt ; & nbsp ; & lt ; td id =" Td1 " class =" ImageCell " style =" width : 420px ; vertical - align : top ;"& gt ; & nbsp ;& nbsp ; & lt ;!-- Chart control placeholder BEGIN --& gt ; & nbsp ;& nbsp ; & lt ; ncwc : NChartControl id =" nChartControl1 " runat =" server " Width =" 420px " Height =" 320px "& gt ; & nbsp ;& nbsp ; & lt ;/ ncwc : NChartControl & gt ; & nbsp ;& nbsp ; & lt ;!-- Chart control placeholder END --& gt ; & nbsp ; & lt ;/ td & gt ; & nbsp ; & lt ; td id =" exampleVDelimiterCell " class =" DelimiterCell " rowspan =" 2 "& gt ; & lt ;/ td & gt ; & nbsp ; & lt ; td id =" exampleConfigurationCell " class =" ControlsPanel " rowspan =" 2 " style =" width : 325px ;"& gt ; & nbsp ; & lt ;/ td & gt ; & lt ;/ tr & gt ; & lt ;/ table & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ form & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& lt ;/ div & gt ; & nbsp ;& nbsp ; & lt ;/ div & gt ; & nbsp ;& nbsp ; & lt ; uc1 : _Footer id = _footer runat =" server "& gt ;& lt ;/ uc1 : _Footer & gt ; & nbsp ; & lt ;/ body & gt ; & lt ;/ html & gt ;
|