Friday 9 September 2011

How to Bind Java script from Code Behind


Note: Given Below Example BlankField()is java script Function
      onClick is Event.

btnSub.Attributes.Add("onClick", "return BlankField()")
       
txtPremPayemtPred.Attributes.Add("onkeypress", "return CHKNUM(event,'" & txtPremPayemtPred.ClientID & "')")

2 comments:

  1. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. 经济代写

    ReplyDelete
  2. .留学生网课代上代考,作业论文代写,海外课程辅导平台 -你的作业代写专家assignment-daixie.com澳洲代考my-assignmentexpert

    ReplyDelete