由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - Jquery dialog问题请教
相关主题
dynamic change before refreshinganyone tried vs2010 beta2?
Nested Datalist layout!!VS2010 Add reference Dialog, not good
How to check a linked table?How to stop windows service in OnStart()
which one is the WizardBar?求建议:用什么软件开发好?
drawing in c#VS里有没有overview ruler的功能
how to download a https fileWho can tell me why i cannot connect to the SQL db file ?
[合集] 问一个Response.WriteFile的问题Please help me with Infragistics XamDatagrid databinding
一个问题再问Windows Form
相关话题的讨论汇总
话题: dialog话题: false话题: continue话题: 页面
进入DotNet版参与讨论
1 (共1页)
t********5
发帖数: 274
1
btnCreateAccount是主页面的按钮,按下之后弹出dialog子页面,子页面里有个
continue按钮,按下之后希望主页面的btnCreateAccount继续提交,按照我下边的代码
,无法继续,因为$("#<%=btnCreateAccount.ClientID %>").click(function() 里
return false了,如果不return false的话,子页面只是一闪而过,无法停留,不知如
何处理,望高人指教!
$("#<%=btnCreateAccount.ClientID %>").click(function() {
if ($("#aspnetForm").valid())
{
if( $('#<%=drpCompanyState.ClientID %>').val() =='CA' ||
$('#<%=drpCompanyState.ClientID %>').val() =='GA'){
$( "#dialog" ).dialog('open');
$(this).button('refresh')
//$('#dialog').parent().appendTo($("form:first"))
return false;
}
}
});
$( "#dialog" ).dialog({
autoOpen: false,
modal: true,
close: function () {
$('#btnCreateAccount').button('refresh');
},
buttons: {
'Continue': function() {
$(this).dialog('close');
} }
});
});


visible="false">
Would you like to keep 100% of your commission on each deal? No
desk fees. Free leads.


Check this box for more info "server" />


http://www.retopia.com/">Retopia.Com




t********5
发帖数: 274
2
解决了,在contine里加个postback就可以了

||

【在 t********5 的大作中提到】
: btnCreateAccount是主页面的按钮,按下之后弹出dialog子页面,子页面里有个
: continue按钮,按下之后希望主页面的btnCreateAccount继续提交,按照我下边的代码
: ,无法继续,因为$("#<%=btnCreateAccount.ClientID %>").click(function() 里
: return false了,如果不return false的话,子页面只是一闪而过,无法停留,不知如
: 何处理,望高人指教!
: $("#<%=btnCreateAccount.ClientID %>").click(function() {
: if ($("#aspnetForm").valid())
: {
: if( $('#<%=drpCompanyState.ClientID %>').val() =='CA' ||
: $('#<%=drpCompanyState.ClientID %>').val() =='GA'){

s***o
发帖数: 2191
3
Is there any reason for not using .ajax() to submit/post and then
continue?

【在 t********5 的大作中提到】
: 解决了,在contine里加个postback就可以了
:
: ||

1 (共1页)
进入DotNet版参与讨论
相关主题
再问Windows Formdrawing in c#
我用asp.net写的网站,各位给提提意见how to download a https file
用.net怎么做gallery[合集] 问一个Response.WriteFile的问题
刚看到的有趣观点一个问题
dynamic change before refreshinganyone tried vs2010 beta2?
Nested Datalist layout!!VS2010 Add reference Dialog, not good
How to check a linked table?How to stop windows service in OnStart()
which one is the WizardBar?求建议:用什么软件开发好?
相关话题的讨论汇总
话题: dialog话题: false话题: continue话题: 页面