multiple iframe forms

Closed
0
1

Hi all, I’m trying Wisej. I have a few questions 🙂

Can I open many Wisej forms on separate iframes (from common page)? Now, when I open the second form, the first appears in the background.

Can I use Wisej forms in stateless/no-session mode?

How can I dispose the forms? (after the page close)

Can I delete the file default.json? I would like to open the forms dynamically by using a querystring parameter.

for example:

<iframe src=’item.aspx?formName=formToOpen’></iframe>


page item.aspx:
public partial class ItemPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var f = Activator.CreateInstance(Type.GetType(HttpContext.Current.Request[“formName”])) as WisejForm;
f.Show();
}
}
}


thanks in advance

 

  • You must to post comments
0
0

You can’t create Wisej objects as if they were ASP.NET objects. They don’t return an HTML string as ASP.NET or PHP do. They create javascript objects on the client in a Single Page Application (SPA) system. You can create a Wisej application inside an IFrame easily, simply use the URL to your Wisej application:

<iframe src=”/application?formToOpen=my.app.Form1″></iframe>

Where /application is a Wisej application. In Program.Main(args) you can read the value of “formToOpen” and create that form or take any other action.

Please change your email address from  sssssssssss@aa.it to something usable.

 

 

  • You must to post comments
Showing 1 result