Last active
December 26, 2015 23:09
-
-
Save sohel-rana/7227906 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string[] paramsStr=new string[4]; | |
paramsStr[0]=ctrl1.ClientID; | |
paramsStr[1]=ctrl2.ClientID; | |
paramsStr[2]=ctrl3.ClientID; | |
paramsStr[3]=ctrl4.ClientID; | |
string script=string.Format(@"function IDIssue() { | |
var ctrl1=document.getElementById('{0}'); | |
var ctrl2=document.getElementById('{1}'); | |
var ctrl3=document.getElementById('{2}'); | |
var ctrl4=document.getElementById('{3}'); | |
// add necessary implemenation here | |
}", | |
paramsStr | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment