CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: HTML

Using WilcoWeb's "ID Override"

744 Views
Copy Code Show/Hide Line Numbers
<%@ 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>
by MorningZ
  October 16, 2009 @ 5:54am
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

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate