Apsx.net C# Prevent Page reload on button click









up vote
2
down vote

favorite












Hope you can help.



I have aspx web application, which has a list populated from SQlite which is stored for mobile numbers



I have a button, which i lets me enable / disable a textbox - which all works.



Now, when I filter the view and click on "Edit" the page reloads.



The button/textbox is dynamically created from SQLite.



 TextBox NES_editText = new TextBox();
NES_editText.CssClass = "editText";
NES_editText.Enabled = false;
NES_editText.Text = SQLReader["simName"].ToString();
NES_editText.ID = 300 + SQLReader["simNESID"].ToString();
Sim_Rows.Controls.Add(NES_editText);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 2
Sim_Rows.Controls.Add(new LiteralControl("<div class="col col-3" data-label="Edit Name">"));
Button editButton = new Button();
editButton.CssClass = "editButton";
editButton.ID = SQLReader["simNESID"].ToString();
editButton.Click += new EventHandler(EditButton_Click);

Sim_Rows.Controls.Add(editButton);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 3


Here is my edit button code



private void EditButton_Click(object sender, EventArgs e)

Button NES_Edit = sender as Button;
//TextBox NES_Text = new TextBox();

String TxtID;

//Response.Write(NES_Edit.ID);

foreach (Control obj in Sim_Rows.Controls)

if (obj is TextBox)

TxtID = obj.ID.Substring(3);
if (NES_Edit.ID == TxtID)

if (((TextBox)obj).Enabled == false)

((TextBox)obj).Enabled = true;
((TextBox)obj).Style.Add("border-bottom", "1px solid #000");
((TextBox)obj).Style.Add("width", "270px");
NES_Edit.CssClass = "button_enabled";
//Response.Write(NES_Edit.ID);
break;

else


((TextBox)obj).Enabled = false;
((TextBox)obj).Style.Remove("border-bottom");
NES_Edit.CssClass = "editButton";


SQL = "UPDATE Sims SET simName = @simName WHERE simNESID =" + NES_Edit.ID;

using (SQLiteConnection SQLCon = new SQLiteConnection(ConnectionString))


SQLiteCommand SQLCmd = new SQLiteCommand(SQL, SQLCon);
SQLCmd.Parameters.AddWithValue("@simName", ((TextBox)obj).Text );


try

SQLCon.Open();
SQLCmd.ExecuteNonQuery();


catch (SQLiteException Ex)

Response.Write(Ex.Message);

SQLCon.Close();

// SEND EMAIL


break;















When I filter the view, and i have two results and click on the edit, the page reloads.



Any way to stop that?










share|improve this question





















  • I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
    – Brad
    Nov 8 at 20:11










  • Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
    – Greg
    Nov 8 at 20:13











  • @Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
    – Azmodan
    Nov 8 at 20:15










  • @Greg, Thank you - I will do some in to the life cycle.
    – Azmodan
    Nov 8 at 20:15










  • @Azmodan Took a stab at it for you, hope it helps.
    – Greg
    Nov 8 at 20:37














up vote
2
down vote

favorite












Hope you can help.



I have aspx web application, which has a list populated from SQlite which is stored for mobile numbers



I have a button, which i lets me enable / disable a textbox - which all works.



Now, when I filter the view and click on "Edit" the page reloads.



The button/textbox is dynamically created from SQLite.



 TextBox NES_editText = new TextBox();
NES_editText.CssClass = "editText";
NES_editText.Enabled = false;
NES_editText.Text = SQLReader["simName"].ToString();
NES_editText.ID = 300 + SQLReader["simNESID"].ToString();
Sim_Rows.Controls.Add(NES_editText);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 2
Sim_Rows.Controls.Add(new LiteralControl("<div class="col col-3" data-label="Edit Name">"));
Button editButton = new Button();
editButton.CssClass = "editButton";
editButton.ID = SQLReader["simNESID"].ToString();
editButton.Click += new EventHandler(EditButton_Click);

Sim_Rows.Controls.Add(editButton);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 3


Here is my edit button code



private void EditButton_Click(object sender, EventArgs e)

Button NES_Edit = sender as Button;
//TextBox NES_Text = new TextBox();

String TxtID;

//Response.Write(NES_Edit.ID);

foreach (Control obj in Sim_Rows.Controls)

if (obj is TextBox)

TxtID = obj.ID.Substring(3);
if (NES_Edit.ID == TxtID)

if (((TextBox)obj).Enabled == false)

((TextBox)obj).Enabled = true;
((TextBox)obj).Style.Add("border-bottom", "1px solid #000");
((TextBox)obj).Style.Add("width", "270px");
NES_Edit.CssClass = "button_enabled";
//Response.Write(NES_Edit.ID);
break;

else


((TextBox)obj).Enabled = false;
((TextBox)obj).Style.Remove("border-bottom");
NES_Edit.CssClass = "editButton";


SQL = "UPDATE Sims SET simName = @simName WHERE simNESID =" + NES_Edit.ID;

using (SQLiteConnection SQLCon = new SQLiteConnection(ConnectionString))


SQLiteCommand SQLCmd = new SQLiteCommand(SQL, SQLCon);
SQLCmd.Parameters.AddWithValue("@simName", ((TextBox)obj).Text );


try

SQLCon.Open();
SQLCmd.ExecuteNonQuery();


catch (SQLiteException Ex)

Response.Write(Ex.Message);

SQLCon.Close();

// SEND EMAIL


break;















When I filter the view, and i have two results and click on the edit, the page reloads.



Any way to stop that?










share|improve this question





















  • I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
    – Brad
    Nov 8 at 20:11










  • Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
    – Greg
    Nov 8 at 20:13











  • @Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
    – Azmodan
    Nov 8 at 20:15










  • @Greg, Thank you - I will do some in to the life cycle.
    – Azmodan
    Nov 8 at 20:15










  • @Azmodan Took a stab at it for you, hope it helps.
    – Greg
    Nov 8 at 20:37












up vote
2
down vote

favorite









up vote
2
down vote

favorite











Hope you can help.



I have aspx web application, which has a list populated from SQlite which is stored for mobile numbers



I have a button, which i lets me enable / disable a textbox - which all works.



Now, when I filter the view and click on "Edit" the page reloads.



The button/textbox is dynamically created from SQLite.



 TextBox NES_editText = new TextBox();
NES_editText.CssClass = "editText";
NES_editText.Enabled = false;
NES_editText.Text = SQLReader["simName"].ToString();
NES_editText.ID = 300 + SQLReader["simNESID"].ToString();
Sim_Rows.Controls.Add(NES_editText);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 2
Sim_Rows.Controls.Add(new LiteralControl("<div class="col col-3" data-label="Edit Name">"));
Button editButton = new Button();
editButton.CssClass = "editButton";
editButton.ID = SQLReader["simNESID"].ToString();
editButton.Click += new EventHandler(EditButton_Click);

Sim_Rows.Controls.Add(editButton);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 3


Here is my edit button code



private void EditButton_Click(object sender, EventArgs e)

Button NES_Edit = sender as Button;
//TextBox NES_Text = new TextBox();

String TxtID;

//Response.Write(NES_Edit.ID);

foreach (Control obj in Sim_Rows.Controls)

if (obj is TextBox)

TxtID = obj.ID.Substring(3);
if (NES_Edit.ID == TxtID)

if (((TextBox)obj).Enabled == false)

((TextBox)obj).Enabled = true;
((TextBox)obj).Style.Add("border-bottom", "1px solid #000");
((TextBox)obj).Style.Add("width", "270px");
NES_Edit.CssClass = "button_enabled";
//Response.Write(NES_Edit.ID);
break;

else


((TextBox)obj).Enabled = false;
((TextBox)obj).Style.Remove("border-bottom");
NES_Edit.CssClass = "editButton";


SQL = "UPDATE Sims SET simName = @simName WHERE simNESID =" + NES_Edit.ID;

using (SQLiteConnection SQLCon = new SQLiteConnection(ConnectionString))


SQLiteCommand SQLCmd = new SQLiteCommand(SQL, SQLCon);
SQLCmd.Parameters.AddWithValue("@simName", ((TextBox)obj).Text );


try

SQLCon.Open();
SQLCmd.ExecuteNonQuery();


catch (SQLiteException Ex)

Response.Write(Ex.Message);

SQLCon.Close();

// SEND EMAIL


break;















When I filter the view, and i have two results and click on the edit, the page reloads.



Any way to stop that?










share|improve this question













Hope you can help.



I have aspx web application, which has a list populated from SQlite which is stored for mobile numbers



I have a button, which i lets me enable / disable a textbox - which all works.



Now, when I filter the view and click on "Edit" the page reloads.



The button/textbox is dynamically created from SQLite.



 TextBox NES_editText = new TextBox();
NES_editText.CssClass = "editText";
NES_editText.Enabled = false;
NES_editText.Text = SQLReader["simName"].ToString();
NES_editText.ID = 300 + SQLReader["simNESID"].ToString();
Sim_Rows.Controls.Add(NES_editText);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 2
Sim_Rows.Controls.Add(new LiteralControl("<div class="col col-3" data-label="Edit Name">"));
Button editButton = new Button();
editButton.CssClass = "editButton";
editButton.ID = SQLReader["simNESID"].ToString();
editButton.Click += new EventHandler(EditButton_Click);

Sim_Rows.Controls.Add(editButton);
Sim_Rows.Controls.Add(new LiteralControl("</div>")); // COL 3


Here is my edit button code



private void EditButton_Click(object sender, EventArgs e)

Button NES_Edit = sender as Button;
//TextBox NES_Text = new TextBox();

String TxtID;

//Response.Write(NES_Edit.ID);

foreach (Control obj in Sim_Rows.Controls)

if (obj is TextBox)

TxtID = obj.ID.Substring(3);
if (NES_Edit.ID == TxtID)

if (((TextBox)obj).Enabled == false)

((TextBox)obj).Enabled = true;
((TextBox)obj).Style.Add("border-bottom", "1px solid #000");
((TextBox)obj).Style.Add("width", "270px");
NES_Edit.CssClass = "button_enabled";
//Response.Write(NES_Edit.ID);
break;

else


((TextBox)obj).Enabled = false;
((TextBox)obj).Style.Remove("border-bottom");
NES_Edit.CssClass = "editButton";


SQL = "UPDATE Sims SET simName = @simName WHERE simNESID =" + NES_Edit.ID;

using (SQLiteConnection SQLCon = new SQLiteConnection(ConnectionString))


SQLiteCommand SQLCmd = new SQLiteCommand(SQL, SQLCon);
SQLCmd.Parameters.AddWithValue("@simName", ((TextBox)obj).Text );


try

SQLCon.Open();
SQLCmd.ExecuteNonQuery();


catch (SQLiteException Ex)

Response.Write(Ex.Message);

SQLCon.Close();

// SEND EMAIL


break;















When I filter the view, and i have two results and click on the edit, the page reloads.



Any way to stop that?







c# asp.net






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 20:08









Azmodan

476




476











  • I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
    – Brad
    Nov 8 at 20:11










  • Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
    – Greg
    Nov 8 at 20:13











  • @Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
    – Azmodan
    Nov 8 at 20:15










  • @Greg, Thank you - I will do some in to the life cycle.
    – Azmodan
    Nov 8 at 20:15










  • @Azmodan Took a stab at it for you, hope it helps.
    – Greg
    Nov 8 at 20:37
















  • I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
    – Brad
    Nov 8 at 20:11










  • Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
    – Greg
    Nov 8 at 20:13











  • @Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
    – Azmodan
    Nov 8 at 20:15










  • @Greg, Thank you - I will do some in to the life cycle.
    – Azmodan
    Nov 8 at 20:15










  • @Azmodan Took a stab at it for you, hope it helps.
    – Greg
    Nov 8 at 20:37















I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
– Brad
Nov 8 at 20:11




I think this may be what you are looking for: stackoverflow.com/questions/21325211/…
– Brad
Nov 8 at 20:11












Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
– Greg
Nov 8 at 20:13





Have you tried an UpdatePanel or a traditional Ajax with handler file? What you are fighting is a traditional life cycle for Web Forms, you should do research because fighting the architecture will cause issues in future.
– Greg
Nov 8 at 20:13













@Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
– Azmodan
Nov 8 at 20:15




@Brad, I have seen that post - I have tried some of them, but it disabled the "on click" event.
– Azmodan
Nov 8 at 20:15












@Greg, Thank you - I will do some in to the life cycle.
– Azmodan
Nov 8 at 20:15




@Greg, Thank you - I will do some in to the life cycle.
– Azmodan
Nov 8 at 20:15












@Azmodan Took a stab at it for you, hope it helps.
– Greg
Nov 8 at 20:37




@Azmodan Took a stab at it for you, hope it helps.
– Greg
Nov 8 at 20:37












1 Answer
1






active

oldest

votes

















up vote
2
down vote













Sadly, when Microsoft released the framework they had the notion that a web application should work like a desktop application. This notion conflicted with protocol in which a web application is built upon. The web should embody a stateless architecture, but Microsoft's Web Form framework is driven by state.



Page Lifecycle



The above is how a page inherently will work. So when you hit a button, the events will be resequenced and executed. In this case, execute what is called a PostBack. When this occurs the server takes the event, then will render the page again.



To combat this nuisance, Microsoft introduced a control called an UpdatePanel. The panel will load the entire page state into memory, then once the page is rendered again, will display the modified portion within the control. This allows the state driven architecture to not convey to the client that the server is reserving the content.



<asp:UpdatePanel id="upExample" runat="server">
<ContentTemplate>
<asp:Label id="lblExample" runat="server" Text="Initial Load."></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>

<asp:Button id="btnExample" runat="server" OnClick="UpdateLabel_Click" Text="Update" />


Currently, every time the page initially loads you have the default state. But within an update panel we have content, but now when we trigger our button:



protected void UpdateLabel_Click(object sender, EventArgs e) => 
lblExample.Text = $"Button clicked at: DateTime.Now:MMMM dd, yyyy hh:mm:ss";


You will notice the screen flicker has vanished, because the control within the UpdatePanel is the only portion of the page being rendered after the server event. The other approach, would be to use the Ajax approach and handler.



Hopefully this provides enough information to help you.






share|improve this answer




















  • Hi Greg, that makes sense - I will give that a go and report back.
    – Azmodan
    Nov 8 at 20:38










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53215388%2fapsx-net-c-sharp-prevent-page-reload-on-button-click%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













Sadly, when Microsoft released the framework they had the notion that a web application should work like a desktop application. This notion conflicted with protocol in which a web application is built upon. The web should embody a stateless architecture, but Microsoft's Web Form framework is driven by state.



Page Lifecycle



The above is how a page inherently will work. So when you hit a button, the events will be resequenced and executed. In this case, execute what is called a PostBack. When this occurs the server takes the event, then will render the page again.



To combat this nuisance, Microsoft introduced a control called an UpdatePanel. The panel will load the entire page state into memory, then once the page is rendered again, will display the modified portion within the control. This allows the state driven architecture to not convey to the client that the server is reserving the content.



<asp:UpdatePanel id="upExample" runat="server">
<ContentTemplate>
<asp:Label id="lblExample" runat="server" Text="Initial Load."></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>

<asp:Button id="btnExample" runat="server" OnClick="UpdateLabel_Click" Text="Update" />


Currently, every time the page initially loads you have the default state. But within an update panel we have content, but now when we trigger our button:



protected void UpdateLabel_Click(object sender, EventArgs e) => 
lblExample.Text = $"Button clicked at: DateTime.Now:MMMM dd, yyyy hh:mm:ss";


You will notice the screen flicker has vanished, because the control within the UpdatePanel is the only portion of the page being rendered after the server event. The other approach, would be to use the Ajax approach and handler.



Hopefully this provides enough information to help you.






share|improve this answer




















  • Hi Greg, that makes sense - I will give that a go and report back.
    – Azmodan
    Nov 8 at 20:38














up vote
2
down vote













Sadly, when Microsoft released the framework they had the notion that a web application should work like a desktop application. This notion conflicted with protocol in which a web application is built upon. The web should embody a stateless architecture, but Microsoft's Web Form framework is driven by state.



Page Lifecycle



The above is how a page inherently will work. So when you hit a button, the events will be resequenced and executed. In this case, execute what is called a PostBack. When this occurs the server takes the event, then will render the page again.



To combat this nuisance, Microsoft introduced a control called an UpdatePanel. The panel will load the entire page state into memory, then once the page is rendered again, will display the modified portion within the control. This allows the state driven architecture to not convey to the client that the server is reserving the content.



<asp:UpdatePanel id="upExample" runat="server">
<ContentTemplate>
<asp:Label id="lblExample" runat="server" Text="Initial Load."></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>

<asp:Button id="btnExample" runat="server" OnClick="UpdateLabel_Click" Text="Update" />


Currently, every time the page initially loads you have the default state. But within an update panel we have content, but now when we trigger our button:



protected void UpdateLabel_Click(object sender, EventArgs e) => 
lblExample.Text = $"Button clicked at: DateTime.Now:MMMM dd, yyyy hh:mm:ss";


You will notice the screen flicker has vanished, because the control within the UpdatePanel is the only portion of the page being rendered after the server event. The other approach, would be to use the Ajax approach and handler.



Hopefully this provides enough information to help you.






share|improve this answer




















  • Hi Greg, that makes sense - I will give that a go and report back.
    – Azmodan
    Nov 8 at 20:38












up vote
2
down vote










up vote
2
down vote









Sadly, when Microsoft released the framework they had the notion that a web application should work like a desktop application. This notion conflicted with protocol in which a web application is built upon. The web should embody a stateless architecture, but Microsoft's Web Form framework is driven by state.



Page Lifecycle



The above is how a page inherently will work. So when you hit a button, the events will be resequenced and executed. In this case, execute what is called a PostBack. When this occurs the server takes the event, then will render the page again.



To combat this nuisance, Microsoft introduced a control called an UpdatePanel. The panel will load the entire page state into memory, then once the page is rendered again, will display the modified portion within the control. This allows the state driven architecture to not convey to the client that the server is reserving the content.



<asp:UpdatePanel id="upExample" runat="server">
<ContentTemplate>
<asp:Label id="lblExample" runat="server" Text="Initial Load."></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>

<asp:Button id="btnExample" runat="server" OnClick="UpdateLabel_Click" Text="Update" />


Currently, every time the page initially loads you have the default state. But within an update panel we have content, but now when we trigger our button:



protected void UpdateLabel_Click(object sender, EventArgs e) => 
lblExample.Text = $"Button clicked at: DateTime.Now:MMMM dd, yyyy hh:mm:ss";


You will notice the screen flicker has vanished, because the control within the UpdatePanel is the only portion of the page being rendered after the server event. The other approach, would be to use the Ajax approach and handler.



Hopefully this provides enough information to help you.






share|improve this answer












Sadly, when Microsoft released the framework they had the notion that a web application should work like a desktop application. This notion conflicted with protocol in which a web application is built upon. The web should embody a stateless architecture, but Microsoft's Web Form framework is driven by state.



Page Lifecycle



The above is how a page inherently will work. So when you hit a button, the events will be resequenced and executed. In this case, execute what is called a PostBack. When this occurs the server takes the event, then will render the page again.



To combat this nuisance, Microsoft introduced a control called an UpdatePanel. The panel will load the entire page state into memory, then once the page is rendered again, will display the modified portion within the control. This allows the state driven architecture to not convey to the client that the server is reserving the content.



<asp:UpdatePanel id="upExample" runat="server">
<ContentTemplate>
<asp:Label id="lblExample" runat="server" Text="Initial Load."></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>

<asp:Button id="btnExample" runat="server" OnClick="UpdateLabel_Click" Text="Update" />


Currently, every time the page initially loads you have the default state. But within an update panel we have content, but now when we trigger our button:



protected void UpdateLabel_Click(object sender, EventArgs e) => 
lblExample.Text = $"Button clicked at: DateTime.Now:MMMM dd, yyyy hh:mm:ss";


You will notice the screen flicker has vanished, because the control within the UpdatePanel is the only portion of the page being rendered after the server event. The other approach, would be to use the Ajax approach and handler.



Hopefully this provides enough information to help you.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 8 at 20:35









Greg

8,58723159




8,58723159











  • Hi Greg, that makes sense - I will give that a go and report back.
    – Azmodan
    Nov 8 at 20:38
















  • Hi Greg, that makes sense - I will give that a go and report back.
    – Azmodan
    Nov 8 at 20:38















Hi Greg, that makes sense - I will give that a go and report back.
– Azmodan
Nov 8 at 20:38




Hi Greg, that makes sense - I will give that a go and report back.
– Azmodan
Nov 8 at 20:38

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53215388%2fapsx-net-c-sharp-prevent-page-reload-on-button-click%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)