using client-side script to "disable" server-side conbrols
not quite disable, i'll explain. i have a basic web form, some asp text boxes and some validation / required field controls. what im trying to do is hide the error messages displayed by the validation controls when the user clicks the form 'reset' button. can this be done using client-side, or will i have to do a postback?
thanks in advance
You can change the 'CausesValidation' property of the Reset button to False. That'll stop the validation checks from running when you click on it.
I have a blog.
Perhaps you'd like to read it.
TRY this ...
...Firing both Client side event and server side event for server side button
Isn't there a client-side: behavior.IsValid(); ?
how can i pass those values?
i am using version 1.1, i kno thatwe can use callback events mechnisam in 2.0 or ajax ,apart from that how we can pass?
My problem is i need to stop the execution of the code based on after reciving values from the client
any ideas please???
Feel free to go deeper in your que...Getting hidden variable value from server side in client side
hi, I am struck in problem. I have a hidden field in my form and i am setting some value in that. Now i wnt to use this value from client side but i m not able to retrieve it. All i am getting there is an object. I feel the hidden field is not able to hold that value. <input type="hidden" id="hdnVar" runat="server" /> in code behind ..."Push" messages to Atlas/Ajax Client or Client-side event handling of server messages
What I'm looking for is the ability for the client-side Ajax/Atlas GUI to be able to update itself when events occur on the server. The issue is that the events are triggered from a third party, and aren't triggered by postback. For example, let's say there's a Queue of data on the server, and each time a new item is added to the Queue, I want the client to recognize the addition and display the new item. Right now, the only way I can think of doing this is by setting up an Ajax timer and checking the state of the Queue on every timer tick. While this doesn't cause the page to refresh/postba...Developed C#.net WebService 1.1 for Client C#.net 1.1. Getting error "Server was unable to process the Request" Pls Help
I developed Microsoft C#.net Web Services2003 for the Client Application C#.net 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful.
Live Server is 2003 using IIS 6.0
I use very expensive data handling. Its very urgent pls help. Have to post in Live Server.
...Client Side values to Server Side
What is the best way to transfer Client Side values to the Server side?
var1 = "sample";
How can I acquire this value in the server side? What is the best approach for this?
to send the value to the server during a postback, you need to place the value in an input control. You could consider using a hidden textbox for that purpose.Mike Banavige~~~~~~~~~~~~Need a site code sample in a different language? Try converting it with: http://converter.telerik.com/
In the JavaScrip...Client-side values to server-side ?
My previous query is attached below:
Your suggestion will be appreciated.
Thanks and regards,
My previous query:
" I am stuck wi...I need to get a server side button to run this client side code?
I need to get a server side button to run this client side code when the server
button is clicked and then subsequently called by the server.
Is it possible? The problem is that the print control is a client side activex.
I can call it normally using a client side button but this is no good when
I need to print more then one page.
Any help would be great.
MyPrinter = new ActiveXObject("ImgXPrint6.ImgXPrint");
MyPrinter.PageFrom = 1;
MyPrinter.PageTo = 1;
MyPrinter.PageM...can clear server side text box value from client side.?
This is how i am clearing the text for <asp:TextBox>. Ofter i submit, i wonder to see the old value from serverside , like txtTemp.Text is h...Client Side HTML Radio Buttons not Posting with Server Side Form
I have a server side form that is posting when an HTML client side button is clicked. However, the value of my html client side radio button is null when I call Request.Form("htmlradiobuttonlist") on the resulting page. Does anyone know why the form won't the post the value? Please help! Thanks in advance.I'm still using dot net 1.1. I can use server side buttons or server side radio buttons. I can explain why if necessary.Below, you can see the HTML radio buttons in the datalist. The JS function works, but is omitted from below.<form id="form1" a...How can I set client side values as server side values?
Can anyone tell me how I can get client side values such as
document.referrer, navigator.appName etc... into server side scripts?
There are some client side values I'd like to set as session vars and
insert into the db?
How do I go about this?
Thanks for any pointers
PS (I'm using powersite 18.104.22.1680)
Pass them as page parameters, e.g.,
Then, in your server-side script, just loop through the document.value array
and get these values.
Roy Kie...How to pass the client side values to server side?
hello to All,Actually i wanna implement a code like... a string in HTML textbox retrieve in server side control....suppose i hv a HTML control <input type="text" id="txtHTML"/>, and dis control txtHTML.text="abc".now i want to retrieve dis client side string "abc" in d server side textbox named "txtASP"...which hs a property runat="server"so please give me an idea how to pass values from client side to server side.... hope u understand a problem... sam.
You could do this