PC Review


Reply
Thread Tools Rate Thread

Custom gridview

 
 
=?Utf-8?B?RGFueQ==?=
Guest
Posts: n/a
 
      17th Mar 2005
I'm trying to create a gridview custom control in VS2005 with some column
predefined.
I get the error StackOverflowException.
Can anybody show me some resource link, please?
Thanks in advance.

Daniele Farina

There is the wrong code:

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.WebControls

<DefaultProperty(""), ToolboxData("<{0}:GridViewTest
runat=server></{0}:GridViewTest>")> Public Class GridViewTest

Inherits System.Web.UI.WebControls.GridView

Protected Overrides Sub Render(ByVal output As
System.Web.UI.HtmlTextWriter)

Dim cbSel As New CommandField
cbSel.ShowSelectButton = True
cbSel.SelectText = "TestoSelezione"

Me.Columns.Add(cbSel)

MyBase.Render(output)

End Sub

End Class


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      17th Mar 2005
Dpsol,


Although it will be not very active (there is a new beta version scheduled)
There are for beta testing 2005 special newsgroups,


Whidbey groups:
http://communities.microsoft.c*om/ne...p?icp=*whidbey


Infos on how to view these groups with an NNTP news client:
http://communities.microsoft.c*om/ne...US/w*elcomePag...


I hope this helps,


Cor



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom sorting in GridView AVL Microsoft Dot NET Framework 1 30th Oct 2008 04:18 AM
custom sorting in gridview AVL Microsoft ASP .NET 1 21st Oct 2008 03:10 PM
Possible to do Custom Formatting on Gridview RCM Microsoft ASP .NET 2 6th Jan 2007 12:19 AM
Creating custom gridview (inheriting from gridview class) =?Utf-8?B?V2ViTWF0cml4?= Microsoft ASP .NET 1 22nd Oct 2006 12:56 AM
creating custom GridView Nenefta Microsoft ASP .NET 0 29th Mar 2006 01:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:23 PM.