Click here to Skip to main content
15,891,529 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Customising or changing the Position of Text box Pin
venkata lakshmi prasanna21-May-07 20:19
venkata lakshmi prasanna21-May-07 20:19 
QuestionADO.Net 2.0 Pin
Amit Kumar G21-May-07 13:19
Amit Kumar G21-May-07 13:19 
AnswerRe: ADO.Net 2.0 Pin
Sathesh Sakthivel21-May-07 15:24
Sathesh Sakthivel21-May-07 15:24 
GeneralRe: ADO.Net 2.0 Pin
Amit Kumar G21-May-07 16:08
Amit Kumar G21-May-07 16:08 
QuestionNeeded: An Interop Guru.. Pin
bgriffin_tpa21-May-07 9:54
bgriffin_tpa21-May-07 9:54 
AnswerRe: Needed: An Interop Guru.. Pin
SimulationofSai21-May-07 10:33
SimulationofSai21-May-07 10:33 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa21-May-07 12:04
bgriffin_tpa21-May-07 12:04 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 5:07
SimulationofSai22-May-07 5:07 
Check the "Ignore HTML tags in this message" checkbox the next time you post some HTML.

The answer to your question is No. The design time "object tag" is no assurance that your control emits it's own HTML. Let me give you a simple example.

When you embed a Flash movie in your web page, you only get to see the "object' tag during design time. And Flash player does not emit any HTML on it's own. When a client requests your webpage, the browser looks at the "Object" tag, reads the clsid and finds if it has a suitable plugin to parse the object. It'll find that the clsid matches that of the Flash player. It then substitutes the actual flash player in the browser in place of the "object" tag. In other words, the player you get to see in the browser is installed in the "client" computer.

An example of COM controls that emit their own HTML would be the various chart controls, grid controls and maybe even Crystal reports(Im not 100% sure of this) that just remains a gray object during design time and metamorphosizes into colorful HTML in runtime.

As to whether you can reference the control in code behind, I'm not very sure of this. It depends on how your COM control was built. I know that you can control Windows Media Player plugin at runtime using vb Script. I'm pretty sure that you can also do it from the code behind classes, although I believe that you need to explicitly convert the control using CType or something similar before you can use it's properties. But as I said, I'm not too sure of this.

Hope this helps.

Regards,
SG
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa22-May-07 8:03
bgriffin_tpa22-May-07 8:03 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 9:18
SimulationofSai22-May-07 9:18 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa23-May-07 4:04
bgriffin_tpa23-May-07 4:04 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 9:28
SimulationofSai22-May-07 9:28 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa23-May-07 3:54
bgriffin_tpa23-May-07 3:54 
GeneralRe: Needed: An Interop Guru.. [modified] Pin
SimulationofSai24-May-07 2:25
SimulationofSai24-May-07 2:25 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa24-May-07 3:04
bgriffin_tpa24-May-07 3:04 
QuestionASP.NET / XML [modified] Pin
Unsichtbar21-May-07 9:34
Unsichtbar21-May-07 9:34 
AnswerRe: ASP.NET / XML Pin
Not Active21-May-07 9:46
mentorNot Active21-May-07 9:46 
QuestionLosing Session ID Pin
dptalt21-May-07 8:56
dptalt21-May-07 8:56 
AnswerRe: Losing Session ID Pin
SimulationofSai21-May-07 10:22
SimulationofSai21-May-07 10:22 
GeneralRe: Losing Session ID Pin
Keith Andersch23-May-07 8:11
Keith Andersch23-May-07 8:11 
GeneralRe: Losing Session ID Pin
VbManVzw23-May-07 8:38
VbManVzw23-May-07 8:38 
GeneralRe: Losing Session ID Pin
dptalt24-May-07 2:29
dptalt24-May-07 2:29 
GeneralRe: Losing Session ID Pin
VbManVzw24-May-07 6:18
VbManVzw24-May-07 6:18 
Questionusercontrol property to usercontrol property Pin
TheEagle21-May-07 8:54
TheEagle21-May-07 8:54 
AnswerRe: usercontrol property to usercontrol property Pin
VbManVzw24-May-07 10:05
VbManVzw24-May-07 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.