|
<%@ Page Language="C#" AutoEventWireup="true" theme="ControlsTheme" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="UserControls/HelpControl.ascx" TagName="HelpControl" TagPrefix="uchelp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Context Sensitive Help</title>
<link rel="Stylesheet" href="CSS/ContextSensitiveHelp.css" type="text/css" />
<meta name="Lang" content="Eng" />
<meta name="Author" content="CSC" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<script type="text/javascript" src="scripts\common.js"></script>
<script type="text/javascript" src="scripts\helpfunctions.js"></script>
<!-- Script to Avoid UnWanted Browser errors -->
<script type="text/javascript">
function handleError()
{
return true;
}
window.onerror = handleError;
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<uchelp:HelpControl ID="objHelpControl" runat="server"></uchelp:HelpControl>
<table width="100%" cellspacing="1" cellpadding="2" class="filter" border="0" id="tblFilter">
<tr>
<td id="Td1" class="label" onclick="javascript:GetContextSensitiveHelp('HelpTitle');" runat="server" >
<asp:Label runat="server" id="lblTitle" Text="Title:"></asp:Label>
</td>
<td align="left">
<asp:TextBox runat="server" ID="txtTitle" SkinID="Title" ></asp:TextBox>
</td>
<td id="Td2" class="label" onclick="javascript:GetContextSensitiveHelp('HelpWebsite');" runat="server">
<asp:Label id="lblWebsite" runat="server" Text="Website:"></asp:Label>
</td>
<td>
<asp:TextBox runat="server" id="txtWebsite" SkinID="Website" ></asp:TextBox>
</td>
<td class="label" onclick="javascript:GetContextSensitiveHelp('HelpURL');">
<asp:Label id="lblURL" runat="server" Text="URL:"></asp:Label>
</td>
<td>
<asp:TextBox runat="server" ID="txtURL" SkinID="URL" ></asp:TextBox>
</td>
</tr>
<tr >
<td align="right" colspan="6" style="height: 24px">
<asp:Button Text="Clear" CssClass="button" runat="server" id="btnClear" CausesValidation="False" OnClick="btnClear_Click" />
<asp:Button Text="Search" CssClass="button" runat="server" id="btnSearch" CausesValidation="False" OnClick="btnSearch_Click" />
</td>
</tr>
</table>
</div>
<div>
<table>
<tr>
<td>
<h1>Details of Browsed Sites</h1>
</td>
</tr>
</table>
<asp:GridView ID="gvBrowsedSites" CssClass="tableBG" runat="server" Width="100%" DataSourceID="accessBrowsedSites" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="title" HeaderText="Title" SortExpression="title" />
<asp:BoundField DataField="website" HeaderText="Website" SortExpression="website" />
<asp:BoundField DataField="url" HeaderText="URL" SortExpression="url" />
</Columns>
</asp:GridView>
<asp:AccessDataSource ID="accessBrowsedSites" runat="server" DataFile="~/Database/SampleDataBase.mdb"
SelectCommand="SELECT [title], [website], [url] FROM [BrowsedSites]"></asp:AccessDataSource>
</div>
</form>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.