webform

Asp.net Cancel Button

Hi, I am trying this in my Form Load Event cmdCancel.Attributes.Add("onClick", "document.forms[0].reset();return false;") but it doesn't clear my form. My form is a "ContentPage", part of a masterpage. Am I missing something? ...

.NET Events more common in winform than webform?

Are declaring custom .NET event such as this, more common in a winform app than webform? ...

Webform Layout Question. Table or something else

Hi all, I have to create a webform that looks something like this column column - column column column column - column column label: input - label: input label: input - label: input - label: input label: input - label: input label: input label: input - label: input label: input ...

Jquery autocomplete for input form, using Textpattern category list as a source

I'm using the Textpattern CMS to build a discussion site-- I have a firm grasp of XHTML and CSS, as well as Textpattern's template language, but PHP and Javascript are a bit beyond my cunning. On the input form to begin a new topic, users need to select a category from a list of over 5,000 options. Using the HTML select-type input eleme...

WebForm_InitCallback is not defined

Weird issue going on. .NET 2.0 site using the System.Web.Extensions Version 1.0.61025.0 for some little AJAX stuff. We have a Web Farm with 2 load balanced servers. The site has been up for about 2 years now with no issues. Currently the hosting company upgraded the Framework to 3.5 and now a page that is using an simple asp:Panel is...

ASP.NET which control could wrap JS block and extractable so I could render it back to header

As title, basically I have a user control placed inside a page and then the page is placed inside the master page. I want to extract a block of javascript and put it back to the page head. When I try to wrap the code inside any block control (e.g. a div runat server) and access divID.InnerText then ASP.NET bust off with Cannot get inne...

preview button in drupal 5 webform

I want to make a preview button in a webform page. Webform edit page doesn't have any option to do it. Even if I'm setting preview page for all content types all over the site in the administration page it doesn't apply on a webform page. I also tried coding and used form_alter but when I'm changing the submit button (or adding a new one...

Sending cookies from C# Application to an Internet Explorer pop-up window

I have a C# form that we browse our web application with. If we are inside the form and logged in and we click a link that opens a new window (an Internet Explorer window), it asks for my credentials again. We use cookies to store the session for authentication. Is there a way to make the account stay logged in whether it is in the fo...

HOWTO: Multistep web form

Is there any asp.net framework to build multistep (aka wizard) web forms that require validation (may be dynamic validation, based on data submitted), accessibility, ecc. ? Thanks! Marco ...

Form Fix in php

I have a website form that collects url of users to store in a database. They should not enter the http:// with their URL however many and the result is that when their url is displayed it looks like this http;//http://www.foo.com I need the form to strip it or ignore it or what ever you think is the best way to handle it. thanks ...

How to use System.Windows.Forms.WebBrowser in a web app?

I found a code of winform here: http://www.wincustomize.com/articles.aspx?aid=136426&c=1 And it works fine as a winform. But I want to run the code in a web app. I add the references of System.Windows.Forms and the Microsoft.mshtml.dll in the C:\Program Files\Microsoft.NET\Primary Interop Assemblies\ to my web app. I copy the Web...

How to automaticly copy & paste fields from excel into a website form

Hi! I have about 50 excel sheets to input on a website everyday, but unfortunately I can only submit 8 of these sheets per hour. Therefore, I'm looking for a tool, or comnbination of tools, that will allow me to automaticly copy & paste fields from Excel sheets, into a designated form on a website, and will allow me to set the time wh...

Winform usercontrol in WebForm

I want to display a "folderview" which I can drag and drop files into but via WebForm. I am doing this via a webbrowser control pointing at local drive. The code works in a win form user control but what I want is to embed this control in web form. This is an intranet so security etc is less of an issue. However when I add things like Al...

.net user control event handler lost on postback

I have a menu usercontrol called LeftMenu that has a bulletedlist of linkitems. It's on the ascx page as such: <asp:BulletedList ID="PublisherList" DisplayMode="LinkButton" OnClick="PublisherList_Click" cssClass="Menu" runat="server"></asp:BulletedList> I databind the list in the page_load under if(!isPostBack) I'm having an issue on...

Does anyone know the history of ASP.NET Webforms?

I'm curious about ASP.NET Webforms and all it encompasses (viewstate etc..). This solution looks like it wants to tell me a story but I'm trying to figure out what. Does anyone here know the history of webforms and why the system works the way it does? Can anyone take me to early year 2000 and tell me what companies were clamoring f...

c# windows app OK in debug mode, faulty in release mode...

Hi, I've written a c# windows app, that performs some DB intensive operations. (MySQL connector v6). When running the project in Debug mode, everything works fine. However, when I run the prject in release mode, it sometimes quits operation midway - with no error message, nothing in the event logs etc. What would be the best way to ...

asp.net routing in webform - how get route data

i put this in Global.asax.cs routes.MapWebFormRoute("Page", "Page/{*anything}", "~/Page.aspx", false); how i can get value of {*anything} in Page.aspx i'm using WebFormRouting from codeplex ...

Html.ActionLink construct wrong link when a non-mvc route is added

Hi there, I have an application here with a mix of webform and mvc. I specify the routing as below routes.Add("AspxRoute", new Route("Upload/New", new WebFormRouteHandler<Page>("~/Uploads.aspx"))); routes.MapRoute( "Default", // Route name "{controlle...

Use PHP to create a DOC file on a Unix Box based on an HTML webform selection

Hello, I have an HTML file which contains a webform with multiple questions which have a YES / NO responses. If the question has a YES answer, I would like a predefined ( per question ) section of text to be written to a DOC file on the server, but only AFTER the submit button has been pressed ( this way, if the user changes their mind...

Auto-generated Form Value

Looking for guidance on how to achieve something in ASP.NET Web Form - the behaviour is a bit like that seen in ASP.NET AutocompleteExtender, but I can't find anything that gives the flexibility I need. Here is what I am trying to do: 2 TextBox fields on the form, CompanyName and CompanyRef (CompanyRef an abbreviated unique Company ide...