Click here to Skip to main content
15,918,808 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Grid View capturing table id to delete Pin
varshavmane22-Apr-07 18:36
varshavmane22-Apr-07 18:36 
GeneralRe: Grid View capturing table id to delete Pin
J Liang22-Apr-07 20:49
J Liang22-Apr-07 20:49 
GeneralRe: Grid View capturing table id to delete Pin
varshavmane22-Apr-07 23:33
varshavmane22-Apr-07 23:33 
GeneralRe: Grid View capturing table id to delete Pin
varshavmane22-Apr-07 23:35
varshavmane22-Apr-07 23:35 
GeneralRe: Grid View capturing table id to delete Pin
J Liang23-Apr-07 15:07
J Liang23-Apr-07 15:07 
Questionlock the user account Pin
hahii22-Apr-07 16:58
hahii22-Apr-07 16:58 
AnswerRe: lock the user account Pin
Christian Graus22-Apr-07 17:30
protectorChristian Graus22-Apr-07 17:30 
Questionpassing values to modal popup Pin
D.Sridhar22-Apr-07 16:30
D.Sridhar22-Apr-07 16:30 
Hi,

How would I pass the values from a webpage to a modal popup. Right now I am doing like this. I am calling the modalpopup from the javascript function using window.openModalDialog() function. And in the popup webform I am setting the parameters to the hidden variables in the onload event of the body. once I load the parameters I am again calling the pageload manually by doing __doPostBack. The problem with this is the page is posting back twice(one initially and the other manually).
Following is the initialization method of the onload event.

function init()
{
var params = window.dialogArguments();
if(params != null)
{
document.getElementById('hiddenVar1').value = params[0];
document.getElementById('hiddenVar2').value = params[1];
...
__doPostBack('', '');
}
}

Since it is doing the postback twice it is hurting the performance. Please let me know if there is a better way to call the popups?

Thanks,
sridhar.
AnswerRe: passing values to modal popup Pin
Christian Graus22-Apr-07 16:31
protectorChristian Graus22-Apr-07 16:31 
QuestionRe: passing values to modal popup Pin
D.Sridhar22-Apr-07 18:03
D.Sridhar22-Apr-07 18:03 
AnswerRe: passing values to modal popup Pin
Christian Graus22-Apr-07 18:58
protectorChristian Graus22-Apr-07 18:58 
QuestionSecurity in WebServices Pin
Joshi Rahul22-Apr-07 16:11
Joshi Rahul22-Apr-07 16:11 
AnswerRe: Security in WebServices Pin
Christian Graus22-Apr-07 16:23
protectorChristian Graus22-Apr-07 16:23 
QuestionASP.NET Designer like SharpDevelop Pin
Christopher Stratmann22-Apr-07 14:10
Christopher Stratmann22-Apr-07 14:10 
AnswerRe: ASP.NET Designer like SharpDevelop Pin
Tim Schwallie22-Apr-07 15:50
Tim Schwallie22-Apr-07 15:50 
GeneralRe: ASP.NET Designer like SharpDevelop Pin
Christopher Stratmann23-Apr-07 0:45
Christopher Stratmann23-Apr-07 0:45 
GeneralRe: ASP.NET Designer like SharpDevelop Pin
Tim Schwallie11-May-07 15:53
Tim Schwallie11-May-07 15:53 
AnswerRe: ASP.NET Designer like SharpDevelop Pin
Christian Graus22-Apr-07 16:30
protectorChristian Graus22-Apr-07 16:30 
Questionperformance issues with ajax Pin
D.Sridhar22-Apr-07 12:06
D.Sridhar22-Apr-07 12:06 
AnswerRe: performance issues with ajax Pin
Colin Angus Mackay22-Apr-07 12:53
Colin Angus Mackay22-Apr-07 12:53 
GeneralRe: performance issues with ajax Pin
D.Sridhar22-Apr-07 15:50
D.Sridhar22-Apr-07 15:50 
AnswerRe: performance issues with ajax Pin
Christian Graus22-Apr-07 16:29
protectorChristian Graus22-Apr-07 16:29 
GeneralRe: performance issues with ajax Pin
D.Sridhar22-Apr-07 18:04
D.Sridhar22-Apr-07 18:04 
GeneralRe: performance issues with ajax Pin
Christian Graus22-Apr-07 19:03
protectorChristian Graus22-Apr-07 19:03 
QuestionIE LAN Proxy Setting Pin
vfhgujaqwe22-Apr-07 9:44
vfhgujaqwe22-Apr-07 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.