I'm building a website and would like to do some input testing on it.
What are the worst things you can throw at your webform to test if it breaks or handles the failures correct?
Are there values that can cause errors, what should not be entered into the form?
...
Hi,
I am using System.Web.Routing in the Asp.Net Webform Application. I write the following route in the global.asax :-
=====================================================
routes.RouteExistingFiles = true; // I made true/false both, but none works
routes.Add("competition", new Route
(
"Test",
...
OK, being a server developer, this Javascript voodoo on the ASP.NET page (based on a master page) rendered on the client is a bit too much for me, it seems :-)
I decided to try to use jQuery to handle some client-side enabling and disabling of UI elements.
I have two radio buttons (rbnDoLimit and rbnDontLimit), and three checkboxes (mo...
I'm using a Smarty template for my web application Registration / Sign-up form.
The form is slow to load, can I cache the registration form in order to speed up the loading of the page?
On the form page, I use SESSION and do lots of PHP error checking to ensure that the form fields are completely & correctly inputted. If not, I redis...
Hi,
Using javascript, I want to submit a asp.net button, how can I do this?
I know the onclick looks like: javascript:WebForm_DoPostBackWithOptions(new .....);
I am also weary because the ID of the control can change.
...
Hi,
I have a search page, you input some text in the input box and click search. It shows you the search results. The search click in just a href tag.
I have to perform a search manually sometimes i.e. without the user clicking on the search link.
So I did this via jqeury:
$("#hrefId").click();
The page posts back fine, but for s...
Hi,
I have a onclick event that is like:
public void OnMyButton_Click(object sender, EventArgs e)
How can I call this from within pageload?
...
How do I set the index of a dropdown in jQuery if the way I'm finding the control is as follows:
$("*[id$='" + originalId + "']")
I do it this way because I'm creating controls dynamically and since the ids are changed when using Web Forms, I found this as a work around to find me some controls. But once I have the jQuery object, I do...
I have this code:
<div class="LoginBox">
<form id="form2" runat="server">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
lolbags
</asp:ContentPlaceHolder>
</form>
</div>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="ContentPlac...
In web forms application, for server code, when use WebControls and when use HtmlControls? For example if I want write some text inside of span tag, should I use:
<span id="someid" runat="server"></span>
or
<asp:Label id="someid" runat="server"></asp:Label>
...
I'm currently working on a high-traffic online search site.
They have various changes they want to implement over time, and they've indicated that ultimately they want the site re-done in ASP.NET MVC.
Currently the site is an ASP.NET WebForms project; however true ASP.NET controls are rarely used. Instead there are lots of server-side ...
How to handle dynamically generated form submit in asp.net mvc?
Form is dynamically created (number, order and type of elements are always different) and i have to handle it (store the data in the database) in the Controller of asp.net mvc (there is no viewstate). Type of input can be everything; hidden fields, radio buttons, check boxe...
What test text do you try and type into your web forms to check that they handle all the edge cases properly (esp unicode and xss style problems).
I am particularly interested in good unicode strings that maybe do something odd if they are mis-encoded when they are displayed again.
Text that contains potentially problematic characters...
I was trying out NiceForms in my asp.net app and it had some quirks. It's shifting my GridView to the right by more than 100pixels and I can't figure why it's doing it using FireBug.
Are there other alternatives which are compatible with JQuery and ASP.NET? Must be free. I will be looking at Yahoo's YUI library.
...
I have a simple form built with the Webforms module in Drupal. The standard textfield form fields work perfectly. However if I use the preset date or time form values, they don't get emailed properly when the form is submitted.
For instance, if there was a date field in my form, it would submit fine and render on the results page just...
I have been playing around with NSURLConnection.
Now I'm trying to grab some data from a webpage, but first I need to insert my username and password on the website, in order to get the data.
I want to know:
How to insert a value into a textfield on the webpage
How to press the log in button, once I have supplied the username and pas...
Hy,
I'm interested in some general optimisation methods in an asp.net ajax project for Viewstate
(ex. to reduce the size of viewstate ,
or just speeding up the viewstate somehow,
or others this should be a general discussion :-) ).
So what kind of optimisation do you use for ViewState?
What possibilities are offered on Asp.net or Ajax...
I would like to store some objects only for one request through the session state. I can't seem to think of an easy way to accomplish this. This is exactly what ASP.NET MVC's TempData object does. Could anyone provide me with a link or some examples of how to have an object in session state only survive one additional request?
I was ...
Hello, I'm a total newbie and want to start with php. I know some javascript already.
I want to be able to type some text in a form and convert it to a query e.g.
In my website there's this search box, I type in 'example' click submit and it gives me this=
http://www.externalsite.com/search?s=example&x=0
and pastes it to the addre...
I am trying to check all the checkboxes on a webform (aspx) page, which is inside a master page, depending on the ID of the checkbox. The checkboxes are created dynamically, so I only know the prefix for finding it. So, I need to find these checkboxes by iterating the controls on the page somehow. It's not working out. Any help would ...