error Array
-
i have this error ------ Array initializers can only be used in a variable or field initializer. Try using a new expression instead. ------ with this code oEdit1.CustomButtons = new string[] {{"CustomName1","alert(\'Command 1 here.\')", "Caption 1 here", "btnCustom1.gif"}, {"CustomName2","alert(\\\"Command \'2\' here.\\\")","Caption 2 here","btnCustom2.gif"}, {"CustomName3","alert(\'Command \\\"3\\\" here.\')","Caption 3 here","btnCustom3.gif"}}; do u know how can solve this error
Palestine
-
i have this error ------ Array initializers can only be used in a variable or field initializer. Try using a new expression instead. ------ with this code oEdit1.CustomButtons = new string[] {{"CustomName1","alert(\'Command 1 here.\')", "Caption 1 here", "btnCustom1.gif"}, {"CustomName2","alert(\\\"Command \'2\' here.\\\")","Caption 2 here","btnCustom2.gif"}, {"CustomName3","alert(\'Command \\\"3\\\" here.\')","Caption 3 here","btnCustom3.gif"}}; do u know how can solve this error
Palestine
Make that new string[][] { new string[] {"CustomName1","alert(\'Command 1 here.\')", "Caption 1 here", "btnCustom1.gif"}, new string[] {"CustomName2","alert(\\\"Command \'2\' here.\\\")"...