|
Just try the below and see if it works:
function DoCheck()
{
if (document.myform.checkbox1.checked == true)
//Copy all the control values from WorkContract to Secondarycontact.
//document.GetElementbyId('SecondaryControlname') = WorkContractControl.Values;
}
Add the below in codebehind:
Checkbox1.Attributes.Add("OnClick","DoCheck();");
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
|
Why ajax is needed it could be implemented in plain simple JavaScript??
|
|
|
|
|
sir,
Response.Cache.SetCacheability(HttpCacheability.NoCache)
what is the use of above line code?
|
|
|
|
|
prevent client Cache
Parwej Ahamad
|
|
|
|
|
This doesn't allow caching at the browser
Cheers!!
Brij
|
|
|
|
|
If the browser is told not to cache the page, it means, for example, if you log out and then the user hits back on the browser, the browser won't reload the logged in page from it's cache, it will try to load it again, allowing you to make sure the user is asked to log in. That's the typical reason people use it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi
I have been working on VS2008 and i am using System.Data.OracleClient to connect with Oracle 9i DB.
I am getting the following error when i run the application.
"System.Data.OracleClient requires Oracle client software version 8.1.7 or greater."
Do i need to install oracleclient software on my machine to access oracle db or what should i do?...
How to resolve this please help me..its very urgent..
Thanks in advance.
Regards
Arun
|
|
|
|
|
arunvtyc wrote: "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater."
The error message is clear, isn't it? Yes you need to install it.
arunvtyc wrote: .its very urgent..
Read this[^], this also urgent.
|
|
|
|
|
Thanks navneeth..
can i install an oracleclient in someother machine to acess oracle db
|
|
|
|
|
arunvtyc wrote: Subject: Error: Accessing Oracle db from .net 3.5
Please Don't Cross Post. You have asked for the same question just few hours back.
|
|
|
|
|
Dear All,
I am trying to display records of text data and some image in repeater but requirement is if the record is without image then text should align on left site,
But if the image is in record then first image should display on left side i mean left alignment and text should display beside with image but on he right side of image.
Now i need some help how to display these records in repeater item tag with if condition.
if image if true in image class then first image display on left then text display on right if no image in record then simple text display on left
kindly tell me what should i do.
Sajjad Ali
|
|
|
|
|
I want to remove the file Extention from the URL.
Like - in URL path is like that - http:\\localhost\project1\webform1.aspx
Now I want it only show in the URL like - http:\\localhost\project\webform1
if form have Query string that it shows as it is but with out file extention(.aspx).
|
|
|
|
|
Extension-less URL rewriting is not possible in IIS6.0. If you are using IIS7.0, you can do this.
|
|
|
|
|
i am using IIS7.0... can you give any example coding
|
|
|
|
|
In fact, you can do this with any version of IIS. What you need to do, is replace all your pages with folders, and then in each folder put a default.aspx. I explained this to someone here recently, although the whole thing seems retarded to me.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hello,
I am working with VS 2.0. i written code for dropdownlist filling using icallback event. when i use this event is working for dropdownlist. and in that page i had one button control when i click on button i am getting below error.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
What may be the reason.
Please Help me...
Thanks
Pinna
|
|
|
|
|
y..no answers for this questions...Is question wrong or anything....!
Pinna
|
|
|
|
|
Hi all,
I don't want login in a system when another person
logged in another system with the same user name.
How can i do this
I need your help,
Thank You,
Hoda
|
|
|
|
|
You can use some common database for the all loggedin users and check every time when one is going to login whther someone has loggedin with a same userid or not.
Cheers!!
Brij
|
|
|
|
|
You can suggest as brij said, or try to find one article on codeproject, there was a great soluation for that problem.
I am not able to find that link right now. I will send you if i got that same link .
|
|
|
|
|
The obvious way is in your database have a field that tells you a person is logged in, and if they are, don't allow another login. The issue with this is, you cannot be sure to catch any event that tells you a person has logged out, so you should also store a timestamp every time that user requests a page and when you check if they are logged in, also check that to see if it's been long enough to assume it has expired.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all
I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load
I need your help
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
nour123 wrote: he update does not take effect from the first page load
Its means after post back image is not coming ?
Are you using Caching ?
|
|
|
|