I've dynamically added a RequiredFieldValidator control to a textbox in a formview. The first time the page loads I can see the script block hooking up the javascript function to the control...
<script type="text/javascript">
//<![CDATA[
var FormView1_validator2 = document.all ...
Hi all
Is it possible to configure a business entity on the server and to apply validation using the validation application block in such a way that the validation is available on the client when using web services?
I want to configure my validation in one place.
Matt
I'm involved in a large .net project which is mainly asp.net. One of the requirements is to have all access to data made via web services. The reasoning I've been given for this approach is that this is more secure than a traditional website that accesses a database directly. If the web server...
Hi
I've been trying to create an object within a Windows Service and then publish the object in the constructor of the remote object i.e within itself. I can't seem to get this to work though I can only ever publish the object within the Service object using Remoting.Configure. My Windows...
I'm looking for advice on whether Javascript would be the best approach for a problem I'm trying to solve. I want to be able to graphically represent a schedule of activities. Each activity has various properties including a name and the number of days from the previous activity and these...
Hello,
A couple of questions....
If I make a request to a aspx page and in that page I download a file from a URL, is it possible to pass that file back in the response to the client without saving it to disk on the web server?
If I make a request to an ASPX page can I cancel the response...I...
When I export a datagrid that contains currency values (with the pound sign, £) to Excel I get £0.00. I have seen this before when transforming XSL with UTF-8 encoding so I tried iso-8859-1 but it made no difference. Does anyone know how to solve this please? Here is a snippet of my code...
Hi
I'm trying to output the previous 12 months and have the month name as the column heading. It doesnt want to let me use a function as the alias.
SELECT Department,
SUM(case when Month=MONTH((CURDATE() - INTERVAL 11 MONTH)) then Total else '0' end) AS DATE_FORMAT((CURDATE() - INTERVAL 11...
Hi,
I've been wrestling with this for awhile and am surprised there isn't more on the internet about how to do this. I'm trying to post XHTML (using a wysiwyg editor called Tinymce) and then append that XHTML to an XML document tree. The main problem I keep coming up against is the use of...
I have a XML document with HISTORY and SCHEDULE elements. I need to iterate through the SCHEDULE elements and build a table row. For that schedule there could be 0 or many history elements that I also need to add to the table but without duplicating!
<HISTORY>
<DATE_INSERTED>...
Hi,
I am working on a project that involves the uploading of images to a server for display on my site. I'm likely to have a minimum of 100,000 images a year and I have little (or no) idea how to manage them.
What I would like is to show a thumbnail on the user's page with it being a link to...
FoamCow has again blessed us with his knowledge. Anyone learning CSS should read this article...skip the first 2/3...
http://www.tek-tips.com/viewthread.cfm?qid=1098652&page=2
Matt
Hi,
Everytime I add HTML to a XML element it converts the code to a <html> etc. I am adding a CDATA section so i am not sure why its converting the < symbols. Does anyone know how I can prevent it character escaping like this?
Thanks
Matt
Hi,
I cant seem to find a way in the XMLDocument object or anything else to add the xsl-stylesheet tag to an XML document. .NET seems to want to transform the XML itself using XMLtransform but I dont want this. I want to be able to create XML documents in a directory and allow the users to open...
Hi,
I'm trying to align some divs centrally using...
#mycontainer
{
margin-left:auto;
margin-right:auto;
width:640px;
}
and I'm getting different behaviour in HTML to XSL.
The div is aligned to the left of the page. Has anyone seen this before and know how to make XSL behave in a...
Hi,
I'm building a table dynamically using the DOM and each row contains a link that I have built in such a way that it would be along the lines of...
<a href="javascript:void(1)" onclick="openFC(this)">Remortgage of 27 Dunroamin..</a>
The integer that is part of the void call is...
Bit concerned I've missed something obvious with this problem but I'm going to risk it.
I have 2 divs with one acting as a shadow for the other. I want to have them in the center of the page but i cant seem to get the positioning right in terms of the shadow div being offset properly.
If I...
I'd like to have a 3d appearance to my divs (I want to use this for the top of the page navigation links in much the same way as www.theregister.co.uk does) but I cant get the same from firefox as I can from IE.
The style is...
#test{
border-top-color:#CCCCCC;
border-left-color:#CCCCCC...
I'm trying to create a regular expression that tests true when a figure entered into a field is 6 or less figures.
I've tried
var myReg1 = /\d{,6}/;
var myReg1 = /[0-9]{,6}/;
but it either doesnt allow less than 6 figures or always equates to false. Whats wrong with this?
function...
Hi,
I have a XSL page with 3 tables and each table has a tbody element. When the page loads XML data is parsed into js objects. Once that is done I use DOM functions to add the data to the correct tables...well thats how its supposed to work. When I create the row using a createRow function i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.