hey minhpc_bk, nice to read you! i.E the function '__doPostBack' and all call's to that function are missing. actualy no links aren't rendered. you can take a look at www.gmc.li. First i'll check out your posted link's. thanks, bernd -- modified at 10:29 Monday 2nd October, 2006 stop - the function will be rendered!! In my control isn't set the Property 'Page' which can explain a lot ;) -- modified at 16:51 Monday 2nd October, 2006 false alarm :( the script was rendered by another aspx control. still with no idea. isn't there a property 'enableClientScripting' ore something else? Please take a look at the code[^] here, maybe one of you can see my big mistake.
thebread
Posts
-
Difference between manual rendering and rendering by aspx -
Difference between manual rendering and rendering by aspxhmm, you may think this does not make sense, but i try to create some aspx stuff by ironPython and so i haven't not a real aspx enviroment. That means i haven't a page_load event or something like that. Does someone of you know some details about the rendering process of webcontrolls in common? For example which method renders script code, who call's this method and when is it called? i'll be happy about any suggestion. Thanks Bernd
-
Difference between manual rendering and rendering by aspxhello all, i have the following problem: in a page i render the html output of a calendar control manually by
cal.render(writer)
in first second it look ok but unfortunately there is no functionality rendered to the output. That means no links, no script code, ... Is there a trick to render the needed java script code to the resulting HTML? thanks, bernd -
loading COM object from aspxthe process runs under the impersonated account. it does not matter if i start iTunes by System.Diagnostics.Process or by interop.iTunesLib. The behaviour is the same. -- modified at 17:43 Thursday 28th September, 2006 Current state: i tryed to start calc.exe with the same result. i can see the process in task manager but no UI.
-
loading COM object from aspxhey minhpc_bk, thanks for your advice. you may read one post before my iTunes.exe starts but it does not displays any UI. i set iis process to allow "communication between service and desktop" but that does not change anything. i checked out iTunes in dcomcnfg.exe and did the following steps: authentificationlevel: None launch and activation: <- added the executin user with maximum rights access: <- added the executin user with maximum rights configuration: <- added the executin user with maximum rights And now i get a timeout after one minute. I can see in taskmanager iTunesexe is loaded but not more. The memory usage does dot change...always 23.816MB or 23.820MB but it does not change. Also the CPU usage is zero. Maybe iis is now allowed to launch iTunes but iTunes is still not allowed to do anything..?? no idea...
-
loading COM object from aspxRight, i like to instanciate the COM object (in my case iTunes) at the server side. you may think that does not make sense, but it does. is there any security restriction to do stuff like that? regards, bernd -- modified at 2:51 Thursday 28th September, 2006 i just noticed the error after changing the inpersonation is 0x80080005. seems to be a CO_E_SERVER_EXEC_FAILURE error, isn't it? -- modified at 3:43 Thursday 28th September, 2006 in taskmanager i can see iTunes starts under the given user but no ui. i do not need the ui but if i start iTunes throu my code manually (not by iie) the ui will be shown. anyway, after one minute or so i get the 0x80080005 error.
-
loading COM object from aspxhey folks, i just tryed to start iTunes from an aspx application by the browser. i get the following error: Die COM-Klassenfactory f?r die Komponente mit CLSID {DC0C2640-1415-4644-875C-6F4D769839BA} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80070005. sorry, it's german but i think you'll get it. if i do exactly the same manually everything work fine. so i added a line for impersonation in my web.config to run my web as admin:
<identity impersonate="true" userName="admin" password="topSecret"/>
but i still get the same error. i'm afraid i have to configure some DCOM stuff but unfortuneltly i've no idea of DCOM. if someone is out there who has loaded a COM thing successfully in iis by aspx please help me !! thanks, bernd -
how dynamic is .NETuiui, sounds crazy. the pattern should be implemented in the host application i think, isn't it? if i do the step to touch the code of the host application i haven't to go the long way round doing stuff with code dom and something like that. but this could be a powerfull plug-in mechanism...i'll give it a try later. thanks for your advice, bernd
-
how dynamic is .NEThey Guffa, thanks. it's not that easy. i haven't the source code of the host application under my control :( btw. i wouldn't like to touch it. you say reflection...is reflection able to do things we speek about? till now i used reflection just "raedonly". regards, bernd
-
how dynamic is .NEThey folks, can anyone tell me if it's possible to alter a enumeration or a class during runtime? for example adding an item to a enumeration or exchanging a method with another? if not, what can i do to customize the host application with a 'add-in' which is loaded by the host application? thanks for hints bernd
-
reset a memorystreami integrated ironPython in my application to ensure sccripting support. ironPython writes it's output into a stream. but you're right...currently everythings works fine and performace is till now no problem. thanks for your help!
-
reset a memorystreamthanks guffa, speed is always nice to have ;-) and what's faster, setting the length to 0 or create a new one?
-
reset a memorystreamhey folks, what is the fastest way to have a clean fresh System.IO.MemoryStream each time i write into it? one way is to make a
ms.SetLength(0)
before i write in to it. Another way is to create a new one each time. i think this two methods aren't very fast. is there another posibility to clear a stream? thanks, bernd -
Using 2.0 in 1.1I compiled my project against .NET1.1 and run it currently on .NET2.0, so i thought i can load some 2.0-dll's dynamicly...still in testing state... -- modified at 18:05 Saturday 5th August, 2006 ok, that does the job. i'm sure there are sometimes some compatibility isues in running my 1.1-App under 2.0 but this price i have to pay. thanks guys
-
Using 2.0 in 1.1hmm...a web service is not a realy alternative. what i'm trying to do is using ironPython in .Net 1.1 it seems, i have to port the host application. thanks
-
Using 2.0 in 1.1such a crap! and also no way to create something like a wrapper in 2.0 for 1.1? or something like a .tlb? thx
-
Using 2.0 in 1.1hey folks, is it possible to use a 2.0 dll in a 1.1 project? i just created a vs 2003 project and tryed to add a reference to a .Net2.0 dll...unsuccessful is there a way to realize my intention anyway? thanks, bernd
-
Using Progress BarsIf your business logic runs on an other machine than your client you have to use i.e. something like the massage queue server, which provides the notification of your client of server side events. regards, bernd
-
implementing the mvc-patternok, and how do i implement it the correct way? is there anywhere a guide for doing this in any other language? i just know what components are used in mvc and i tryed to implement it by using web-sservices to build something like a fassade for my app, but it seems to be not the right way. in fact i'm not sure if something like a fassade is the right way because it provides just a one way communication. please give me some hints. regards, bernd
-
implementing the mvc-patternhey @ all, does anyone of you have experience by implementing the mvc-pattern? implementing the model should not be the problem, but how should i design the view (respectifly the fassade) when i try to build a app, that serves the model to the client's by remoting. i try to make a client-server-app, where the inelligent part of the app runs on the server an all clients are running just a proxy of the application. does this make sense? or ist there an other, better way to implement the mvc-pattern? thx, bernd