Language: HTML
Using WilcoWeb's "ID Override"
<%@ Page Title="Manage PayPal Settings" Language="vb" AutoEventWireup="false" MasterPageFile="~/Design/LayoutUI.Master" CodeBehind="Manage.aspx.vb" Inherits="Service.Pages.Manage" %> <%@ Register TagPrefix="WilcoWebControls" Namespace="Wilco.Web.UI" Assembly="Wilco.Web" %> <asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" runat="server"> <div class="contentcontainer" runat="server" id="PageContent"> <h2>Stock Quote Lookup</h2> <div class="labelheader" style="margin-top: 20px;">Enter a stock symbol:</div> <asp:TextBox runat="server" ID="txtSymbol" /> <input type="button" id="btnGetQuote" value="Go" /> <div id="divStockWrapper"> <div id="divStockDetail"> </div> <img id="imgStockChart" /> </div> </div> <WilcoWebControls:IDOverride runat="server"> <WilcoWebControls:Override TargetControlID="txtSymbol" /> </WilcoWebControls:IDOverride> </asp:Content>
Tags:
Description:
will generate <input type="text" id="txtSymbol" />, not the mungled mess that MasterPages and other naming containers do to client side ID's
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

