it's possible to use a html tag object as a tag iframe. When a declare in a
acsx file the tag object, i can't access to them with the codebehind C#.
Visual Studio says that there is no definition for the ID of the tag object.
Can you help me?
Regards
Michele
Re: tag object
am 03.04.2008 11:10:16 von Eliyahu Goldin
Do you mean you have an tag in the markup and you
want to access it from c#? If that's what you need, just add runat="server":
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"miki79" wrote in message
news:C5630ACA-5A4A-4131-B036-72E17B2DCF92@microsoft.com...
> Hi,
>
> it's possible to use a html tag object as a tag iframe. When a declare in
> a
> acsx file the tag object, i can't access to them with the codebehind C#.
> Visual Studio says that there is no definition for the ID of the tag
> object.
>
> Can you help me?
> Regards
> Michele
Re: tag object
am 03.04.2008 11:28:00 von miki79
Excuse me for the bad question.
i have the tag in the markup and
i want access it from C#
but Visual Studio says that there is no definition for myObject. I must use
Regards
Michele
"Eliyahu Goldin" wrote:
> Do you mean you have an tag in the markup and you
> want to access it from c#? If that's what you need, just add runat="server":
>
>
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "miki79" wrote in message
> news:C5630ACA-5A4A-4131-B036-72E17B2DCF92@microsoft.com...
> > Hi,
> >
> > it's possible to use a html tag object as a tag iframe. When a declare in
> > a
> > acsx file the tag object, i can't access to them with the codebehind C#.
> > Visual Studio says that there is no definition for the ID of the tag
> > object.
> >
> > Can you help me?
> > Regards
> > Michele
>
>
>
Re: tag object
am 03.04.2008 15:42:32 von DFS
just like script, an
Re: tag object
am 03.04.2008 17:56:03 von miki79
Hi, but i don't be able to access at the myObject from C#. I don't understand
why if i declare an IFRAME, i can access to it, but it's not possibile if i
declare a tag object.
Regard
Michele
"bruce barker" wrote:
> just like script, an defines a server
> side object (not a client side) that is accessible from c#. its
> properties match the object type of course.
>
> to define a client side object from the codebehind you need to use a
> different control.
>
> -- bruce (sqlwork.com)
>
> miki79 wrote:
> > Excuse me for the bad question.
> >
> > i have the tag in the markup and
> > i want access it from C#
> >
> > example:
> >
> > this.myObject.Attributes.Add("data", "http://www.microsoft.com");
> >
> > but Visual Studio says that there is no definition for myObject. I must use
> >
> >
> > Regards
> > Michele
> >
> >
> >
> >
> > "Eliyahu Goldin" wrote:
> >
> >> Do you mean you have an tag in the markup and you
> >> want to access it from c#? If that's what you need, just add runat="server":
> >>
> >>
> >>
> >> --
> >> Eliyahu Goldin,
> >> Software Developer
> >> Microsoft MVP [ASP.NET]
> >> http://msmvps.com/blogs/egoldin
> >> http://usableasp.net
> >>
> >>
> >> "miki79" wrote in message
> >> news:C5630ACA-5A4A-4131-B036-72E17B2DCF92@microsoft.com...
> >>> Hi,
> >>>
> >>> it's possible to use a html tag object as a tag iframe. When a declare in
> >>> a
> >>> acsx file the tag object, i can't access to them with the codebehind C#.
> >>> Visual Studio says that there is no definition for the ID of the tag
> >>> object.
> >>>
> >>> Can you help me?
> >>> Regards
> >>> Michele
> >>
> >>
>