webform

sparkviewengine alternative for WebForms project

I like the html dominated structure of the sparkviewengine very much. Is there a version of it for WebForms projects? I want to use it for generating presentation only html (I mean, the output will not contain any html input controls). Or can you recommend an alternative? VS.Net 2010 Framework 4.0 thanks for your time ...

OWC PivotTable toolbox item grayed out for WebForm

I'm trying to build a Pivottable on a webform in vb.net 2005 using OWC. I have added the Pivottable item to the toolbox, but it is grayed out and so I cant use it. If I develop a Winform instead of a Webform then the toolbox items are there and work correctly. ...

Drupal Forms - Setting a Default Value

I am using the webform module for Drupal 6 and would like to set a default value for the confirmation message of the webform whenever it is created. Would I have to create my own module to set this form value whenever a user creates a new webform? Or would I have to implement a special hook to look for when a webform is created? ...

jQuery UI Dialog problem if modal is set to TRUE

Hello! I'm developing an ASP.NET WebForm application with Visual Studio 2008 SP1 and C#. I have the following ASPX page: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="js/jquery-ui-1.7.2.custom.min.js" typ...

How Can I Use NUnit with ASP.NET Website (Not Web Project)?

I am new to unit testing and I wanted to give NUnit a try. In an ASP.NET Web Project, I can create a new project in my web project solution for unit testing and add a reference to my original project and in NUnit I can load the dll file for my unit testing project to run the tests. However, i am developing an ASP.NET Website and becaus...

Example of SimpleModal with ASP.NET webforms project

I'm looking for a example or article that demonstrates using SimpleModal in an ASP.NET webforms project. Ideally the article would show creates and edits of a grid row using simplemodal. ...

Using Build Manager Class to Load ASPX Files and Populate its Controls

I am using BuildManager Class to Load a dynamically generated ASPX File, please note that it does not have a corresponding .cs file. Using Following code I am able to load the aspx file, I am even able to loop through the control collection of the dynamically created aspx file, but when I am assigning values to controls they are not sho...

How to open a console app from a webform

Hi, I have a collection of sites running on a single server. The server also runs a console application which collects data and distributes this data to the websites. I am not always about to check if the application is running and I would like to give the end user (a select few users!) the option to start/restart this application on t...

How do you get an asp.net control's auto generated name attribute?

I have a DropDownList and need to know its name in the code behind: <select name="ctl00$cphMainContent$ddlTopic" onchange="javascript:setTimeout('__doPostBack(\'ctl00$cphMainContent$ddlTopic\',\'\')', 0)" id="ctl00_cphMainContent_ddlTopic"> <option value="All">All</option> </select> I need to get the value "ctl00$cphMainContent$ddlTop...

Ajax, Callback, postback and Sys.WebForms.PageRequestManager.getInstance().add_beginRequest

Hi, I have a user control which encapsulates a NumericUpDownExtender. This UserControl implements the interface ICallbackEventHandler, because I want that when a user changes the value of the textbox associated a custom event to be raised in the server. By the other hand each time an async postback is done I shoe a message of loading and...

convert json string into array or object...

I get some json data form the web which is like: [{"pk": 1, "model": "stock.item", "fields": {"style": "f/s", "name": "shirt", "color": "red", "sync": 1, "fabric_code": "0012", "item_code": "001", "size": "34"}}, {"pk": 2, "model": "stock.item", "fields": {"style": "febric", "name": "Trouser", "color": "red", "sync": 1, "fabric_code": "...

C# Regular Expression - Why some char not in it validate the IsMatch() condition :(

Hi, I use this regular expression for validating some of my textbox : Regex re = new Regex("^([äö\x20\x27\x2C\x2D\x5Fò-öà-âù-üç-ï0-9a-zA-Z]+)$"); And when i put "<" or ">" in one of this textBox, my condition shoud be false and not true :) if (re.IsMatch(TextBox.Text)) /*do something */ else Console.write("error invalid char in text...

Webservice on IIS

I have a webservice and a webform. A button invokes the webservice which reads a given process name from pid. This works fine in VS2008 but when I publish my project I dont get the name? How can I configure IIS to allow me to do so? or is there an alternative way i.e. wcf or wwf? Edit: using System.Diagnostics; [WebMethod] pu...

How to use ASP.Net server controls inside of Substitution control ?

while the method we use in Substitution control should return strings, so how is it possible to use a donut caching in web forms on a server control which should be rendered server side? for example Loginview control? ...

webform control to iterate X times through a template

Hi all, Here is my problem. I need to display an html table with 9 cells in each row, how can I do it without writing every cell's html code ? I'd need something like that : <table> <tr> <asp:repeater runat="server" datasource="[0..9]"> <itemtemplate> <td><%# Eval("value") %></td> </itemtemplate> </asp:repeat...

How can I modify field value after Drupal webform sumission

I'm trying to modify value of the submitted field with php (server-side) to be send by mail and written to db: hook_form_alter(&$form, &$form_state, $form_id) changing of value looks easy, but nothing happens after I change it. Hook works. ...

Drupal Webform module: e-mail only

I am using Drupal Webform 6.x-2.9 - is there a way (some code snippet or module) to make the form e-mail only and NOT store the submissions in the database? I googled for a solution and there was an idea to automatically clear the results from the database upon submission, but I'm not sure how to write such code. I'd prefer not to hack t...

Drupal node template for webform

I'm trying to give my webform node a readable name to make it easier to find and edit. I'm able to use the template I created called "webform-form-12.tpl.php" and theme that, but I want to use something like "node-webform-form-athlete-of-the-month_submit-your-athlete.tpl.php". The path I gave this webform is "athlete-of-the-month/submit-...

Looking for Drupal webform tutorial

I have setup a Drupal site and will work with a designer to customize some webforms. Is there any tutorial out there which can help a designer (he also knows some PHP but not a programmer background) to get started? I hope he can learn how to: add fields theme the form Thanks~ ...

Changing a standard text input into a jquery calendar popup using webform module in Drupal?

I have a simple booking form in Drupal created using the webform module. I wanted to change the date / time fields from texboxes to a Calendar popup. Can this be done? ...