I am having a weird issue happening with outputcache. I have multiple user controls on a page, one of which is a login control. The page and the login control is NOT cached, but other user controls are cached with VaryByParam. Now all of this works along with caching when I click on to different pages. But as soon as I login, other user ...
When clicking the save button on a asp.net web form page, I get the following immediately:
The specified URL cannot be found
This does not happen when I try this using a browser on the web server.
Has anyone run across this problem before? Is this some kind of security issue?
...
I have an asp.net page in an iframe where all links target _blank
<base target="_blank" />
But I want the form on it to submit to _self (i.e. the iframe where the page is located) when the one button is clicked. The form is an <asp:Panel> with an <asp:Button> control for submitting it.
Where can I set the target for this form? Since ...
Hello All,
Im using intelligencia urlrewriter as my url rewrite module. I have one very strange problem which only occurs when an url is rewritten but to make it more fun, not on all rewritten pages.
Edit: Forgot to tell you what's the problem boing boing. the problem is that my Page_Load event gets fired 2 times.
This is how my f...
I'm using the built-in ASP validators on a few form elements. They work fine - if I click the submit button (a Button), validation occurs without postback and errors are displayed in a ValidationSummary. When that occurs, I also want to call a method in codebehind which changes the CSS of elements, switching their background color to red...
I have my own Control1 which is dynamically added as child control to Control2 which implements INamingContainer in CreateChildControls() of control2.
Control1 itself implements IPostBackEventHandler. But RaisePostBackEvent() method is never called on Control1, despite I do call postback method from JavaScript.
And yes, there are other...
My webpage submits information to a page and the response returns a popup window. Does anyone have an idea about how I can validate the information in the popup window?
Popup window doesn't have a WindowId and I'm not able to get hold of the popup window using selenium.GetWindow("popuwindowname"), selenium.GetWindow("title=something") o...
I'm trying to figure out a logical and quick way to implement the "PRG" design style in a small site I'm doing, and I'm finding an issue I can't think of a good way to solve.
I have a form. It has 2 fields (first and last name). When the user submits the form, I check to make sure that they have data in them before I save it to the data...
Hi , i have quick question, i'm setting up recurring subscriptions for paypal and i can't configure but saved buttons, (not like web_accept where i could define all the vars in the form to send...) so it results a form like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_...
Is it possible to to have a PHP form without having a seperate file,
e.g. Normal Form
<form action="send.php" method="post">
But instead of calling send.php have the code held in send.php in the same file as the form?
...
A website's default page is setup as follows:
http://mysite.com/myapp/ ==> http://mysite.com/myapp/views/default.aspx
As you can see the only thing a little out of the ordinary is that the default page is in a subdirectory (views)
If I access the page via the default URL (http://mysite.com/myapp/) the form tag looks like this
<form n...
Hi,
Question to die hard asp.net experts. I have spent much time trying to find an answer or to do it myself but no luck so far.
ASP.NET web application. I plan to improve page load time so that user experience is better. I want to delay load sections of page using UpdatePanels. I can make one UpdatePanel update itself right after page...
I have some code in the load event of my page which should only run the first time the page is loaded, however, it runs everytime 'refresh' is clicked on the browser EVEN THOUGH i am checking for postbacks:
If not page.ispostback then
' Code...
End if
...
I'm having a FileUpload control on a aspx page inside a UpdatePanel with a button on click of which I want to set a label with the filename of the selected file.
Here is the code I have:
ASPX PAGE:
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="se...
Hi!
I'm using the jQuery validation plugin. I have my form on the master page, i set up my validation rules in one of my aspx pages like this:
$("#aspnetForm").validate({
errorLabelContainer: $("ul", $('div.error-container')),
wrapper: 'li',
onkeyup: false,
rules: {
ctl...
hi
i have a web form, basically a few droppers searcing/filtering data in a gridview
i would quite like to be able to drive this from the qs, so that the 'searches' can be saved. but i really dont want to 'get' all the bumf in the viewstate.
is there any way to drive this from the QS other than changing the postbackUrl of the submit b...
Hi Folks
I encouter some postback issue when using GetPostBackEventReference. Here is the Scenario:
I have a javascript modal popup dialog and got a button in this modal dialog which used to select things (this is NOT an asp:button control)
When this javascript dialog HTML button is clicked, it will call the MS AJAX web service call b...
what is the difference between
<asp:DropDownList ID="Combo" OnSelectedIndexChanged="Change" AutoPostBack="True" runat="server"/>
and
<asp:DropDownList ID="Combo" SelectedIndexChanged="Change" AutoPostBack="True" runat="server"/>
?
And is the attribute AutoPostBack="True" always required?
Iam asking because it seems my OnSelected...
I'm creating my own CompositeControl: a collection of MyLineWebControl and a "add" button. When the user press the "add" button, a new MyLineWebControl is added.
In CreateChildControls(), I run through my model (some object MyGridOfLines which has a collection of MyLine) and add one MyLineWebControl for each MyLine.
In addButton.Click,...
I have a treeview in my .aspx:
<asp:TreeView ID="tvDocCatAndType" runat="server" />
Not much else going on in the page -- two <asp:LinkButtons> and one <asp:Label>; the page is a child of a master page, so these controls are within a <asp:Content> control. I populate the treeview in code -- just 3 node levels, including the root node....