or
| Private Sub GridViewPrepack_CellFormatting(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles GridViewPrepack.CellFormatting | ||
| |
||
| If Not (e.CellElement.Children.Count > 0) Then | ||
| Dim myButton As New RadButtonElement | ||
| 'Display style of the Image | ||
| if CType(e.CellElement.ColumnInfo,GridViewDataColumn).FieldName = "Delete" | ||
| AddHandler myButton.Click, AddressOf DeleteButton_Click | ||
| 'add the button to the cell | ||
| e.CellElement.Children.Add(myButton) | ||
| End If | ||
| End If | ||
| End Sub |
| Private Sub DeleteButton_Click(ByVal sender As Object, ByVal e As EventArgs) |
| GridViewPrepack.Rows.Remove(GridViewPrepack.CurrentRow) |
| End Sub |
RadDropDownListEditor editor = new RadDropDownListEditor(); RadDropDownListEditorElement element = editor.EditorElement as RadDropDownListEditorElement; element.Popup.MinimumSize = new System.Drawing.Size(element.Popup.MinimumSize.Width, element.ItemHeight * 10); editor.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; e.Editor = editor;
| en
System.ComponentModel.TypeDescriptor.TypeDescriptionNode.GetRuntimeType(Type
objectType) en System.ComponentModel.TypeDescriptionProvider.GetRuntimeType(Type reflectionType) en Microsoft.VisualStudio.Design.MultiTargetingContextProvider.GetRuntimeType(Type objectType) en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetFieldType(String fieldName, Type documentBaseType) en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetReferencedComponentType(String componentName, CodeTypeDeclaration codeTypeDecl, ITypeResolutionService loader, IDictionary& cache) en Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.ParseHandlesClauses(CodeTypeDeclaration codeTypeDecl, Boolean updateCache) en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e) en System.CodeDom.CodeMemberMethod.get_Statements() en System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) en System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) en Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) |



