Ask a Question related to ASP.NET General, Design and Development.
-
bcox #1
Setting ActiveX Control Parameters Dynamically
I would like to be able to set parameter values for an
ActiveX control hosted on an ASP.NET .aspx page from a
C# code behind file. The ActiveX registration code is
contained in <OBJECT></OBJECT> tags hosted in the .aspx
file.
The control in question is a file viewer. I need to be
able to set the filename <PARAM NAME="Filename"
VALUE="filename.ext"> reference under the
<OBJECT></OBJECT> tags dynamically.
Questions:
1. What is the best way to accomplish this?
2. Can this be done without using javascript entirely in
C# codebehind? If so, what is the syntax?
3. I would like to use a user control to wrap the ActiveX
control, can you pass a parameter to an .ascx user
control for this purpose?
4. If none of this works, should I use Response.Write to
generate the entire HTML content or some other method to
return the actual html as
a part of the aspx page.
5. Can you suggest a code refernce showing an example of
how to accomplish this?
I've tried numerous approaches and I can't seem to get
anything working. The user control wrapper approach with
a passed parameter would
be best I think.
Thanks...
bcox Guest
-
Dynamically setting selected item in control derived from DropDownList
Hello, I wrote a control derived from the ASP.NET DropDownList. I want to be able to automatically databind the derived dropdown list and then... -
help setting parameters
I am having problems working this code out to set attack and defense parameters that can handle up to 10 digit numbers can anyone tweak it for me? ... -
Setting user control property dynamically?
Hi I created a user control that has a property that accepts a url ("NavUrl").. I tried to set the value as follows directly in the aspx page... -
Dynamically call a web service from an activeX ?
myService->SetUrl(_T("http://...")) is working .... Thanks for help ! nilinque@euriware.fr (nico193) wrote in message... -
passing parameters to or invoking a method of an activex control in asp
I wrote a simple client/server chat program and the client runs as an activex control within an asp page. I have the users logging into the page...



Reply With Quote

