Ask a Question related to ASP.NET General, Design and Development.
-
S. Justin Gengo #1
Re: ascx... this time the real problem !
You can't use a user control from another domain. If you have a control that
needs to be used across domains you'll have to create a server control
instead.
Here's a good article:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwebformscontroldevelopmentbasics.asp[/url]
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Quentin" <Quentin.Casasnovas@wanadoo.Fr> wrote in message
news:%23U7SVsFWDHA.2360@TK2MSFTNGP12.phx.gbl...not> Hi,
>
> Ok first i'm sorry it's now the third or fourth message talking about my
> ascx problem... I got an error when i load the *.ascx control :
>
> MyUserControl.LoadControl("file.ascx")
>
> The error (translated by me... so i hope you'll understand) is : "The
> virtual path "/file.ascx" corresponds with an other application, that is> authorised..." (in french if my english is not understood : "Le chemin
> d'accès virtuel '/test.ascx' correspond à une autre application, ce qui
> n'est pas autorisé."
>
> Can anybody help me pleaaase ? Un gros énooorme merci d'avance
>
>
S. Justin Gengo Guest
-
Real-time streaming problem (mic)
Hi all, We are now developping an online communication platform and we're having difficulties with real-time sound stream. Let me explain: if for... -
3D real Time
I have this problem to solve: I want to interconnect a control system with a computer to display a 3D image of a room in a screen. The control... -
Real Time 3D for TV
Hi. I was wondering if Shockwave3D is suitable for interactive TV. The project consists of a TV show where people can interact through sms. The... -
Real-Time RSS Feed
I have an RSS feed written in ColdFusion that is currently scheduled (in CF Administrator) to update every 3 hours. Instead, I plan to have it... -
Real time converted to Unix time
I have seen many request to go from unix to GM time, but I have not seen the reverse. Anyone know what the formula would be to convert a US... -
Quentin #2
Re: ascx... this time the real problem !
Thank you so much for your response ! Should i make a server control or
should i make my class in the same project as my ascx user controls ?
thank you again for your response ! it helps me a lot !
"S. Justin Gengo" <sjgengo@aboutfortunate.com> a écrit dans le message de
news: [email]uIJW0rfWDHA.1736@TK2MSFTNGP10.phx.gbl[/email]...that> You can't use a user control from another domain. If you have a control[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]> needs to be used across domains you'll have to create a server control
> instead.
>
> Here's a good article:
>
l/cpconwebformscontroldevelopmentbasics.asp>
> Sincerely,
>
> --
> S. Justin Gengo, MCP
> Web Developer
>
> Free code library at:
> [url]www.aboutfortunate.com[/url]
>
> "Out of chaos comes order."
> Nietzche
> "Quentin" <Quentin.Casasnovas@wanadoo.Fr> wrote in message
> news:%23U7SVsFWDHA.2360@TK2MSFTNGP12.phx.gbl...> not> > Hi,
> >
> > Ok first i'm sorry it's now the third or fourth message talking about my
> > ascx problem... I got an error when i load the *.ascx control :
> >
> > MyUserControl.LoadControl("file.ascx")
> >
> > The error (translated by me... so i hope you'll understand) is : "The
> > virtual path "/file.ascx" corresponds with an other application, that is>> > authorised..." (in french if my english is not understood : "Le chemin
> > d'accès virtuel '/test.ascx' correspond à une autre application, ce qui
> > n'est pas autorisé."
> >
> > Can anybody help me pleaaase ? Un gros énooorme merci d'avance
> >
> >
>
Quentin Guest
-
S. Justin Gengo #3
Re: ascx... this time the real problem !
Quentin,
It all depends on how often and where you are going to use your code. If you
are only going to use it on a single web site (You've already said you
aren't.) then I would just make a user control. If you are going to reuse
your control across two or more sites make a server control.
I hope this helps.
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Quentin" <Quentin.Casasnovas@wanadoo.Fr> wrote in message
news:u%2306z4gWDHA.2024@TK2MSFTNGP12.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]> Thank you so much for your response ! Should i make a server control or
> should i make my class in the same project as my ascx user controls ?
>
> thank you again for your response ! it helps me a lot !
>
> "S. Justin Gengo" <sjgengo@aboutfortunate.com> a écrit dans le message de
> news: [email]uIJW0rfWDHA.1736@TK2MSFTNGP10.phx.gbl[/email]...> that> > You can't use a user control from another domain. If you have a control>> > needs to be used across domains you'll have to create a server control
> > instead.
> >
> > Here's a good article:
> >my> l/cpconwebformscontroldevelopmentbasics.asp> >
> > Sincerely,
> >
> > --
> > S. Justin Gengo, MCP
> > Web Developer
> >
> > Free code library at:
> > [url]www.aboutfortunate.com[/url]
> >
> > "Out of chaos comes order."
> > Nietzche
> > "Quentin" <Quentin.Casasnovas@wanadoo.Fr> wrote in message
> > news:%23U7SVsFWDHA.2360@TK2MSFTNGP12.phx.gbl...> > > Hi,
> > >
> > > Ok first i'm sorry it's now the third or fourth message talking aboutis> > > ascx problem... I got an error when i load the *.ascx control :
> > >
> > > MyUserControl.LoadControl("file.ascx")
> > >
> > > The error (translated by me... so i hope you'll understand) is : "The
> > > virtual path "/file.ascx" corresponds with an other application, thatqui> > not> > > authorised..." (in french if my english is not understood : "Le chemin
> > > d'accès virtuel '/test.ascx' correspond à une autre application, ce>> >> > > n'est pas autorisé."
> > >
> > > Can anybody help me pleaaase ? Un gros énooorme merci d'avance
> > >
> > >
> >
>
S. Justin Gengo Guest



Reply With Quote

