in html
Every node have it's subnode [not required] can be have parent node.
i want to design a webform which can be used to feed something and after submission i update them using json.
after that i need that
without going anywhere he can feed his childnode and parent node.
how i can make a webform who can solve this issue for me
...
I have a layer which helps me populating records from the form to tables and viceversa, it does some input checking, etc.
Now several methods of this layer which are called several times in different parts of the webform take the same parameters, so I wanted to pack them at the begining of the codefile.
kwargs(): return
{"tabla"...
I am trying to display a "Yes / No" messagebox from codebehind in C#. I want to call an "AddRecord" procedure if the user clicks "Yes", and do nothing if the user clicks "No".
Ideally, I want to use the code below, but from codebehind:
OnClientClick = "return confirm('Are you sure you want to delete?');"
I search on SO and google,...
I have a form which contains a whole bunch of checkboxes and some other types of control too. I need to retrieve the names of each selected checkbox.
What is the best way to do this? Can I do it with a linq query maybe?
So in pseudocode, I'm looking to do something like this:
var names = formCollection
.Where(c => c is ...
Can I got some good example sites with source code of jQuery with ASP.NET webforms using ajax.Most examples I have come across are in php
...
I am trying to create a customized messagebox using javascript but not getting too far.
string txtConfirmMessage = "On " + DateTime.Now + ", ";
txtConfirmMessage = txtConfirmMessage + sUserID;
txtConfirmMessage = txtConfirmMessage + " added this record. Do you want to continue? ";
btnSubmit.OnClientClick = @"return confi...
My HTML form is clearing automatically after I click the submit button. Any idea how to stop this from happening?
Here's the opening tag for the form:
<form onsubmit="return math()">
...
I have an ASP.NET web site which contains some ImageButton controls that cause postbacks used to filter a list of products to certain groups of products.
The ImageButton was created something like this:
ImageButton _myImageButton = new ImageButton();
_myImageButton.ImageUrl = PicturePath + PictureName;
_myImageButton.Attributes.Add("bo...
I've learned asp.net from books available on the internet, but I didn't find a good book that teaches you some techniques or logic to follow to build an administration area to control the front-end.
I mean they talked about security, membership and roles. but still they didn't show you how to manage anything that's not related to a datab...
Hi,
I'm a statistician by trade and I'd like some recommendations on how to set up a website that can collect data into a database. For personal use, I use Google Forms to collect data, and everything gets populated into a spreadsheet. However, this may not be appropriate in a more professional setting, especially when we have multipl...
I'm using mechanize to fill out a form that has a series of rows. Each row is an <input type="checkbox"> followed by <td>name of the checkbox</td>. How do I read the name so I know whether to check the box?
Thanks
...
Weekend research has shown me that, in mobile Safari, my best chances for the upload of an image file from the iOS photo library are through cliqcliq's Quickpic app or PicUp for iPhone.
Are there any other choices that are more seamless or better than both of these apps?
*This project i'm developing will use iPads for this task.
...
I am building a hybrid MVC/Webforms application where my MVC views are using an asp.net webforms 2 MasterPage. Everything has been working perfectly until I decided to put a form in my MVC view. Since ASP.NET Webforms wraps the entire page in a form element and you can't have a form within a form, I'm a little bit stuck.
There are a lo...
I have added a ListView to a web form and this code works when the data columns in the bound dataset have values:
<asp:ListView ID="picturesListView" runat="server"
GroupPlaceholderID="groupsGoHere"
ItemPlaceholderID="itemsGoHere"
GroupItemCount="1" >
<LayoutTemplate>
<p id="pictureList">Picture List:</p>
...
Here is the situation:
I have a ListView showing just a list of concatenated strings obtained from different field of the objects of the datasource.
A LinkButton (with CommandName="Edit") in each row
Event handlers for OnItemDataBound and OnItemEditing
A UserControl in EditTemplate.
Now the problem is, I don't know how to use Bind e...
I'm displaying an address to a user on a ASP.Net page using a label. The new lines are converted from
Environment.NewLine
to
<br />
If a user edits the address, the address is displayed in a text area and the
<br />
is replaced with
Environment.NewLine
Sometimes the address saved to the database only has the line feed. Gi...
Our web application has three different operations that proceed as follows:
The user is presented with a popup where different settings are selected.
The user can click on a button labeled with the operation (ex: "Merge") or "Cancel".
If the user goes forward the application processes the operation which can take a few moments and anot...
I have a <asp:Wizard> that is only applicable for a logged-out user. If the user is currently logged in, he/she is redirected to another page. On one of the wizard steps, as part of the wizard, I ask for credentials via the <asp:Login> control and log in the user. This presents a problem.
According to MSDN: "When a user uses the Login c...
<img src ="~/UserControls/Vote/Images/Arrow Up.png" id = "vote-up-off"
runat = "server" alt ="vote up"
class="voteupImage" style="height: 45px; width: 44px"/>
here i want to change src of image for certain condition like
if ( a==4)
{
src url shuld be ......
}
else
{
src url should be...
}
...
I have a user complaining about frequent timeouts in my Intranet web page. While looking for a solution I found this post:
http://forums.asp.net/t/152925.aspx?PageIndex=1
Where a poster recommends intercepting the redirect to the login page, submit the data to the database, then either reauthorize the user (without their knowledge) or...