Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

91 lines
2.3 KiB

<%@ Control Language='C#' Inherits='UDDI.Web.TModelSelector' %>
<%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
<%@ Import Namespace='System.Data' %>
<%@ Import Namespace='UDDI' %>
<%@ Import Namespace='UDDI.API.ServiceType' %>
<uddi:UddiLabel
Text='[[TAG_SHOW_TMODELS]]'
CssClass='header'
Runat='server' /><br>
<uddi:UddiTextBox
ID='query'
Width='200px'
MaxLength='128'
Selected='true'
OnEnterKeyPressed='Search_OnClick'
Runat='server' />
<uddi:UddiButton
Text='[[BUTTON_SEARCH]]'
OnClick='Search_OnClick'
Runat='server' /><br>
<asp:RequiredFieldValidator
ID='requiredField'
ControlToValidate='query'
Display='Dynamic'
Runat='server'/>
<br>
<asp:Panel
ID='resultsPanel'
Visible='false'
Runat='server'>
<asp:Label ID='count' Runat='server' /><br>
<br>
<asp:DataGrid
ID='grid'
CellPadding='4'
CellSpacing='0'
Border='0'
Width='100%'
AllowPaging='true'
AutoGenerateColumns='false'
ShowFooter='true'
GridLines='None'
OnItemCommand='Grid_OnItemCommand'
OnPageIndexChanged='Grid_OnPageIndexChange'
Runat='server'>
<EditItemStyle CssClass='tableEditItem' />
<HeaderStyle CssClass='tableHeader' />
<ItemStyle CssClass='tableItem' />
<AlternatingItemStyle CssClass='tableAlternatingItem' />
<FooterStyle CssClass='tableFooter' />
<PagerStyle
Mode='NumericPages'
HorizontalAlign='Left'
CssClass='pager'
PageButtonCount='10' />
<Columns>
<asp:TemplateColumn
Visible='false'
HeaderStyle-CssClass='tableHeader'
ItemStyle-CssClass='tableItem'
FooterStyle-CssClass='tableItem'>
<ItemTemplate>
<uddi:UddiLabel
ID='key'
Text='<%# ((TModelInfo)Container.DataItem).TModelKey %>'
Runat='server' />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<%# Localization.GetString( "HEADING_TMODEL" ) %>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton
ID='name'
Text='<%# Server.HtmlEncode( ((TModelInfo)Container.DataItem).Name ) %>'
CommandName='select'
CausesValidation='false'
Runat='server' />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</asp:Panel>