I have a complex form that has a static section and one that can have from 0 to many divs that containing radio buttons, textfields and textareas.
I'm wondering what's the best way to add elements to the section that has a variable amount of form inputs. I have a working solution, but it's probably not the best:
I use javascript to add...
My shop is moving towards re-working the app to be a combination of wpf and web forms.
Some functionality will be facing the public via web forms and some will be internal only via wpf. I'm trying to find a common architecture for both sides of the equation. From what I've seen so far wvvm is the best bet for the wpf side, but that doe...
Can i create html helpers in Webforms project like in asp.net mvc? Thanks.
...
As some background I prefer the flexibility and benefits that ASP.NET MVC gives me, and have been building in MVC since its release. But the new project I am about to start requires a complex calendar / scheduler control - and none of the jQuery alternatives meet all the requirements.
This has led me to the Telerik Radtools Scheduler, w...
I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6 installed and we can not change that in near future. Even though we will develop new applications to be deployed on IIS7 but if situation demands we may need to develop an application using .net 4.0 and to be deployed on IIS6, then in this case I wanted to know whether...
Hello,
We have some code which is designed to build up a key/value pair of controls on a ASP.NET webforms page and their values. We use the "Controls" collection and recursion to build up this key/value pair.
The only issue is that ascx controls don't appear to come back in the "Controls" collection. Instead we get the controls on the ...
I want to use Ninject in a project which combines ASP.Net webforms and ASP.Net MVC. I'm using Ninject 2, but when I use NinjectHttpApplication from Ninject.Web.Mvc it complains when I use somethings like a PageBase that the Kernel is not created.
I have the following in the Global.asax and am unsure what to add.
public class MvcApplic...
Hi
I am using webform in drupal to capture users email address, but I want to restrict the user to enter free emails like gmail, yahoo, rediffmail etc. only corporate email should accepted. Can anybody please let me know how to do that? I got this http://stackoverflow.com/questions/2318214/regular-expression-to-match-free-email-accounts...
hi... i have a radeditor in my webform and it posts back. if i type any thing in the editor and press enter key for new line and then use any control in the page which reloads the page, then the next line character in the editor gets replaced by $0 and other text remains same as earlier. it happens in SAFARI.
Ex.
aasdads
dsdsds
the a...
I have a big, fat, legacy ASP.NET WebForms application with big, fat, legacy URLs:
/ViewDocument.aspx?documentId=72143&noRedirect=1&someOtherCrapThatJustSeemsToGoOnForever=AndEver
What is the simplest way to implement pretty URLs in WebForms using ASP.NET 3.5? Is there anything in ASP.NET 4 that will make this easier?
Should I impleme...
I am working on a project that requires that the programmers can add asp:hyperlinks to the pages, but I want to replace those with a custom spun asp:hyperlink which checks before render if the end user has a role or not.
So basically I need a way to tell the asp application that where it renders asp:hyperlink to actually render mycont...
Does outputcaching VaryByParams in webforms understand route parameters? Such that if I have a route similar to "Content/{filename}/{more}" that I could do VaryByParams="filename" and have it return cached results based on filename and ignore any values in the more?
...
Hi,
Problem:
When print elements of form in view, form tag don't created
My View:
<?php
/****** print elements and inser label:: have to be done in this way for integrate cushycms ********/
echo $this->form->empty;
?>
<label>Ad Title</label>
<?php
echo $this->form->adtitle;
?>
<label></label>
<?php echo $this->form->adbody; ?>
...
I'd like to have close to WYSIWYG form entry on the web. Turbo Tax does this. Basically government forms so would like them to be as close as possible to the paper look. Results go to a DB. PDF looks nice but does not seem to give complex validation (if field1 set, enable group input). Fast is always a plus. (IIS, .net).
What options fo...
Hi,
How can be form field names translated when they generate by Zend_Form?
if we have:
<label>Phone</label>
in zend label can be translated by:
<label><?php echo $this->translate('Phone'); ?></label>
but when the label created by Zend_Form:
$phone = new Zend_Form_Element('phone');
$phone->setLabel('Phone');
How can be label t...
I am a non-coder that needs to get some information to my developer. One of the questions was whether we were running ASP.NET MVC or Web Forms? What is the best way I can tell this. If you want to take a look, the site is at http://sokanu.com (just a splash page)
Thanks guys
...
Is there any way to display a Calendar Extender popup without using it the traditional way? and the also grabbing the value selected?
Some code that I made up to make it more clear:
<table>
<tr>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"></td>
</tr>
</table>
$('tab...
Is it a good idea to move checkbox-checking logic out of the markup, specifically the 'checked="checked"' inline script such as
<input type="checkbox" name="LikesWork" <%= Model.LikesWork ? "checked=\"checked\"" : "" %> />
and have this be replaced with a some code that takes a dictionary with a javascript (jQuery) selector as the key...
How can I register on a ninject container all the types that implement a specific interface? It's worth saying that I'm using Webforms so IBuildManager is not available. I'd like to achieve something I saw on a MVC application with unity which goes like this:
private static void RegisterRepositories(IBuildManager buildManager, IUnityCon...
Possible Duplicate:
Can I use ASP.NET MVC together with regular ASP.NET Web forms
Let's say I need to build a shopping cart. Would I be able to get the same user experience with ASP.NET MVC or would I need to "pick the right tool for the job" - use Webforms and MVC where applicable instead of just focusing on either one.
...