Hi Corvin,
I agree with you. I wrote the same about ASP.NET and postbacks. I don’t know why the url doesn’t work, an iframe is able to show any content from any url. It depends on the the URL you set. Once loaded it can perform ajax callbacks seamlessly.
I received your direct email, let’s continue the interaction directly and update this thread once we have a solution.
Best,
Luca
Hi Mark,
I just tried again to make sure the build was correct. If you get page not found it means that the handler is not registered. The error we had before the fix was 505 server error because the handler generated the PlatformNotSupported exception.
It worked out of the box after installing cassini/ultradev on a new machine. Added the app, selected the default document, turned off compression, left the bypass asp.net setting on. See screenshot:

Best,
Luca
Hi Frank, thank you for your answer.
Now something more difficult: What if I do not have a form, but a UserControl? In my case, I have encapsulated the authentication process in a “Login” UserControl, with a Username and Password textboxes, a Submit button and a “Change Password” link which opens a popup to allow the user to change password. The Usercontrol communicates with its contaner form by raising an event “LoginClicked”, the textboxes and submit button are private and not visible by the container form. I saw that the UserControl does not have an AcceptButton property. Does this mean I will have to make the submit button public and set the Form.AcceptButton = UserControl.LoginButton ??
Best,
Alex
Alex,
you can achieve this by setting AcceptButton property in your form to the button you wish to react on Enter.
Please find a simple sample attaached.
Best regards
Frank
This appears to work perfectly now with no changes to the same test project I found the issue.
Regards,
Mark
Hi Frank,
I have tried with the latest from 08.07.2016 (1.2.20) and there seems to be no difference, in that the test project won’t run with Cassini/UltiDev. I get a 404 Not Found when the browser requests ‘wisej.wx ‘. I modified the web.config as Luca suggested above.
Has anyone at ITG managed to run up a project using a server other than IIS/IISExpress using the fix?
Regards,
Mark
Hi Nic,
I forgot to mention two steps:
Hi Tiago,
I’m just wondering if there were any additional steps. I closed VS, followed your steps and when I reopened VS its still just as bad as before 🙁
Thanks
Nic
Hi Luca,
i’ve tried to include an ASP.NET MVC Page(View) with the aspNetPanel-Control in Wisej but it also doesn’t work. I’ve set the PageSource to a sample View “sampleView.cshtml”. When it only contains simple HTML it’s working, but I’m not able to use some RazorSyntax and HtmlHelpers. I tried to modifiy the web.config but it still doesn’t work.
As I see the Wisej-aspNetPanel is nothing more than an HTML-iFrame and teh PageSource should point to an .aspx.Page or ? .
I haven’t tried with Wisej but I know in HTML, pointing to an ASP.NET WebForms Page (.aspx) works like this
<iframe src="samplePage.aspx"></iframe>
In raw Html pointing to a ASP.NET MVC View (.cshtml) won’t work because the src must point to the Action of the Controller which returns the View which will look something like this.
<iframe src ='controller/sampleAction'></iframe>
I can’t completely agree with the Issues you told above.
In ASP.NET WebForms, there is a terrible amount of Postbacks so Wisej may doesn’t make much sense. But aren’t the postbacks the reason why ASP.NET WebForms are more and more outdated and the Deveplopers tend to use ASP.NET MVC ?
In ASP.NET MVC we don’t have these kind of postbacks. Most of the time when there is any kind of interaction I’m replacing containers of my HTML-Page with the content of dynamically created Views which I get via selfcoded Ajax-calls or via integrated ajax-calls of the HtmlHelpers. Every Ajax-Call points to an Action of one of the Controllers.
Examples:
The Application is having a header which never changes, then we have some Pages with different Navbars. Now, when a User klicks onto an Item in the Navbar i Replace the “Content-Div” with a dynamically created View.
Often these Views are containing “Kendo UI for MVC”-Controls like Grids. When the User clicks onto the Filter-Button, the Grid is making an Ajax-Call to one of my Controller-Actions and this returns the filtered data.
It would be really nice if we could replace the above mentioned content-div with Wisej-Controls, or with some Kind of Wisej-Container which could contain all kinds of Wisej-Controls. So we could keep the implemented layouts and structures but extend the Application with Wisej and all it’s benefits.
I/We would be glad to support you with some sample Apps and Use Cases in the near time.
Best regards
Corvin
VS2015 repair didn’t solve the problem.
The above recipe didn’t solve the problem either. On top of
I also had to
The problem is solved.
Hi Luca,
Got you.
Thanks
Yes. The MainMenu only works with forms since it goes in the non-client area between the caption and the client area. It doesn’t take space in the client area, and increases the overall height.
For pages or any other control, including forms in the client area, you can use the MenuBar. You can dock it or anchor if necessary.
Best,
Luca
Hi Luca,
I finally saw the dropdown arrow next to the “+” button, it might have been there from the first time I added the MenuLabel class but since I’m using the dark theme of VS, the little arrow was not visible (since I didn’t know what I was looking for!). Thanks.
Alex
Hi Alex,
Regarding point 1, the class has to be public and you have to recompile. VS makes available to designers a type discovery service, but the type must be either in a referenced assembly or, if it’s in the same project being designed, it must be loaded or loadable from VS.
Sometimes you may have to close and reopen VS. The designer copies and caches lots of stuff.
All the Wisej design editors that handle collections show a single add button if there is one eligible class or a drop down button if there are more classes.
Best,
Luca
Look at the collection Application.ServerVariables
https://msdn.microsoft.com/en-us/library/ms524602(v=vs.90).aspx
Everything related to the environment, client, browser and server is reachable from Application.
Best,
Luca
… and, since we are still talking about MDI, can we add an image on each MDI tab ? Before or after its Text? I tried setting the Form.Icon or Form.IconSource properties but nothing showed up.
In fact, forgetting the MDI, I set the Form.ImageSource property of a window form to the path to a gif file, the Window title moved to the right to accommodate for the icon, but the icon didn’t show up.
Best,
Alex
Frank,
point 2 is fixed indeed.
Alex
Fixed!
Alex
Dear Frank and Luca,
All 3 bugs are confirmed fixed!
And now …., how can I hide the close button on individual MDI tabs? 🙂
Alex
