I have some classes with validation on their properties. I'm trying to associate those validation attributes into the asp.net validation controls so that if I change those classes any changes to the validation is immediately reflected on the client and the server.
I've run into this when trying...
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...
That's exactly what I want yes. I shall have a go then.
Good point well made. Unfortunately, I'm working with some legacy software that has a file download function that does not allow you to test the type of file. So every request over http would provide a file and I want a PDF only. I thought...
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...
Thanks for the article but cant see anything on there that indicates a difference. I run your code on clicking a button. Can't seem to find anything about this on the internet - can't believe I am the only person to get this! I am using MS Excel 2003. Dvannoy, do you have the grid cell layout...
Thanks guys but still getting the same. I tried ca8msm's and it came back with a dialog saying it wasnt an excel file.
I tried dvannoy's but no change. When you say the grid must be formatted correctly is this ok? The dataformatstring sets the currency for the locale.
BoundColumn col = new...
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...
Yes thats right but I'm also trying to get the alias to be the month i.e. a table with August 2005 to July 2006 in the column headings. It throws an error when I try and use the
AS DATE_FORMAT((CURDATE() - INTERVAL 11 MONTH), '%M-%Y')
Matt
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...
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.