in

ASP.NET Weblogs

This Blog

Syndication

Tags

ASP.NET Deutsch Blogs

Browse by Tags

All Tags » ASP.NET;ASP.NET / Controls (RSS)
Sorry, but there are no more tags available to filter with.
  • Google Maps ASP.NET Control

    Bill Pierce created an ASP.NET Server Control wrapper for the Google Maps API . He's posted the first of three articles on Code Project: Lat Lays Flat - Part 1 : A Google Maps .Net Control . If you want to see the control in action, just look up the demo page . http://alexonasp.net Read More...
  • Pretty cool WebForm DataGrid using JavaScript

    ActiveWidgets Grid is a really cool scrollable WebForm DataGrid which has fixed headers, resizable columns and client-side sorting. ActiveWidgets Grid is free of charge and open source for private use. http://alexonasp.net Read More...
  • Pfad innerhalb eines UserControls auslesen

    Eben tauchte bei mir das Problem auf, dass ich den Pfad zu einem UserControl innerhalb eben dieses UserControls erhalten wollte - also praktisch die Info: "wo stehe ich (das UserControl) selbst im FileSystem?" Lösung: this .TemplateSourceDirectory innerhalb des UserControls auslesen. http://alexonasp.net Read More...
  • Undokumentiertes Feature in FindControl()

    In der FindControl-Methode von ASP.NET gibt es ein undokumentiertes Feature, welches das Auffinden von Controls innerhalb von Controls vereinfacht - die Verwendung von Doppelpunkten: LinkButton myButton = (LinkButton) this .FindControl( "DataGrid1:_ctl19:_ctl2" ) ; würde z.B. auf der Seite http://alexonasp.net/dotnetfu/datagridpager/ den LinkButton finden, der im Pager die Seite 2 aufruft. Somit spart man sich also mehrere (teilweise eigentlich gar nicht benötigte) FindControl-Aufrufe. Feine Sache ;-) http://alexonasp.net Read More...
  • HTML Controls in ASP.NET abbilden

    Problem: Ich will die Attribute eines HTML-Tags (im konkreten Fall das <label>-Tag ) serverseitig dynamisch befüllen (z.B. das for-Attribut). Lösung: Dem HTML-Tag eine ID und runat="server" zuweisen. Um im CodeBehind auf das Control zugreifen zu können, muß nun ein HtmlGenericControl mit der ID des HTML-Tags instanziert werden und schon kann man über Attributes.Add die entsprechenden Attribute dynamisch steuern. Der Code: <label style="line-height:20px" id="lblPermanentLogin" runat="server" >Anmeldedaten speichern</label> CodeBehind (komprimiert): protected System.Web.UI.HtmlControls. HtmlGenericControl lblPermanentLogin; lblPermanentLogin.Attributes.Add("for",chkPermanentLogin.ClientID); Danke Claudius...
  • TextBoxLengthValidator

    Familie Mitchell hat programmiert ;-) - Ergebnis: der TextBoxLengthValidator , live zu sehen hier . http://alexonasp.net Read More...
  • RssFeed (ASP.NET)

    RssFeed (aktuell in der Version 1.5) ist ein ASP.NET Server Control, das es erlaubt, den Inhalt eines RSS-Feed in einer ASP.NET-Seite darzustellen. Weitere Informationen zum Control, das Control selbst und einige Beispiele und Artikel dazu finden sich auf der RssFeed-Website von Scott Mitchell . http://alexonasp.net Read More...
More Posts