Code behind wizard packages

Hi guys, one question please. How can I see the query behind a package created with SQL wizard (task Import/Export). The file are stored in a folder and not in SQL but I can read the folder, I tried with BIDS (2008) and Visual Studio 2010 but nothing. Is
there any tricks...
Thanks

You need first create a Integration Services Project in BIDS. Then right click and choose add new package from solution explorer and browse to package file from your folder.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • AdvancedDataGrid ItemRenderer Issue using code behind method

    I have been trying to get an itemrenderer to correctly work in an advanveddatagrid. I've used several itemrenderers in the past so this is pretty basic. I haven't however tried to attach to a grid that is inside a page using the code behind method. My issue is that the grid breaks if I try to put more than one visual component on the renderer. See the images below:
    Here is an example with a plain canvas itemrenderer:
    As you can see the scroll bar appears and everything looks normal.
    Here is the behavior if I add a label inside this component:
    The scroll bar disappears and I'm unable to close the itemrenderer correctly.
    Has anyone come across this issue before? Thanks for any help on this one!

    I can't post all of the code since it's on a much larger page but hopefully this gives you an idea:
    <custom:ClientPlans xmlns:mx="http://www.adobe.com/2006/mxml" width="920" height="550" xmlns:flexlib="http://code.google.com/p/flexlib/"
            fontFamily="HelveticaNeue Condensed" fontSize="11"
            xmlns:components="components.*"
            disabledColor="#FFFFFF"
            themeColor="#FFFFFF"
            horizontalScrollPolicy="off"
            verticalScrollPolicy="off" 
            backgroundColor="#ffffff"
            cornerRadius="10"
            borderStyle="solid"
            borderThickness="0"
            horizontalCenter="0" verticalCenter="0" color="#808080">
    <mx:AdvancedDataGrid id="adgPlans" width="100%" height="497" selectionMode="singleRow" editable="false"
                            color="#000000" fontSize="14" selectable="true"
                            liveScrolling="false"
                            showHeaders="false" variableRowHeight="true"
                            disclosureOpenIcon="@Embed(source='/images/gridMinus.png')"
                            disclosureClosedIcon="@Embed(source='/images/gridPlus.png')"
                            folderOpenIcon="@Embed(source='/images/folderOpenIcon.png')"
                            folderClosedIcon="@Embed(source='/images/folderclosedIcon.png')" borderThickness="1" borderStyle="solid">
                              <mx:dataProvider>
                                     <mx:GroupingCollection id="gcGroup">
                                            <mx:grouping>
                                                <mx:Grouping>
                                                    <mx:GroupingField name="ClientName"/>
                                                </mx:Grouping>
                                            </mx:grouping>
                                     </mx:GroupingCollection>
                              </mx:dataProvider>       
                            <mx:columns>
                                <mx:AdvancedDataGridColumn id="clientNameColumn" dataField="clientName" headerText="Client" sortable="true" width="200" />
                            </mx:columns>
                            <mx:rendererProviders>
                                <mx:AdvancedDataGridRendererProvider
                                    column="{clientNameColumn}"
                                    columnSpan="0"
                                    depth="2"
                                    renderer="components.subcomponents.clientRenderer3"/>
                            </mx:rendererProviders>
                        </mx:AdvancedDataGrid>
    </custom:ClientPlans>
    Code-Behind:
    // ActionScript file
    package com.name
            import mx.controls.AdvancedDataGrid;
        public class ClientPlans extends Canvas
            public var adgPlans:AdvancedDataGrid;
         public function ClientPlans ()
                super();
                this.addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler);
            private function creationCompleteHandler (event:FlexEvent):void
                  trace("cc");
    Item Renderer:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
        width="100%" height="150" borderStyle="solid" borderThickness="2" borderColor="#56ACD1" cornerRadius="8"
        fontFamily="HelveticaNeue Condensed" color="#000000" backgroundColor="#FFFFFF" backgroundAlpha="1.0">
        <mx:Label text="Hello!?"/>
    </mx:Canvas>

  • Can FC put action script in a 'code behind'.

    Once of the practices I do in FB3 is to move all my action script into 'code behind' files instead of having all the code in the mxml files.  Does FC have the option to do that (as part of the gen process) and if not, does anyone else who 'codes' instead of 'designs' feel that is a benefit?  I know I'd prefer it to be in a 'separate' as3 file.  Also, if I DO move the code into code behinds (I've not tried it yet), does FC have any issues reading the code behind?  I'll be trying that on a 'simple' project to be sure but figured I'd ask just in case anyone else wants to know...

    The two references cited helped answer questions about Adobe's overall philosophy and approach that came up as I worked a simple example down the design/development stack of tools from Illustrator (AI) to Catalyst (FC) to Flash Builder 4 (FB).
    Other questions that arose were:
    Each application (AI, FC, FB) contains tools for design with some degree of overlap.
    Will FC eventually include from AI (or Photoshop, InDesign, etc.) and the FB design view all functionality needed for interactive storyboarding and skin generation?
    Is it the intent for FC to become the designer's tool and FB the developer's tool, at least for application design?
    The diagram in the Gumbo skinning spec shows that base components and their subclasses are typically implemented in AS and skins in MXML and recommends this as the preferred design pattern. Yet when I converted one of my groups (essentially a form) to a customized component, and exported the project into FB, I noticed that FC had generated a single mxml file (CustomComponent1 ...) and not a pair of files (an X.as file for the base component and an X.mxml file for the skins).
    For several reasons, wouldn't you want to generate separate files as depicted in the Gumbo diagram as a starting point for code customization?
    How does one develop custom components in FB (or using AI+FC+FB) and package them as a library so that they can be dropped into FC and used in the way that the current set of 5 components (button, hscrollbar, vscrollbar, text input and data list) are used?
    How will I integrate my hand-coded dynamic components for data visualization alongside more generic and static app components on an RIA page?
    How would I use AI+FC to design liquid layouts where children at each level often utilize constraints (i.e. top, bottom, left, right) between parent and child?
    For agile methodologies, how will refactoring the interaction or software design work in this new world where interaction designers are trying to maintain full control over appearance and interactive behavior?
    Finally, I would like to know what tools and steps Ely used to develop the component shown in the video. It would be instructive to turn that into a tutorial that we could walk through, step by step, in slow motion
    While I understand the arguments for separation of design and development as a workflow methodology, those of us with development and HCI/visualization backgrounds building research prototypes would like to see integration of the design and development tools (from the perspective of the workflow, not the architecture and code).
    As Jordan said, the direction you are heading is inspiring. Keep up the good work.

  • Flex Code Behind Issue

    Hey guys,
    so I have created a simple flex proj
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" themeColor="#0EFF02">
    <mx:Script>
    <![CDATA[
    private function onOver(evt:Event):void{
    trace("onOver : " +evt.currentTarget );
    test.setStyle("backgroundColor",0xff00ff);
    private function onOut(evt:Event):void{
    trace("onOut : " +evt.currentTarget );
    test.setStyle("backgroundColor",0xffff00);
    ]]>
    </mx:Script>
    <mx:Canvas id="test" x="118" y="136" width="443"
    height="133" themeColor="#099FFF" backgroundColor="#D70000"
    rollOver="onOver(event);" rollOut="onOut(event);">
    <mx:Button x="39" y="35" label="Button"/>
    </mx:Canvas>
    </mx:Application>
    So basically all the code above does is changes the
    backgroundColor of the Canvas. It works fine
    Now if I make a MXML Component using the Code Behind Method
    Main.mxml
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" themeColor="#0EFF02" xmlns:ns1="item.*">
    <ns1:ListItem x="80" y="48"/>
    </mx:Application>
    ListItem.mxml
    <item:CListItem xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400" height="300" xmlns:item="item.*">
    <mx:Button x="65" y="61" label="Button"/>
    </item:CListItem>
    CListItem.as
    package item
    import flash.events.MouseEvent;
    import mx.containers.Canvas;
    import mx.events.FlexEvent;
    public class CListItem extends Canvas
    public function CListItem()
    super();
    this.addEventListener(FlexEvent.CREATION_COMPLETE,
    onComponentLoaded);
    private function onMouseOver(evt:MouseEvent):void{
    trace("CListItem.onMouseOver :");
    this.setStyle("backgroundColor",0xff00ff);
    private function onMouseOut(evt:MouseEvent):void{
    trace("CListItem.onMouseOut");
    this.setStyle("backgroundColor",0xffff00);
    private function onComponentLoaded(evt:FlexEvent):void{
    this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
    this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
    Now when I mouse over the Button component the onMouseOut
    function gets called and there is a flicker in the backgroundColor.
    If I dont use the Code Behind Method then the onMouseOut
    function does not get called when I rollOver the button.
    Can anyone explain this strange behavior?
    Thanks
    Cheers
    Firdosh

    Conrad - there's no plans to enhance specific codebehind support.  It's worth mentioning, however, that you can adopt the spark skinning model for all of your components to get a good codebehind separation of view and logic.
    Ely.

  • Extending component with code behind

    Hi,
    I have read an article about extending components with code
    behind:
    http://www.adobe.com/devnet/flex/quickstart/building_components_using_code_behind/
    I have a question about that. Maybe someone can help me.
    Example:
    {components/CartClass.as}
    package components
    public class CartClass extends DataGrid
    public function CartClass()
    super();
    {components/Cart.mxml}
    <?xml version="1.0" encoding="utf-8"?>
    <shop:CartClass xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:shop="components.*"
    >
    </shop:CartClass>
    Everthing works fine but when i add:
    <mx:columns>
    <mx:DataGridColumn headerText="Title" />
    </mx:columns>
    between the shop:CartClass tag, Flex says:
    Could not resolve <mx:columns> to a component
    implementation
    Anyone knows why?

    "sjerry-" <[email protected]> wrote in
    message
    news:gcq38m$1rg$[email protected]..
    > Hi,
    >
    > I have read an article about extending components with
    code behind:
    >
    http://www.adobe.com/devnet/flex/quickstart/building_components_using_code_behin
    > d/
    >
    > I have a question about that. Maybe someone can help me.
    >
    > Example:
    > {components/CartClass.as}
    > package components
    > {
    > public class CartClass extends DataGrid
    > {
    > public function CartClass()
    > {
    > super();
    >
    > }
    > }
    > }
    >
    >
    > {components/Cart.mxml}
    > <?xml version="1.0" encoding="utf-8"?>
    > <shop:CartClass xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > xmlns:shop="components.*"
    > >
    >
    > </shop:CartClass>
    >
    > Everthing works fine but when i add:
    > <mx:columns>
    > <mx:DataGridColumn headerText="Title" />
    > </mx:columns>
    >
    > between the shop:CartClass tag, Flex says:
    > Could not resolve <mx:columns> to a component
    implementation
    columns is actually a property of the DataGrid instance,
    rather than the
    DataGrid class itself, so it needs to be in the same
    namespace as the actual
    DataGrid subclass:
    <shop:columns>
    <mx:DataGridColumn headerText="Title" />
    </shop:columns>

  • Code behind JFrame.setIconImage(Image img)

    I'm looking for some code that will allow me to use a gif/png as an icon for native components. In other words, I want to transform a gif/png to some format (propably ico/bmp) that I can use as Icon data in native code.
    When you change the icon of a JFrame, you can use the setIconImage() method. The code behind this method should just about do what I need, but I can't find any sources for it. Does anybody know where to get information about this code, or does anyone have a better idea?
    Thanks!
    ps. Another option would be to use the JAI package, but that contains WAY more than I need and I don't want a 5MB library to go with my 75KB program.

    You can use gif or jpg to load images with java. So if you have an icon as a gif image, you just load that image and apply it to setIconImage. You can use new ImageIcon("filename.gif").getImage().
    I don't know is png is supported by 1.4 or if it will be supported later. ico is not supported (I don't know about JAI).
    The setIconImage is in java.awt.Frame, and doesnt do much other than keeping a reference to the icon image. I guess there is some native code that will call getIconImage to paint that icon on the title bar.
    Anyway, the easiest way is to use a gif or jpg image for an icon.
    PS. The source code for the java and javax classes is in a file called src.jar (shipped with jdk). You can unpack it with jar or winzip.

  • How do I add an image next to a hyperlink in code behind?

    I am trying to dynamically display hyperlinks in a div, and I am also trying to add an image to appear right next to each hyperlink. My code is able to add the hyperlinks to the div's but I can't figure out how to add an image to appear next to each hyperlink.
    I am not pretty good at doing this in the code behind, which is what the requirements demand. Can anyone please point me in the right direction? I am basically trying to add an image right next to each hyperlink as they are dynamically created. Here is what
    my code looks like...
    using (SPSite site = new SPSite(siteUrl))
    List<string> output = new List<string>();
    SPWeb web = site.RootWeb;
    SPList list = web.Lists["Applications"];
    SPQuery testQuery = new SPQuery();
    testQuery.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + MyEditorPartChoice + "</Value></Eq></Where>";
    foreach (SPListItem item in list.GetItems(testQuery))
    DynLink = new HyperLink();
    dynDiv = new HtmlGenericControl("DIV");
    lbl = new Label();
    environment = Convert.ToString(item["Environment"]);
    appUrl = Convert.ToString(item["App URL"]);
    lbl.Text = "<br>";
    dynDiv.ID = "dynDivCode";
    dynDiv.Style.Add(HtmlTextWriterStyle.Height, "40px");
    dynDiv.Style.Add(HtmlTextWriterStyle.Width, "100%");
    dynDiv.InnerHtml = environment;
    DynLink.NavigateUrl = appUrl;
    DynLink.Text = dynDiv.InnerHtml;
    DynLink.Visible = true;
    Controls.Add(DynLink);
    Controls.Add(lbl);
    I really appreciate the help

    I figured it out...just did this.
    Image img = new Image();
    img.ImageUrl = ;//ImgUrl;
    img.Style.Add("Position", "absolute");
    Hope that helps someone else who is wanting to do this for the first time.

  • How to call a Web Api from from a Visual webpart code behind?

    Hi,
    I am trying to create a visual web part in sharepoint 2013 with data received from another Web API.
    I followed the below steps.
    1. Created a Visual Web part.
    2. In the code behind(.cs) file I wrote the following code.
     async private void GetResult()
                using (var client = new HttpClient())
                    client.BaseAddress = new Uri("http://localhost:8080/");
                    client.DefaultRequestHeaders.Accept.Clear();
                    client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
                    var response = await client.GetAsync("api/Tfs/OpenEnquiriesCount");
                    var content = response.Content;
    3. When I run the application, I get security exception in the line await
    client.GetAsync()
    What is the way to achieve this? How to call a web api from share point visual web part?
    Thank you in advance.

    Hi,
    Thanks for your sharing.
    Cheers,
    Jason
    Jason Guo
    TechNet Community Support

  • Customize Access Requried page with code behind attached to it in sharepoint 2010

    Hi,
    I have modified default AccessDenied page to my custom accessdenied.aspx page and put Request Access button on it and javascript client side redirection to my requestaccess (reqestaccess.aspx, reqestaccess.aspx.cs) application page.
    Here the problem is whenever i try to redirect to custom requesaccess page in _layouts it again shows me accessdenied page since user is not having access.
    I changed requrestaccess to my custom requestaccess through Powershell command (UpdateMapping - 5). I can only modify the UI part of requestaccess.aspx and can not bind code behind where i want user to select combination of what access is required
    on the site, there are lots of controls on requestaccess page e.g. dropdown that fetches data from list\external list and so on.
    I tried many things to attach code behind to requestaccess page e.g. <%@ Page Inherits="codebehind.cs" /> and all.
    Q - How can i redirect user to custom request access page (includes both aspx, aspx.cs) and allow user to interact with custom page? Is there any way OR WORKAROUND to do this in Sharepoint 2010?
    OR
    Can we overide with ElevetedPermissions in UI\CodeBehind and show the application page to user?
    OR
    Can user access application page even though they donot have rights to access site? Anything will do.
    OR
    In short, I need to redirect a user to some .aspx\.aspx.cs page from AccessDenied page, irrespective of user having access or not. 
    I hope question is clear enough to understand the issue. :)
    Regards,
    Rahul

    Hi,
    According to your post, my understanding is that you had an issue about the custom Access Required page.
    Microsoft supported using code behind, but for these pages it seemed some difference.
    However, as a workaround, we can put all the functionality to the aspx page directly.
    http://umbraes-tower.blogspot.com/2011/10/custom-request-access-page-in.html
    More reference:
    http://onlinecoder.blogspot.com/2011/05/how-to-customize-requestaccess.html
    http://oszakiewski.net/eric/customizing-the-access-request-page-in-sharepoint-2010
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to find out the code behind a button

    Hi,
    What technique should I use to find out what java code is invoked when I click on a button in the portal?
    More concrete: I want to know the code behind the button I'm talking about <a href="https://forums.sdn.sap.com/thread.jspa?threadID=188251">here</a>.
    T h a n k s !
    Jeroen

    I would suggest you use HTTPWatch in your browser to see what is happening behind you button click.
    You can get it here
    <a href="http://www.simtec.ltd.uk/">http://www.simtec.ltd.uk/</a>

  • Custom Master Page with Code behind in SharePoint 2013

    Hi All,
    I want to create the Custom Master Page in Sharepoint 2013 with Code file in it.
    Is it possible to create? if YES the how i can achieve it??
    PD

    To add something to Amit's reply, you can refer to the following link on how to create master page with code behind if you are new to ASP.net.
    Walkthrough: Creating and Using ASP.NET Master Pages in Visual Web Developer
    http://msdn.microsoft.com/en-us/library/ehszf8ax(v=vs.90).aspx
    Miles LI TechNet Community Support

  • Location for login.aspx code behind?

    I added a Login.aspx.cs file in the Server Project with some code in
    Page_Load() I need to implement, and edited the first line of login.aspx this way:
    <%@ Page Language="C#" CodeBehind="Login.aspx.cs" Inherits="Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase" %>
    What I added, exactly, are the Language and CodeBehind
    properties.
    But when I deploy and run the application, I get this error:
    The type 'Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase' is ambiguous: it could come from assembly 'C:\testing\Sandbox\bin\Microsoft.LightSwitch.Server.DLL' or from assembly 'C:\testing\Sandbox\bin\Application.Server.DLL'.
    Please specify the assembly explicitly in the type name.
    I understand this is because Login.aspx.cs already exists in some assembly.
    Is there any way to Access Login.aspx code behind?
    If not, how can I add my own login page to an HTML Client App without losing the already configured Forms security, roles, permissions, etc.?
    thanks.
    Nicolás.
    Nicolás Lope de Barrios
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to
    "Mark as Answer". This will help other people find answers to their problems more quickly.

    Josh:I tried your suggestion, edited Login.aspx like you said, and the code for Login.aspx.cs converted from vb is this:
    using System;
    using System.Collections.Generic;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.Security;
    using Microsoft.LightSwitch;
    using LightSwitchApplication;
    using LightSwitchApplication.Helpers;
    namespace LightSwitchApplication
    public partial class Login : Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase
    protected void Page_Load(object sender, EventArgs e)
    AuditHelper.CreateAuditTrailForLogin();
    public Login()
    Load += Page_Load;
    As you can see, all I want to do is call AuditHelper.CreateAuditTrailForLogin()
    on Page_Load()
    But I'm getting this exception, wich is obvious what it means, but I don't know how to fix. Does it mean we're overriding Server generated Page_Load() so I have to write all the code that handles authentication?:
    The method or operation is not implemented.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.             
    Exception Details: System.NotImplementedException: The method or operation is not implemented.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.                  
    Stack Trace:
    [NotImplementedException: The method or operation is not implemented.]
    LightSwitchApplication.Login.Page_Load(Object sender, EventArgs e) +36
    Microsoft.LightSwitch.Security.ServerGenerated.Implementation.LogInPageBase.OnLoad(EventArgs e) +90
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    Any help appreciated.
    Nicolás Lope de Barrios
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to
    "Mark as Answer". This will help other people find answers to their problems more quickly.

  • "Object Required" error when using the script block from the code behind

    I try to use the following script block on the code behind page
    <script defer='true' id='NavID' type='text/javascript'>Nav();</script>
    and the function Nav() is on the .aspx page. It gives me the "Object Required" error message. BUT if I add an alert("hello!!!") line inside of the Nav() function, it works fine after the user closes the alert box. Has anyone experienced a similar problem? Please help. Thanks.

    There is no way to troubleshoot this by looking at a picture of the diagram. LabVIEW 6 is almost prehistory and many things have changed, especially the file IO all looks different so it is impossible to tell what you are doing.
    Error 7 is file not found, so most likely your string operations are not correct. What are the full strings? What is the final file name (maybe you are missing a "\" or maybe you are on a different OS type). Put an indicator at the path wire to see what's happening!
    Is this a datalog file?
    (Overall, the code is a bit suspect. Nobody needs a seven frame flat sequence. ) Why do a control and an indicator have the same label?)
    LabVIEW Champion . Do more with less code and in less time .

  • How to execute the Code-Behind of .aspx linked using XML Data Connection

    I have a dashboard with a live XML Data Connection tied to a Default.aspx file.  That .aspx file has a Default.aspx.vb code-behind file tied to it with some logic in the Page_Load sub routine.  If i open the .aspx on my own in the browser, the code-behind executes properly.
    However, when I tie the .aspx to my dashboard and launch it I know for a fact the .aspx is being called (i have a placeholder on the dashboard to let me know if it executed or not) but its code-behind file is not.  I can't seem to find a solution through Google, would anyone be able to lead me in the right direction with this?  My code is as follows:
    Default.aspx
    <%@ Page Language="vb" aspcompat="true" Debug="true" validaterequest="false" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="scheduleAppointment._Default" %>
    <%    
        'tester to see that script executes, this puts "ScriptExecuted" on a label on my dashboard
        Dim sXML As String   
        sXML = "<data><variable name=" + Chr(34) + "Range_0" + Chr(34)
                      + "><row><column>ScriptExecuted</column></row></variable></data>"
        Response.Write(sXML)
    %>
    Default.aspx.vb
    Imports Microsoft.Office.Interop
    Partial Public Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
                (I have code here creating a Microsoft Outlook appointment and saving/scheduling it. This is not being
                 executed when running the dashboard itself, but I know the code works if I run the .aspx on my own
                 in Internet Explorer browser)
        End Sub
    End Class

    Easy fix, apparently code-behind doesn't execute in Preview mode.  Exported to .swf and ran in the Internet Explorer browser and it worked.

  • Labels pointing to pie slices with lines (or how 2 set chart properties in code behind)

    I want to be able to create lines outside of my pie chart with labels and have those lines drawn to connect to the pie chart.  I saw that this can be done in code behind in the following thread:
    MSDN thread on lines to pie slices
    But my problem is I never declared an instance of my chart when I am using my code behind.  My code that makes the reports visible is basically (but not completely) the following:
    ReportDataSet.Tables.Add(ReportDataTable)
    ReportViewer.Visible = True
    Dim ReportDataSource As ReportDataSource = New ReportDataSource("ReportDataSource", ReportDataSet.Tables(0))
    ReportViewer.LocalReport.ReportPath = ReportToDisplay.RDLCFileName
    ReportViewer.LocalReport.DataSources.Clear()
    ReportViewer.LocalReport.DataSources.Add(ReportDataSource)
    ReportDataSource.Name = ReportToDisplay.DataSetName
    ReportViewer.DataBind()
    ReportViewer.LocalReport.Refresh()
    ReportViewer.ShowReportBody = True
    ReportViewer.Width = RVWidth
    ReportViewer.Height = RVHeight
    So how do I set chart properties for my report given the above code?  As long as I can set my chart properties with the above code, I should be able to get this to work given the above thread and the link to the Label-Outside-of-Pie and Line-Color properties
    (or whatever) info on Microsoft's info page

    Hello,
    Based on your description, you want to design a
    pie chart with outside lables and pie line inside a .rdlc report. If so, you can add the Chart report item into the report after open a client report definition (.rdlc) file in graphical design mode. And then Set the
    PieLabelStyle property and PieLineColor property. Please refer to the following screen shot:
    The link your post above it about the
    Chart Web server control. As pre my undersntand, you cannot reference a Web server control inside .rdlc file.
    If you have any question about using Chart Web server control, you can post a question on
    Chart Controls for .NET Framework forum.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • Report from SAP Quickviewer code

    Hi, I have been given a code generated by SAP Quickviewer (transaction SQVI). The client expects me to design an ABAP Report using this code as a guideline. Is this practically possible. I don't even have access to the name of the quickview. No tech

  • IPhone 4S viewfinder in video mode

    I really like that you can send live video using the HDMI adapter from the iPhone 4S to a TV connected by HDMI, but I want to be able to do this without the UI elements showing up on the external screen. In other words, I want to be able to send live

  • How to start ftp under solaris 10

    Hi, if I try to enable ftp under Solaris 10, I get the message "unsatisfied dependencies": root@u015ad2a:.../>svcadm -v enable -rst svc:/network/ftp:default svc:/network/ftp:default temporarily enabled. svc:/network/inetd:default temporarily enabled.

  • Will and early 2009 mac pro support a 4tb internal harddrive?

    I have an early 2009 2.66 Quad Core Intel Xeon Mac Pro with 8gb of Ram... Wondering if it'll handle a 3 or 4 tb Seagate Barracuda drive without much hesitating... Thank you guys! Brian

  • Dimensions for Sales Volume

    Hi Team, I have to calculate Sales Volume, Sales Cost, Sales Revenue. I don't have Accounting Knowledge. Please confirm if the below dimensions are sufficient to calculate and also suggest any new parameters required in dimension  1. Sales Volume Acc