Click here to Skip to main content
15,892,480 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to display Regression equation and R-squared value Pin
Kandepu Rajesh4-Apr-14 20:46
Kandepu Rajesh4-Apr-14 20:46 
AnswerRe: How to display Regression equation and R-squared value Pin
Schatak4-Apr-14 22:11
professionalSchatak4-Apr-14 22:11 
Questionhow to initialize master page items in ASP.Net MVC Pin
reza_shmki4-Apr-14 18:29
reza_shmki4-Apr-14 18:29 
AnswerRe: how to initialize master page items in ASP.Net MVC Pin
Schatak6-Apr-14 23:04
professionalSchatak6-Apr-14 23:04 
QuestionBest way to persist more than 100 values across postback in Asp.net 3.5 Pin
Lalit Kumar Jain4-Apr-14 0:52
Lalit Kumar Jain4-Apr-14 0:52 
AnswerRe: Best way to persist more than 100 values across postback in Asp.net 3.5 Pin
Blikkies4-Apr-14 1:20
professionalBlikkies4-Apr-14 1:20 
GeneralRe: Best way to persist more than 100 values across postback in Asp.net 3.5 Pin
Lalit Kumar Jain6-Apr-14 21:54
Lalit Kumar Jain6-Apr-14 21:54 
QuestionPage_Load event raises when I open jquery dialog window from User Control Pin
abhishek.mumbai3-Apr-14 20:14
abhishek.mumbai3-Apr-14 20:14 
Hi Guys

In my web application I am using the following pages.

a. Master Page : Site.Master
b. Aspx Page : ABC.aspx
c. User Control : UC.ascx
d. Aspx Page : email.aspx

Now the scenario is:

The master page(Site.Master) and user control (UC.ascx) are used in ABC.aspx.

The requirement is when the user click on "Email" button in "abc.aspx", one jquery dialog box should get open and inside it the "email.aspx" should get called.


But now when I click on "Email" button I don't know why the Page_Load event of ABC.aspx raises.


Code is-

Master Page(Site.master)
<div id="divSubscribeDialog">
</div>


User Control(UC.ascx):
HTML Code:
<input type="button" id="emailButton" value="Email" onclick="javascript:return onEmailClick();" />


Javascript Code:
JavaScript
function onEmailClick() {
    $("#divEmailDialog", window.parent.document.body).html('');
    $("#divEmailDialog", window.parent.document.body).load("../Email.aspx").dialog({
        width: 800,
        right:10,
        height:800,
        position: 'center',
        modal: true,
        resizable: true,
        draggable: false
    });
    return false;
}



Any Help friends.....???


Thanks
Abhishek
Mumbai, India

SuggestionRe: Page_Load event raises when I open jquery dialog window from User Control Pin
Blikkies3-Apr-14 23:10
professionalBlikkies3-Apr-14 23:10 
Answerinhibit Postback when clicking a Button Pin
Ferd Really17-Apr-14 7:40
Ferd Really17-Apr-14 7:40 
AnswerRe: Page_Load event raises when I open jquery dialog window from User Control Pin
Praneet Nadkar7-May-14 19:31
Praneet Nadkar7-May-14 19:31 
QuestionSharing master page between different web applications Pin
indian1433-Apr-14 9:06
indian1433-Apr-14 9:06 
AnswerRe: Sharing master page between different web applications Pin
Tom Marvolo Riddle3-Apr-14 18:22
professionalTom Marvolo Riddle3-Apr-14 18:22 
GeneralRe: Sharing master page between different web applications Pin
indian1434-Apr-14 5:37
indian1434-Apr-14 5:37 
GeneralRe: Sharing master page between different web applications Pin
indian1434-Apr-14 8:35
indian1434-Apr-14 8:35 
GeneralRe: Sharing master page between different web applications Pin
indian1434-Apr-14 9:01
indian1434-Apr-14 9:01 
GeneralRe: Sharing master page between different web applications Pin
Tom Marvolo Riddle4-Apr-14 18:03
professionalTom Marvolo Riddle4-Apr-14 18:03 
QuestionUnable to create the virtual directory. The URL 'http://localinternet:80/' is already mapped to a different folder on an IIS site. Pin
indian1433-Apr-14 6:16
indian1433-Apr-14 6:16 
AnswerRe: Unable to create the virtual directory. The URL 'http://localinternet:80/' is already mapped to a different folder on an IIS site. Pin
Schatak4-Apr-14 2:59
professionalSchatak4-Apr-14 2:59 
GeneralRe: Unable to create the virtual directory. The URL 'http://localinternet:80/' is already mapped to a different folder on an IIS site. Pin
indian1438-Apr-14 14:28
indian1438-Apr-14 14:28 
GeneralRe: Unable to create the virtual directory. The URL 'http://localinternet:80/' is already mapped to a different folder on an IIS site. Pin
Schatak8-Apr-14 19:55
professionalSchatak8-Apr-14 19:55 
Questionquestion Pin
Member 107210812-Apr-14 23:07
Member 107210812-Apr-14 23:07 
AnswerRe: question Pin
Tom Marvolo Riddle2-Apr-14 23:21
professionalTom Marvolo Riddle2-Apr-14 23:21 
Questiondefault html file is opening when run my application Pin
rk2krishna2-Apr-14 21:21
rk2krishna2-Apr-14 21:21 
AnswerRe: default html file is opening when run my application Pin
Tom Marvolo Riddle2-Apr-14 23:40
professionalTom Marvolo Riddle2-Apr-14 23:40 

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.