Search

You searched for the word(s): userid:666082

Matching Posts

  • Re: GridViewEx

    Thanks, that did the trick. I ended up rewriting it a bit so it now looks like this: //create the empty row GridViewRow emptyRow; if ( this .EmptyDataTemplate != null ) emptyRow = this .Controls[0].Controls[0] as GridViewRow; else { emptyRow = new GridViewRow(-1, -1, DataControlRowType.EmptyDataRow, DataControlRowState.Normal); TableCell cell = new TableCell(); cell.ColumnSpan = this .Columns.Count; cell.Width = Unit.Percentage(100); if (!String.IsNullOrEmpty(EmptyDataText)) cell.Controls.Add( new
    Posted to Tips & Tricks (Forum) by hansgh on 8/18/2006
  • Re: GridViewEx

    This is a great class indeed, thanks for supplying it! However, if I try fetching text from a code-behind function inside the EmptyDataTemplate it doesn't show the text. When debugging it enters the function and returns the text, but it doesn't get displayed. When using the asp:GridView the text shows up nicely (but of course without the header and footer). Example: < EmptyDataTemplate > < asp : Label id ="lblNoData" runat ="server" Text =' <%# GetNoMessagesText() %> ' SkinID ="Info
    Posted to Tips & Tricks (Forum) by hansgh on 8/15/2006
  • Re: Error dynamically creating CollapsiblePanelProperties

    BGRhoades: Can you provide the stack trace? I was running into this error before as well, but I can't remember exactly what I did to resolve it. Here's the stack-trace: [NullReferenceException: Object reference not set to an instance of an object .] Microsoft.AtlasControlExtender.ExtenderControlBase`2.ConnectDataBindingHandlers() +241 Microsoft.AtlasControlExtender.ExtenderControlBase`2.OnInit(EventArgs e) +31 System.Web.UI.Control.InitRecursive(Control namingContainer) +321 System.Web.UI.Control
    Posted to ASP.NET AJAX Control Toolkit (Forum) by hansgh on 8/14/2006
  • Re: Error dynamically creating CollapsiblePanelProperties

    To me this seems like a bug in the current version of CollapsiblePanelExtender. If I do like this: < atlasToolkit:CollapsiblePanelExtender ID= "cpe" runat= "Server" ></ atlasToolkit:CollapsiblePanelExtender > c#: CollapsiblePanelProperties cpp = new CollapsiblePanelProperties(); /*..adds my cpp-properties...*/ cpe.TargetProperties.Add(cpp); I get this error (as expected): "Property items cannot be added to, removed from, or replaced in the collection after the Init event. To dynamically
    Posted to ASP.NET AJAX Control Toolkit (Forum) by hansgh on 8/13/2006
Page 1 of 1 (4 items)