Click here to Skip to main content
15,885,985 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Integrate paypal button .. Pin
Krazy Programmer25-Apr-08 21:33
Krazy Programmer25-Apr-08 21:33 
Generalconvert pointer to a hand Pin
ptvce25-Apr-08 20:51
ptvce25-Apr-08 20:51 
GeneralRe: convert pointer to a hand Pin
gottimukkala25-Apr-08 21:04
gottimukkala25-Apr-08 21:04 
GeneralRe: convert pointer to a hand Pin
ptvce25-Apr-08 22:00
ptvce25-Apr-08 22:00 
QuestionCrystal Reports pritning problem Pin
Uma Kameswari25-Apr-08 20:25
Uma Kameswari25-Apr-08 20:25 
AnswerRe: Crystal Reports pritning problem Pin
Vasudevan Deepak Kumar30-Apr-08 1:48
Vasudevan Deepak Kumar30-Apr-08 1:48 
GeneralRe: Crystal Reports pritning problem Pin
Uma Kameswari2-May-08 21:27
Uma Kameswari2-May-08 21:27 
Questionwhat is the problem while it browsed in IE 7 with another tab in same window of IE 7 Pin
hiren dave25-Apr-08 20:07
hiren dave25-Apr-08 20:07 
hi ,
I m Using the master page and the content page in my application i m attaching both page's html. My problem is that when i was browsing this page in the IE 7 named PNTInformation at that time it was loaded perfectly but while i was using another tab in same window at that time this page was placing some blank space at the top at that point at where the content page is just started and the page was looking dull so pls give me the solution for that.


---Master Page HTML-----

<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!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 runat="server">
<title>GCM Master</title>
<link href="Common/StyleSheet.css" type="text/css" rel="stylesheet" />
</head>
<body class="MasterTable" style="margin: 0px">
<form id="form1" runat="server">

<table border="0" style="width:100%; height:100%" >

<tr style="height:1%">
<td>
<table style="width:100%;height:100%">
<tr>
<td style="width:10%;font-family:Tahoma;font-size:20pt;text-align:left;">
CMMView&#153
</td>
<td style="width:65%;vertical-align:middle;text-align:center">
<asp:Label CssClass="NormalMenu" runat="server" ID="lblTitle" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</td>
<td style="width:25%;text-align:right;vertical-align:middle">
<table cellspacing="3">
<tr>
<td style="width: 54px">
<asp:LinkButton ID="lnkChangePassword" CssClass="NormalMenu" onMouseover="this.className='HighlightMenu'" onMouseout="this.className='NormalMenu'" runat="server" ForeColor="#666633">Password</asp:LinkButton>
</td>
<td>|</td>
<td>
<asp:LinkButton ID="lnkChangeDetail" runat="server" CssClass="NormalMenu" onMouseover="this.className='HighlightMenu'" onMouseout="this.className='NormalMenu'" ForeColor="#666633">My Profile</asp:LinkButton>
</td>
<td>|</td>
<td>
<asp:LinkButton ID="lnkLogout" runat="server" CssClass="NormalMenu" onMouseover="this.className='HighlightMenu'" onMouseout="this.className='NormalMenu'" ForeColor="#666633">Logout</asp:LinkButton>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>

</tr>


<tr style="height:1%">
<td style="vertical-align:top;text-align:center">

<table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;text-align:left" id="tblMenu" >
<tr>
<td id="TDLeft" align="center">
<asp:Panel ID="Panel1" runat="server" Width="100%">
<table style="width:100%;height:100%">
<tr>
<td>
<asp:Image ImageUrl="Images/Manage.gif" id="btnManage" runat="server" Width="155px" onmouseover="this.src='../Images/Manage_over.gif';document.getElementById('ctl00_tblManage').style.visibility='visible';" onmouseout="this.src='../Images/Manage.gif'" Visible="false" />
<cc1:HoverMenuExtender ID="hmeManage" runat="Server" PopupControlID="pnlManage" PopupPosition="Bottom" TargetControlID="btnManage" PopDelay="25" />
</td>
</tr>
</table>
</asp:Panel>
</td>

<td align="center">
<asp:Panel ID="Panel2" runat="server" Width="100%">
<table style="width:100%;height:100%">
<tr>
<td>
<asp:Image ImageUrl="Images/Communications.gif" id="btnNotes" runat="server" Width="155px" onmouseover="this.src='../Images/Communications_over.gif';document.getElementById('ctl00_tblNotes').style.visibility='visible';" onmouseout="this.src='../Images/Communications.gif'" style="cursor: hand" />
<cc1:HoverMenuExtender ID="hmeNotes" runat="Server" PopupControlID="pnlNotes" PopupPosition="Bottom" TargetControlID="btnNotes" PopDelay="25" />
</td>
</tr>
</table>
</asp:Panel>
</td>

<td align="center">
<asp:Panel ID="Panel4" runat="server" Width="100%">
<table style="width:100%;height:100%">
<tr>
<td>
<asp:Image ImageUrl="Images/StateP&TInformation.gif" id="btnStateInfo" runat="server" Width="193px" onmouseover="this.src='../Images/StateP&TInformation_over.gif';document.getElementById('ctl00_tblStateInfo').style.visibility='visible';" onmouseout="this.src='../Images/StateP&TInformation.gif'" style="cursor: hand" />
<cc1:HoverMenuExtender ID="hmeStateInfo" runat="Server" PopupControlID="pnlStateInfo" PopupPosition="Bottom" TargetControlID="btnStateInfo" PopDelay="25" />
</td>
</tr>
</table>
</asp:Panel>
</td>

<td align="center">
<asp:Panel ID="Panel3" runat="server" Width="100%">
<table style="width:100%;height:100%">
<tr>
<td>
<asp:Image ImageUrl="Images/ContactAdmin.gif" id="btnContactAdmin" runat="server" Width="155px" onmouseover="this.src='../Images/ContactAdmin_over.gif';document.getElementById('ctl00_tblContactAdmin').style.visibility='visible';" onmouseout="this.src='../Images/ContactAdmin.gif'" />
<cc1:HoverMenuExtender ID="hmeContactAdmin" runat="Server" PopupControlID="pnlContactAdmin" PopupPosition="Bottom" TargetControlID="btnContactAdmin" PopDelay="25" />

</td>
</tr>
</table>
</asp:Panel>
</td>


</tr>
</table>
</td>
</tr>
<tr style="height:96%">
<td style="width:90%;text-align:left;vertical-align:top;">
<div style="height:90%;overflow:auto">
<asp:contentplaceholder id="phMaster" runat="server"></asp:contentplaceholder>
</div>
</td>
</tr>
</table>
<asp:Panel ID="pnlManage" runat="server">
<asp:Table ID="tblManage" runat="server" CellPadding="0" CellSpacing="0" BorderWidth="1" BackColor="White" style="visibility:hidden" />
</asp:Panel>
<asp:Panel ID="pnlNotes" runat="server">
<asp:Table ID="tblNotes" runat="server" CellPadding="0" CellSpacing="0" BorderWidth="1" BackColor="White" style="visibility:hidden" />
</asp:Panel>
<asp:Panel ID="pnlStateInfo" runat="server">
<asp:Table ID="tblStateInfo" runat="server" CellPadding="0" CellSpacing="0" BorderWidth="1" BackColor="White" style="visibility:hidden" />
</asp:Panel>
<asp:Panel ID="pnlContactAdmin" runat="server">
<asp:Table ID="tblContactAdmin" runat="server" CellPadding="0" CellSpacing="0" BorderWidth="1" BackColor="White" style="visibility:hidden" />
</asp:Panel>

</form>
</body>
</html>



-----ContentPage PNTInformation----------


<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="PntInformation.aspx.vb" Inherits="StateInfo_PntInformation" title="CMMView : P & T Information" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phMaster" Runat="Server">

<table cellspacing="0" cellpadding="0" style="height:440px;text-align:center" width="100%" border="0" >
<tr style="height:5%">
<td class="FormHeader" colspan="3">P & T Information</td>
</tr>
<tr style="height:1%">
<td style="width:100%">
<hr class="Line"/>
</td>
</tr>
<tr style="height:2%">
<td style="width:100%">
</td>
</tr>
<tr style="height:89%">
<td style="width:100%;text-align:center;">
<div style="width:100%; height:100%;overflow:auto;text-align:center;" runat ="server">
<asp:datagrid id="dgPnTinfo" runat="server" Width="97%" BorderColor="Black"
AllowSorting="True" AutoGenerateColumns="False" HorizontalAlign="Center" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
<SelectedItemStyle CssClass="TableCellSelected"></SelectedItemStyle>
<AlternatingItemStyle CssClass="TableCell"></AlternatingItemStyle>
<ItemStyle CssClass="TableCell"></ItemStyle>
<HeaderStyle CssClass="TableHeader"></HeaderStyle>

<Columns>
<asp:TemplateColumn HeaderText="State Name" SortExpression="StateName">
<ItemStyle HorizontalAlign="Center" Width="10%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:HiddenField ID ="hdnPNTNo" runat ="server" Value ='<%# DataBinder.Eval(Container.DataItem,"PNTNo") %>' />
<asp:LinkButton id="lnbStateName" runat ="server" Text ='<%# DataBinder.Eval(Container.DataItem,"StateName")%>' CommandName="AddP&T" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"StateID").ToString + "~" + DataBinder.Eval(Container.DataItem,"StateCode").ToString %> '></asp:LinkButton>
</ItemTemplate>
<HeaderStyle Width="10%"/>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Meeting Date" SortExpression="MeetingDate">
<ItemStyle HorizontalAlign="Center" Width="15%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>

</ItemTemplate>
<HeaderStyle Width="15%"/>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Committee" SortExpression="StateCode">
<ItemStyle HorizontalAlign="Center" Width="25%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>

</ItemTemplate>
<HeaderStyle Width="25%"/>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="PDL" SortExpression="StateCode">
<ItemStyle HorizontalAlign="Center" Width="25%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
</ItemTemplate>
<HeaderStyle Width="25%"/>
</asp:TemplateColumn>

<asp:TemplateColumn HeaderText="Comments" SortExpression="ExternalComment">
<ItemStyle HorizontalAlign="Center" Width="25%" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:Label ID="lblExtComment" runat="server" Text=' <%# DataBinder.Eval(Container.DataItem,"ExternalComment")%>'></asp:Label>
</ItemTemplate>
<HeaderStyle Width="25%"/>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>
</div>
</td>
</tr>

<tr style="height:2%">
<td style="width:100%">
</td>
</tr>
<tr style="height:1%">
<td style="width:100%">
<hr class="Line"/>
</td>
</tr>
</table>

</asp:Content>

Hiren Dave

AnswerRe: what is the problem while it browsed in IE 7 with another tab in same window of IE 7 Pin
Vasudevan Deepak Kumar30-Apr-08 1:50
Vasudevan Deepak Kumar30-Apr-08 1:50 
QuestionHow Can I store GridView in database? Pin
vishalcodeproj25-Apr-08 20:04
vishalcodeproj25-Apr-08 20:04 
GeneralRe: How Can I store GridView in database? Pin
N a v a n e e t h26-Apr-08 5:10
N a v a n e e t h26-Apr-08 5:10 
Generaldropdownlist loses its style on other control postback event. Pin
mohd imran abdul aziz25-Apr-08 18:47
mohd imran abdul aziz25-Apr-08 18:47 
Generaldynamic bind GridView Pin
jason_mf25-Apr-08 16:14
jason_mf25-Apr-08 16:14 
GeneralRe: dynamic bind GridView Pin
vishalcodeproj25-Apr-08 19:30
vishalcodeproj25-Apr-08 19:30 
GeneralRe: dynamic bind GridView Pin
jason_mf25-Apr-08 20:31
jason_mf25-Apr-08 20:31 
AnswerRe: dynamic bind GridView Pin
samMaster25-Apr-08 20:18
samMaster25-Apr-08 20:18 
Generalcreating an output file and manipulating the data in the output file Pin
Programmer9925-Apr-08 12:23
Programmer9925-Apr-08 12:23 
GeneralRe: creating an output file and manipulating the data in the output file Pin
Christian Graus25-Apr-08 20:23
protectorChristian Graus25-Apr-08 20:23 
GeneralSubmit Button and TextBox Pin
Ekjon25-Apr-08 10:19
Ekjon25-Apr-08 10:19 
GeneralRe: Submit Button and TextBox Pin
AlexeiXX325-Apr-08 14:10
AlexeiXX325-Apr-08 14:10 
GeneralRe: Submit Button and TextBox Pin
Ekjon25-Apr-08 19:02
Ekjon25-Apr-08 19:02 
GeneralRe: Submit Button and TextBox Pin
AlexeiXX326-Apr-08 7:20
AlexeiXX326-Apr-08 7:20 
GeneralRe: Submit Button and TextBox Pin
Ekjon26-Apr-08 8:19
Ekjon26-Apr-08 8:19 
GeneralCreating a Menu with the Menu object Pin
dptalt25-Apr-08 8:40
dptalt25-Apr-08 8:40 
AnswerRe: Creating a Menu with the Menu object Pin
samMaster25-Apr-08 23:44
samMaster25-Apr-08 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.