Click here to Skip to main content
16,011,905 members

Comments by vinayvraman (Top 13 by date)

vinayvraman 16-Jun-15 5:56am View    
DesignMode indicates if the Control (or component) is currently in DesignMode. When in design mode, the designer executes some of the code (in ctor and OnLoad functions). You do not have to do anything extra. In the constructor, just a add a check like shown above.

But I strong suggest you to check the cause of the error and put the DesignMode check in relevant place.

See this link: https://msdn.microsoft.com/en-us/library/system.componentmodel.component.designmode(v=vs.110).aspx
vinayvraman 1-Jun-15 23:01pm View    
What do you want to download in the row? Is it the image that you are trying to download?
vinayvraman 1-Jun-15 22:58pm View    
What is the data source that is bound to the grid view?
Have you tried selecting the row by clicking on the row header? If yes, then delete should automatically work if the data source is say DataTable. You do not have to handle the delete event explicitly.
vinayvraman 1-Jun-15 22:47pm View    
Please elaborate on the error/exception you get.
vinayvraman 26-May-15 6:21am View    
I guess the problem is in the way you have constructed the string. It should have been like this

Use double quotes for attribute values instead of single quotes.

$("#ButtonSec").html('<input type="button" ng-click="Parent.MyEvent()" value="inner button"/>');