请教一个关于 ASP.NET与Flex开发,要实现调用网关“Sample”类中的某一个方法时,弹出一个Web页面,请问如何实现,
有做过这方面的的麻烦说一下,不胜感激!(最好发一份示例代码,谢谢)
有做过这方面的的麻烦说一下,不胜感激!(最好发一份示例代码,谢谢)
解决方案 »
- 问个问题, 如何给字符串StringChange事件
- Sql server中一个表在新增记录时,调用触发器,但是计算出来的结果总比实际计算结果要多;具体触发器如下
- 下载一个C#网站,布置到IIS上,访问出现问题:对路径“d:\windows\system32\inetsrv\RuntimeError.log”的访问被拒绝。
- DataGrid中关于记录数的现实
- HTTP 错误 401.1 - 未经授权:访问由于凭据无效被拒绝 这个是什么问题呀?怎么解决呀?
- FormsAuthentication与Session的关系?
- 这样的网站的数量统计 如何做?谢谢各位兄弟
- 我用DataList嵌套DataGrid成功!可是DataGrid显示的内容怎样筛选呢?!!!
- 求救:本地使用这个水晶报表是能行的,但放到别的地方就不行了,帮帮忙!谢谢!
- 怎样在ASPX中使用JMAIL?
- 点击text框出现选择框
- List<T> 移除数据
http://www.ericmmartin.com/projects/simplemodal/
比如,我在网关是这样写的
using System;
using System.Collections.Generic;
using System.Text;
using FluorineFx;
using SYS.Publiclass;
using System.Xml;
using System.Web;
using System.IO;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Net;
using System.Net.Sockets;namespace FxSLib
{
/// <summary>
/// Fluorine sample service.
/// </summary>
///
[RemotingService("Fluorine sample service")]
public class Sample
{ public Sample()
{
} /// <summary>
/// 打开某一页面
/// </summary>
/// <param name="uid"></param>
/// <param name="userLoginNmae"></param>
/// <returns></returns>
public string OpenTempUser(){ string url = "http://localhost:8080/index.aspx";
}
}
}
想打开那个url
protected void btnStakeholders_Click(object sender, EventArgs e)
{
string test;
string tpid = ViewState["TPID"].ToString();
this.chkSelectAll.Checked = false;
//打开模式窗体
Literal msg = new Literal();
msg.Text = "<script>window.showModalDialog('GanXiRen.aspx?tpid=" + tpid + "&ProjYear=" + ProjYear + "',window,\"status:Modeless;edge:raised;unadorned:no;scroll=no;resizable:yes;center=yes;help:no;dialogwidth:600px;dialogheight:300px\");window.location = window.location;</script>";
Page.Controls.Add(msg);
}
asp.net弹出页面时showmodaldialog类型的么?
谢谢,不是弹出页面时showmodaldialog。现在这个网关是一个类,不是一个*.aspx的后台页面.
呵呵,谢谢,现在这是一个flex网关的类,根本就没有ClientScript这个属性。
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;/// <summary>
/// Class1 的摘要说明
/// </summary>
public class Class1
{
public void msn()
{
HttpContext.Current.Response.Redirect("http://www.baidu.com");
}
你好,这个方法在Web页面中进行跳转没问题,但是我用的这个是asp.net与flex相连,那样调用出错。