RPX does not reference Code Behind


08-21-2003, 12:00 AM
Originally Posted By: Hai Vu<hvu@usph.com>

I was trying to format some of the PageHeaders Labels through the Code
Behind (C.B.), but it didn't seem to work. When trying to test/debug, I put
a break point in the C.B. and it seemed to by pass the C.B. I deleted the
C.B. to test further and the report seemed to still work. How do you make
the rpx reference the C.B.?

Thanks,
--hai--


Re: RPX does not reference Code Behind


08-22-2003, 12:00 AM
Originally Posted By: Trent Snow - DD<ActiveReports.Support@DataDynamics.com>

Hello Hai--

This is all usually handled by the IDE when your add an ActiveReport to the
project is will add the RPX and the code behind to your project and it will
also add to your csproj or vbproj the following information:

RelPath = "mySub.rpx"
BuildAction = "EmbeddedResource"
Generator = "ARVSPackage.CodeGenerator"
LastGenOutput = "mySub.cs"/>
RelPath = "mySub.cs"
DependentUpon = "mySub.rpx"
SubType = "Code"
BuildAction = "Compile"
DesignTime = "True"
AutoGen = "True"/>

This is how the code behind knows that it depends on the RPX.

"Hai Vu" wrote in message
news:88q4vt%23ZDHA.2284@dynaweb.datadynamics.com...
> I was trying to format some of the PageHeaders Labels through the Code
> Behind (C.B.), but it didn't seem to work. When trying to test/debug, I
put
> a break point in the C.B. and it seemed to by pass the C.B. I deleted the
> C.B. to test further and the report seemed to still work. How do you make
> the rpx reference the C.B.?
>
> Thanks,
> --hai--
>
>


Re: RPX does not reference Code Behind


09-16-2003, 12:00 AM
Originally Posted By: Hai Vu<hvu@usph.com>

The IDE does create the Code Behind (CB), but I use the LoadLayout method
which doesn't seem to detect the CB. Is there anyway I can use LoadLayout
and CB?

"Trent Snow - DD" wrote in message
news:tLPvEnMaDHA.2084@dynaweb.datadynamics.com...
> Hello Hai--
>
> This is all usually handled by the IDE when your add an ActiveReport to
the
> project is will add the RPX and the code behind to your project and it
will
> also add to your csproj or vbproj the following information:
>
> > RelPath = "mySub.rpx"
> BuildAction = "EmbeddedResource"
> Generator = "ARVSPackage.CodeGenerator"
> LastGenOutput = "mySub.cs"/>
> > RelPath = "mySub.cs"
> DependentUpon = "mySub.rpx"
> SubType = "Code"
> BuildAction = "Compile"
> DesignTime = "True"
> AutoGen = "True"/>
>
> This is how the code behind knows that it depends on the RPX.
>
> "Hai Vu" wrote in message
> news:88q4vt%23ZDHA.2284@dynaweb.datadynamics.com...
> > I was trying to format some of the PageHeaders Labels through the Code
> > Behind (C.B.), but it didn't seem to work. When trying to test/debug, I
> put
> > a break point in the C.B. and it seemed to by pass the C.B. I deleted
the
> > C.B. to test further and the report seemed to still work. How do you
make
> > the rpx reference the C.B.?
> >
> > Thanks,
> > --hai--
> >
> >
>
>