Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Client Side Buttons

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,54897
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Client Side Buttons
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Client Side Buttons - 1/3/2008 8:03:41 PM   
  vodafone

 

Posts: 2
Score: 0
Joined: 1/3/2008
Status: offline
Original message moved by ebgreen
Reason : Moved to proper forum
Hi all,
I am using one client side button in my form.The code behind of the form has a public varriable
Action as Integer.If the varraible is 1 then the button has to be disabled else it has to be enabled.I am trying
like this but not working.Can some one help



      

Thanks in advance
Dana
 
 
Post #: 1
 
 RE: Client Side Buttons - 1/3/2008 8:59:48 PM   
  chris_cs

 

Posts: 93
Score: 0
Joined: 10/9/2006
Status: offline
I don't think you need the "<" in front of disabled.

(in reply to vodafone)
 
 
Post #: 2
 
 RE: Client Side Buttons - 1/3/2008 10:04:22 PM   
  vodafone

 

Posts: 2
Score: 0
Joined: 1/3/2008
Status: offline
This also didnot work

         &nbsp;&nbsp;</button>&nbsp;&nbsp; <button class="Btn" id="Button3" title="ALT-D" accessKey="D" onclick="Delete_onclick()"
    type="button" <% if intAction=1 Then Response.write("disabled=true") Else Response.write("disabled=false") %> >&nbsp;&nbsp;

(in reply to chris_cs)
 
 
Post #: 3
 
 RE: Client Side Buttons - 1/4/2008 3:10:54 AM   
  mcds99


Posts: 421
Score: 4
Joined: 2/28/2006
Status: offline
If this is ASP it's in the wrong area, it should be in the ASP forum.



_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to vodafone)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Client Side Buttons Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts