The javacript function may look like this one.
var arrControls = document.getElementByTagName('input')
// since we are trying to gather all controls having <input> tag // returns an array of control's ID ..so each array// element is a control of your page.for(int i=0;iterate upto arrControls.length)
arrControls[i].disabled = true;
// setting each control's 'disabled' property to true// to disable all the control.
So at the end of your aspx page call this function to disable all controls.
Reusability: =========================================================== The very same function you can use to enable all the control if you pass some true or false as a parameter to the function so that the sae function can be used for enabling or disabling.
when sending mail from my form i want to display all the details in a table in my mail. i think we can do usting html textwrite. in my form i have so many textboxes.when user will enter details i want to disply thatt in a table in my mail .how can i do that.....can anybody help me?....please give me some sample coding alsoo
I am using Visual Studio .NET 2003 to develop the application. My issue is that i had to generate a Word Report with password from an ASP.NET web application. After much try i got the dll Microsoft Word 11.0 Object Library and with the help of which i could generate a word document with password from a trial application. When i tried to implement the same in our project, it was giving an error as 'Could not open Macro Storage'.
The error code was 2146822307.
While checked up with the windows task manager it was taking a lot of memory.
When performed a search with this, i came to know the necessity of configuring the Word application with DCOMCNFG - as setting the word to be run under interactive user mode etc. But that is very risky as listed in the links,
http://support.microsoft.com/kb/q288366/ -- (Explains how to configure with DCOMCNFG)
Can any body tell me how to solve this without using DCOMCNFG ?
Or at the least is there any solutions to overcome the security issues...
Your suggestions might be of great value....
If anybody comes across any link or any thing please do reply ....
This article (http://support.microsoft.com/kb/257757[^]) is absolutely befitting to every word. ASP.NET, at least in its current version has lot of issues working along with Interactive desktop application like Microsoft Word.
I'm looking to using an Access db for the backend of a web event calender. I'd like to store images in this database, then at Run-Time pull the images from the database to be displayed on the web. My question is how to take the OLE Object and convert it to a JEPG, GIF or PNG file.
Planning on having an image.aspx?imageID= that will return in image to the calling site. Has anyone run into any information about this or what to google to research it. I've been coming up short.
I'm an ASP.NET newbie doing some minor changes to an existing ASP.NET 1.x website using VB. This site is a mess behind the scenes, with many unused pages, deadends, "test pages" and such. I'm not sure which bits are doing a job and which are surplus, so I have left it all as it is for now.
An example of one of the small validation tasks I want to do: in the shopping cart checkout sequence the phone number entry field is set to accept a solid sequence ("9786665544") instead of a more US-intuative sequence ("978-666-5544").
No problem, right?
I have searched for either inline code on the .aspx page, or a code behind page, but I have found neither. The pages seem to reference code-behind files that don't exist (i.e. " Codebehind="checkout_main.aspx.vb"").
I half-remember hearing that the site code can be compiled into the .DLL file so that the site will function, but no useable inline code or code-behind formats will be left accessable to people working on the site afterwards. Is this the case? It seems sort of like welding the hood shut on a car so one can't change the oil.
Is teher a way to "decompile" the DLL in order to get access to this code, or is it easier just to trash the old mess and start over?
I'd recommend that you start with the ASP.NET QuickStart tutorials, found here[^]. From there, you can start to google around a bit to find articles relating to your project and/or areas of interest. Best of luck.
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
Iam new to web development. Need help on the following: 1.I have created a login page with a login and a password text field and have put requiredfieldvalidators on them.
2.On this page i also have a hint linkbutton which users can click if they dont remember the password. This hint requires that users enter their login id and based on their login id, the app will query the database for their profile and display the password hint.
problem: When i enter the login and hit the hint linkbutton, the requiredfieldvalidator for the password comes up. How do i set the requiredfieldvalidator to go off only when submit button is hit?
Last Visit: 31-Dec-99 19:00 Last Update: 30-Mar-17 4:04