I have an update panel within it i have my activeX control, below it i have a dropdown that you make a selection from, once you make a selection im trying to pass in different paramters, which really are just the source of the control, since everything else
will be the same.. but when i make a selection, the control disappears..
If i remove the update panel and make a selection the control is still visable on the page, at the moment, i dont have much setup, im just trying to get the page layout and framework setup adn working, then i can start plugging in my datasource so actual
data is being passed in..
I do have a trigger associated with the updatepanel, but with or without it it still causes the control to disappear..
Just to be clear, it disappearing when i view the page in my browser and make a selection, not within VS. Whats weird is that ONLY that control disappears, the rest of the controls on the page stay visible, the dropdown and buttons.
thanks...
Intermediate ASP.net User, Using VS2008/VS2010 with C# and SQL2005, SQL2008, Silverlight 3
---------------------
Mark as Answered if it helped
In your scenario, I would like to suggest you don’t put the ActiveX control inside the UpdatePanel, because the ActiveX control is running
on the Client-Side, we can change its state by JavaScript, not the Code-behind code. So, there is no need to wrap the ActiveX control by UpdatePanel.
In my scenario, im building a page that will display up to 4 seperate embedded videos using the ActiveX control. So i was trying to setup the page to display the layout based on the number of videos available... default will always be 1, but if the record
has 4 camera's then i need to display 4 controls on the page..
So i was trying to hide the individual controls for each video together.. since this who page is custom built with its own play, pause, stop volume and so on..
does that make sense?
And the link provided doesnt work :(
Intermediate ASP.net User, Using VS2008/VS2010 with C# and SQL2005, SQL2008, Silverlight 3
---------------------
Mark as Answered if it helped
cubangt
Contributor
3052 Points
2402 Posts
My embedded object/activex disappears when contained within updatepanel
Mar 07, 2011 04:03 PM|LINK
I have an update panel within it i have my activeX control, below it i have a dropdown that you make a selection from, once you make a selection im trying to pass in different paramters, which really are just the source of the control, since everything else will be the same.. but when i make a selection, the control disappears..
If i remove the update panel and make a selection the control is still visable on the page, at the moment, i dont have much setup, im just trying to get the page layout and framework setup adn working, then i can start plugging in my datasource so actual data is being passed in..
I do have a trigger associated with the updatepanel, but with or without it it still causes the control to disappear..
Just to be clear, it disappearing when i view the page in my browser and make a selection, not within VS. Whats weird is that ONLY that control disappears, the rest of the controls on the page stay visible, the dropdown and buttons.
thanks...
---------------------
Mark as Answered if it helped
chetan.sarod...
All-Star
65719 Points
11133 Posts
Re: My embedded object/activex disappears when contained within updatepanel
Mar 08, 2011 02:17 AM|LINK
In your scenario, I would like to suggest you don’t put the ActiveX control inside the UpdatePanel, because the ActiveX control is running on the Client-Side, we can change its state by JavaScript, not the Code-behind code. So, there is no need to wrap the ActiveX control by UpdatePanel.
The following article is talks about this topic; I would like to suggest you have a look:
Activating ActiveX Controls with JavaScript
http://www.aspnetpro.com/NewsletterArticle/2006/06/asp200606af_l/asp200606af_l.asp
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
cubangt
Contributor
3052 Points
2402 Posts
Re: My embedded object/activex disappears when contained within updatepanel
Mar 08, 2011 06:27 PM|LINK
In my scenario, im building a page that will display up to 4 seperate embedded videos using the ActiveX control. So i was trying to setup the page to display the layout based on the number of videos available... default will always be 1, but if the record has 4 camera's then i need to display 4 controls on the page..
So i was trying to hide the individual controls for each video together.. since this who page is custom built with its own play, pause, stop volume and so on..
does that make sense?
And the link provided doesnt work :(
---------------------
Mark as Answered if it helped
jafarkofahi
Member
2 Points
4 Posts
Re: My embedded object/activex disappears when contained within updatepanel
Nov 02, 2012 01:57 PM|LINK
Here is the link: http://www.devproconnections.com/article/aspnet2/activating-activex-controls-with-javascript
HTH
Jafar