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.

90 lines
2.3 KiB

  1. <%@ Control Language='C#' Inherits='UDDI.Web.PublisherSelector' %>
  2. <%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
  3. <%@ Import Namespace='System.Data' %>
  4. <%@ Import Namespace='UDDI' %>
  5. <uddi:UddiLabel
  6. Text='[[TAG_SHOW_PUBLISHERS]]'
  7. CssClass='header'
  8. Runat='server' /><br>
  9. <uddi:UddiTextBox
  10. ID='query'
  11. MaxLength='255'
  12. Selected='true'
  13. OnEnterKeyPressed='Search_OnClick'
  14. Runat='server' />
  15. <uddi:UddiButton
  16. Text='[[BUTTON_SEARCH]]'
  17. OnClick='Search_OnClick'
  18. Runat='server' /><br>
  19. <asp:RequiredFieldValidator
  20. ID='requiredField'
  21. ControlToValidate='query'
  22. Display='Dynamic'
  23. Runat='server'/>
  24. <br>
  25. <asp:Panel
  26. ID='resultsPanel'
  27. Visible='false'
  28. Runat='server'>
  29. <asp:Label ID='count' Runat='server' /><br>
  30. <br>
  31. <asp:DataGrid
  32. ID='grid'
  33. CellPadding='4'
  34. CellSpacing='0'
  35. Border='0'
  36. Width='100%'
  37. AutoGenerateColumns='false'
  38. ShowFooter='true'
  39. GridLines='None'
  40. AllowPaging='true'
  41. OnItemCommand='Grid_OnItemCommand'
  42. OnPageIndexChanged='Grid_OnPageIndexChange'
  43. Runat='server'>
  44. <EditItemStyle CssClass='tableEditItem' />
  45. <HeaderStyle CssClass='tableHeader' />
  46. <ItemStyle CssClass='tableItem' />
  47. <AlternatingItemStyle CssClass='tableAlternatingItem' />
  48. <FooterStyle CssClass='tableFooter' />
  49. <PagerStyle
  50. Mode='NumericPages'
  51. HorizontalAlign='Left'
  52. CssClass='pager'
  53. PageButtonCount='10' />
  54. <Columns>
  55. <asp:TemplateColumn
  56. Visible='false'
  57. HeaderStyle-CssClass='tableHeader'
  58. ItemStyle-CssClass='tableItem'
  59. FooterStyle-CssClass='tableItem'>
  60. <ItemTemplate>
  61. <uddi:UddiLabel
  62. ID='key'
  63. Text='<%# ((DataRowView)Container.DataItem)[ "PUID" ] %>'
  64. Runat='server' />
  65. </ItemTemplate>
  66. </asp:TemplateColumn>
  67. <asp:TemplateColumn>
  68. <HeaderTemplate>
  69. <%# Localization.GetString( "HEADING_PUBLISHER" ) %>
  70. </HeaderTemplate>
  71. <ItemTemplate>
  72. <asp:LinkButton
  73. ID='name'
  74. Text='<%# Server.HtmlEncode( (string)((DataRowView)Container.DataItem)[ "name" ] )%>'
  75. CommandName='select'
  76. CausesValidation='false'
  77. Runat='server' />
  78. </ItemTemplate>
  79. </asp:TemplateColumn>
  80. </Columns>
  81. </asp:DataGrid>
  82. </asp:Panel>