nigelrivett
IS-IT--Management
We have an aspx and aspx.cs.
The aspx has
<asp:button id="btnCancel" onclick="btnCancelEvent" Runat="server" Text="Cancel" Font-Bold="True" Font-Size="8" Font-Name="verdana"></asp:button></TD>
and the aspx.cs
public void btnCancelEvent(Object source, System.EventArgs e)
{
//Handle the cancel button click event
ViewControls(false);
lblMsg.Text = "";
}
and
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if (!IsPostBack)
{
GetData();
ViewControls(false);
specialSecHeader.TitleText = "Special Security Pricing";
}
userName = User.Identity.Name;
if (userName.IndexOf("ENDEAVOUR") > -1)
{
string myString = userName.Substring(10);
userName = myString;
}
}
When the cancel is pressed it comes up with a connect window asking for user name and password to connect to websvr.xxxx.com).
The same thing happens with another button handled in the same way (save).
To display this page it has had to execute an addnew which looks like very similar functionality.
I am told this was all working on Friday but not now. No one owns up to changing anything but...
The code in question hasn't changed but anything else could have.
Anyone any idea about what to look at?
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
The aspx has
<asp:button id="btnCancel" onclick="btnCancelEvent" Runat="server" Text="Cancel" Font-Bold="True" Font-Size="8" Font-Name="verdana"></asp:button></TD>
and the aspx.cs
public void btnCancelEvent(Object source, System.EventArgs e)
{
//Handle the cancel button click event
ViewControls(false);
lblMsg.Text = "";
}
and
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
if (!IsPostBack)
{
GetData();
ViewControls(false);
specialSecHeader.TitleText = "Special Security Pricing";
}
userName = User.Identity.Name;
if (userName.IndexOf("ENDEAVOUR") > -1)
{
string myString = userName.Substring(10);
userName = myString;
}
}
When the cancel is pressed it comes up with a connect window asking for user name and password to connect to websvr.xxxx.com).
The same thing happens with another button handled in the same way (save).
To display this page it has had to execute an addnew which looks like very similar functionality.
I am told this was all working on Friday but not now. No one owns up to changing anything but...
The code in question hasn't changed but anything else could have.
Anyone any idea about what to look at?
======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.