Click here to Skip to main content
15,897,187 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionto expire the page and control in form Pin
Balaji.K21-May-07 22:03
Balaji.K21-May-07 22:03 
AnswerRe: to expire the page and control in form Pin
enjoycrack21-May-07 23:06
enjoycrack21-May-07 23:06 
AnswerRe: to expire the page and control in form Pin
Guffa21-May-07 23:34
Guffa21-May-07 23:34 
QuestionhaGridview + asp.net 2.0 + c# Pin
ritu432121-May-07 21:07
ritu432121-May-07 21:07 
AnswerRe: haGridview + asp.net 2.0 + c# Pin
pradeep kumarappagari21-May-07 21:56
pradeep kumarappagari21-May-07 21:56 
Questionurgent Pin
jamesmani2k521-May-07 20:26
jamesmani2k521-May-07 20:26 
AnswerRe: urgent Pin
Sherin Iranimose21-May-07 20:38
Sherin Iranimose21-May-07 20:38 
GeneralRe: urgent Pin
kapiljadhav21-May-07 22:23
kapiljadhav21-May-07 22:23 
Hi,
you have to add a attribute to that button during the page load event of the form that would call the popup .the code for that is like:
**********************************************
loginButton.Attributes.Add("onclick", "window.showModalDialog('/MyWebsite/login.aspx', null, 'status:no; dialogWidth:360px; dialogHeight:229px; help:no; scroll:no; menubar:no; resizable:no')");
***********************************************
This code is for modalDialog

or for popup

button.Attributes.Add ("onclick", "javascript: functiontoopenpopup();");

this will open the popup window.
In the popupwindow code....on the Page_unload you have to write this code.
*****************************************
window.close();
window.opener.location.reload();
*****************************************

This will close the popup and refresh the parent window.

Regards,
Kaps

GeneralRe: urgent Pin
Sherin Iranimose21-May-07 22:35
Sherin Iranimose21-May-07 22:35 
GeneralRe: urgent Pin
jamesmani2k522-May-07 18:19
jamesmani2k522-May-07 18:19 
Questionpage want to be display based on system properties..., Pin
Member 387988121-May-07 20:20
Member 387988121-May-07 20:20 
AnswerRe: page want to be display based on system properties..., Pin
Sherin Iranimose21-May-07 20:41
Sherin Iranimose21-May-07 20:41 
GeneralRe: page want to be display based on system properties..., Pin
Member 387988121-May-07 21:15
Member 387988121-May-07 21:15 
GeneralRe: page want to be display based on system properties..., Pin
Sherin Iranimose21-May-07 22:50
Sherin Iranimose21-May-07 22:50 
GeneralRe: page want to be display based on system properties..., Pin
Member 387988122-May-07 0:32
Member 387988122-May-07 0:32 
QuestionInvalid postback or callback argument. Pin
Imran Khan Pathan21-May-07 20:12
Imran Khan Pathan21-May-07 20:12 
Questionscrollup in textbox Pin
Balaji.K21-May-07 20:04
Balaji.K21-May-07 20:04 
AnswerRe: scrollup in textbox Pin
Sherin Iranimose21-May-07 22:44
Sherin Iranimose21-May-07 22:44 
Questionupadtion,deletion,modification in datagrid Pin
Balaji.K21-May-07 19:55
Balaji.K21-May-07 19:55 
QuestionAdding Two Numbers with out using + Operator Pin
Khan.Bangash21-May-07 19:36
Khan.Bangash21-May-07 19:36 
AnswerRe: Adding Two Numbers with out using + Operator Pin
Luka Grabarevic21-May-07 20:33
Luka Grabarevic21-May-07 20:33 
GeneralRe: Adding Two Numbers with out using + Operator Pin
Khan.Bangash21-May-07 20:48
Khan.Bangash21-May-07 20:48 
AnswerRe: Adding Two Numbers with out using + Operator Pin
PandemoniumPasha21-May-07 21:13
PandemoniumPasha21-May-07 21:13 
QuestionCustomising or changing the Position of Text box Pin
venkata lakshmi prasanna21-May-07 19:33
venkata lakshmi prasanna21-May-07 19:33 
AnswerRe: Customising or changing the Position of Text box Pin
N a v a n e e t h21-May-07 19:50
N a v a n e e t h21-May-07 19:50 

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.