Users enter text through a text area element, much like we enter questions on StackOverflow.
What's the best way to preserve the line spacing in the database so that it can be reproduced on the front end? The idea is the text should appear with the same line breaks and blank lines as entered originally by the user.
...
I know all the data source controls like LinqDataSource, ObjectDataSource etc.
They are cool but they are intended to be used in conjunction with a database.
I actually need a simple data source control that can work with a plain old List (That supports delete, update, select, insert ofcourse).
I was thinking of using the objectdataso...
So I'm using a basic formmail script. Within the script I'm using a redirect variable. The value of the redirect is something like:
http://www.mysite.com/NewOLS_GCUK_EN/bling.aspx?BC=GCUK&IBC=CSEE&SIBC=CSEE
When the redirect action happens however, the URL appears in the browser as:
http://www.mysite.com/NewOLS_GCUK_EN/bli...
When I create a new chart object via:
ChartFX.WebForms.Chart theChart = new ChartFX.WebForms.Chart();
When I took a look immediately the row after creation via breakpoint in Visual Studio 2005 I noticed there are 3 rows in the newly created chart that have data. Is this a bug? or do I need to call a specific function? Shouldn't the ...
The use case: to sign a electronic document, users view the document, and if they agree take a picture of themselves with their webcam (done through Flash from the browser). Then a PDF is generated containing the document and the picture in place of signature.
This is a biometric signature, which is not as strong as a digital (cryptogra...
Hi folks,
When I add either one of these ...
<%@ OutputCache Duration="600" Location="Any" VaryByParam="*" %>
or
<%@ OutputCache CacheProfile="CmsArticlesListOrItem" %>
(.. and this into the web.config file...)
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="CmsArticlesListOrItem" duration="...
With an existing n-tier web application using ASP.net WebForms what is the best approach to get TDD acceptance on the application. What is a good plan to gain acceptance by developers to move forward to write test first code opposed to ignoring the tests while the TDD implementation is in limbo?
Knowing there will be a large "in-limbo" ...
Hi,
How would you accomplish these in ASP.NET Webforms 4.0 Routing;
.aspx pages should not be accesible directly, pages should be accesible only with routes,
Start page should be "/" or "/home" or something else, but not "Default.aspx".
Thanks.
...
Hello everyone, I have a webcrawler application. It successfully crawled most common and simple sites. Now i ran into some types of websites wherein HTML documents are dynamically generated through FORMS or javascripts. I believe they can be crawled and I just don't know how. Now, these websites do not show the actual HTML page. I mean i...
Here's the error
System.IndexOutOfRangeException.
Index was outside the bounds of the array.
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Collections.Specialized.NameObjectCollectionBase.NameObjectKeysEnumerator.get_Current()
at System.Web.TraceContext.EndRequest()
at System.Web.UI.Page.ProcessRequestEndTrac...
Hi guys.
I'm developing a website in asp.net webforms with 3 layers; UI, BLL and DAL
The website is already developed, but i like have more control about the unit tests of each form
Pass specific values at specific inputs for i see, if application survives or not.
I already study about NUnit but in webforms in UI layer how can apply t...
I have an ASP.NET Webforms site that is regularly having features added.
The majority of time a new WebControl is added to the page and I need to increment the TabIndex to all subsequent controls on the page.
I'd prefer a more robust solution than choosing an arbitrary gap between the initial assigned tab indexes. Setting the tab indexe...
Hi,
what it better practices for creating web forms, using tables or lists ?
Regards
Javi
...
Is it advisable to implement url routing for an asp.net(webforms) website which is one year old... What are the factors to be considered before implementing....
Edit:
It is a web based product website developed my company and users should pay for using it...
...
We have used Google form, Wufoo form to try to securely capture the info for IN-HOUSE processing.
Google form is unreliable and often blocked behind firm's firewall.
Wufoo does not allow storing CC info in their database
What is service or other alternative for us to securely store the cc info.
The purpose is to have people manually pr...
I've made the change from querystring asp.net webforms application to an url routing one. Now I'm trying to let google know that there's a new set of urls to be aware of. The G has indexed 133 out of 179 new urls sent in sitemap.xml, but the site:mistral.hr command returns the old querystring version of the links.
This could partly be so...
When DetailsView is in edit mode, it automatically displays ( inside its last row ) an Update button. We can find this button inside ItemCreated event handler using the following code:
protected void dvwPoll_ItemCreated(object sender, EventArgs e)
{
foreach (Control ctl in dvwPoll.Rows[dvwPoll.Rows.Count - 1].Controls[0].Contro...
I have a form (snippet)
<% form_for(@transfer, :html => {:multipart => true}) do |f| %>
<p>
<%= f.label :source %><br />
<%= f.text_field :source %>
</p>
<p>
<%= f.label :destination %><br />
<%= f.text_field :destination %>
</p>
<% fields_for :upload do |u| %>
<p>
<%= u.label :upload %><br />
...
Technologies involved:
ASP.NET Web-forms
Javascript (jQuery for instance)
Case
To make it clearer let's give the Stackoverflow Users list as an example. This list can be manipulated at client-side. I can search, page and so forth. So obviously we would need to call jQuery.ajax to retrieve the HTML of each page given a search. Alrigh...
I'm reading a book that recommends clicking a check box that says "Place code in separate file" when adding a new Web Form to an existing ASP.NET project. The book is using Visual Studio 2005 and there is a check box for "Place code in separate file" when you open the "Add New Item" dialog.
I am using Visual Studio 2008 and I do not se...