Click here to Skip to main content
15,896,469 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionQuery Problem Pin
sjs4u17-Jan-09 2:03
sjs4u17-Jan-09 2:03 
AnswerRe: Query Problem Pin
Abhijit Jana17-Jan-09 2:06
professionalAbhijit Jana17-Jan-09 2:06 
QuestionHow can I load a file same as RSS using URL? Pin
mkomasi17-Jan-09 1:32
mkomasi17-Jan-09 1:32 
AnswerRe: How can I load a file same as RSS using URL? Pin
Christian Graus17-Jan-09 1:49
protectorChristian Graus17-Jan-09 1:49 
Questioncustom paging for gridview Pin
sandhya1417-Jan-09 0:11
sandhya1417-Jan-09 0:11 
AnswerRe: custom paging for gridview Pin
Abhijit Jana17-Jan-09 0:19
professionalAbhijit Jana17-Jan-09 0:19 
GeneralRe: custom paging for gridview Pin
sandhya1418-Jan-09 18:48
sandhya1418-Jan-09 18:48 
Questiongetting problem in model window Pin
NidhiKanu16-Jan-09 23:53
professionalNidhiKanu16-Jan-09 23:53 
Hi all,


I am using this code on aspx page from where i open model window:

function AddValue(Param)
{
var winSettings = 'center=yes,left=150px,top=150px,status=yes,scrollbars=yes,resizable=yes,width=300,height=300';
var Status=window.showModalDialog('/Scheduling/View/DataInput/AddPopup.aspx?Key='+Param,'',winSettings);
document.getElementById('ctl00_CPHMain_hdnCheck').value=Status;
document.getElementById('ctl00_CPHMain_hdnKey').value=Param;
if(Status==1)
{
return true;
}
else
{
return false;
}

}


and using this code on model window:

function CloseWindow(returnValue)
{
window.returnValue =returnValue;
window.close();
}

calling this function for returning value while closing window:

<asp:ImageButton ID="btnSave" runat="server" OnClick="btnSubmit_Click" CausesValidation="true" ToolTip="Click here to Save" SkinID="save" > </asp:ImageButton>
<img src="../../App_Themes/White/Images/btn_cancel.jpg" alt="cancel" onclick="CloseWindow(0);" title="Click here to close window" id="IMG1" />


Now problem is that when i click on image which is use for cancel then it close with return value 0 but at the time of saving when i click on image button for saving its looks llkes as other window is open and close after saving but this model window remains same.

On mozilla its working well but on ie7 i m getting this problem
AnswerRe: getting problem in model window Pin
Guffa17-Jan-09 0:09
Guffa17-Jan-09 0:09 
GeneralRe: getting problem in model window Pin
NidhiKanu17-Jan-09 0:12
professionalNidhiKanu17-Jan-09 0:12 
GeneralRe: getting problem in model window Pin
Guffa17-Jan-09 0:24
Guffa17-Jan-09 0:24 
GeneralRe: getting problem in model window Pin
NidhiKanu17-Jan-09 0:38
professionalNidhiKanu17-Jan-09 0:38 
GeneralRe: getting problem in model window Pin
NidhiKanu17-Jan-09 0:51
professionalNidhiKanu17-Jan-09 0:51 
GeneralRe: getting problem in model window Pin
Abhijit Jana17-Jan-09 1:09
professionalAbhijit Jana17-Jan-09 1:09 
GeneralRe: getting problem in model window Pin
NidhiKanu17-Jan-09 1:54
professionalNidhiKanu17-Jan-09 1:54 
Question[newbie] Wizard Control Pin
jon-8016-Jan-09 22:37
professionaljon-8016-Jan-09 22:37 
AnswerRe: [newbie] Wizard Control Pin
Abhijit Jana16-Jan-09 23:54
professionalAbhijit Jana16-Jan-09 23:54 
GeneralRe: [newbie] Wizard Control [modified] Pin
jon-8018-Jan-09 8:45
professionaljon-8018-Jan-09 8:45 
QuestionMultiple Update Panels in a Page not firing Pin
meeram39516-Jan-09 21:17
meeram39516-Jan-09 21:17 
AnswerRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana16-Jan-09 21:31
professionalAbhijit Jana16-Jan-09 21:31 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39516-Jan-09 23:29
meeram39516-Jan-09 23:29 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 0:09
professionalAbhijit Jana17-Jan-09 0:09 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39517-Jan-09 17:41
meeram39517-Jan-09 17:41 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 19:54
professionalAbhijit Jana17-Jan-09 19:54 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39518-Jan-09 23:31
meeram39518-Jan-09 23:31 

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.