|
Hi,
In master page i have header,menu,content placeholder and footer.On click of each menu items the header and footer are refreshing.i had enclosed the code and css file.
The header and footer must be fixed only the contents must change.Need help.
IFrame makes performance issues.
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="Main" %>
<%@ Register Src="~/Menu.ascx" TagName="HeaderMenu" TagPrefix="uc1" %>
<!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>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
<%-- <tr>
<td>
<table id="Table1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="headerleft">
<img alt="left" src="Images/PortalBanner_Left.gif"/>
</td>
<td id="Td1" class="bannerimg">
<img alt="" src="Images/Logon_Header_Image_SCF3.jpg" style="width:450px;height:50px" />
</td>
<td id="headerright">
<img alt="right" src="Images/PortalBanner_right.gif" />
</td>
</tr>
</table>
<table class="bannerimg" border="0" width="100%">
<tr style="font-size:small; width: auto; ">
<td style="text-align: left; padding-removed 10px">
<asp:Label ID="lblWelcome" runat="server" Text="Welcome " CssClass="hrefClass"></asp:Label>
<asp:Label ID="lblUser" runat="server" CssClass="hrefClass"></asp:Label>
</td>
<td style="width: auto; text-align: right;">
<asp:LinkButton ID="lnHome" runat="server" class="hrefClass" CausesValidation="false" >Home</asp:LinkButton>
<asp:LinkButton ID="lnLogout" runat="server" class="hrefClass"
CausesValidation="false" >Logout</asp:LinkButton>
</td>
</tr>
</table>
</td>
</tr>--%>
<div id="header">
<p><a href="http://blog.dampee.be/">Techspace</a>
<img src="Images/Logon_Header_Image_SCF3.jpg" alt=""/>
</p>
<span>About technology</span>
</div>
<tr>
<td colspan="3">
<div id="menu">
<uc1:HeaderMenu id="HeaderMenu1" runat="server"></uc1:HeaderMenu>
</div>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align: top; height:600px; width: 100%; background-color: White;">
<div id="content">
<div class="middle_blk">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
</td>
</tr>
</table>
<div id="footer">
<div class="footer_blk">
<div class="middle_blk">
<img src="Images/PoweredByASPNET.gif" alt="Powered by ASP.NET!" />
</div>
</div>
</div>
</form>
</body>
</html>
Thanks
S.Guhananth
|
|
|
|
|
you have already discuss for same
|
|
|
|
|
that did not work out,so that only posted again.
|
|
|
|
|
Hi,
You can put update panel for stop refresh master page.
|
|
|
|
|
Hi,
That idea will of using update panel will keep content page without refresh.
But,I want the header and footer to be fixed.I had tried but not working,
Plz help.
Thanks
S.Guhananth
|
|
|
|
|
|
hi friends
i am creating a signupform wherein there is a text area where by the user on the click of the text area he enters an editor and so what ever he types in the editor will be back in the textarea so how to do it...what editor to have...how to invoke the editor...
how to get the editor...
can anyone help me..
K.Gayathri
|
|
|
|
|
hi friends
i am using ajaxtoolkit...i am using editor from the toolkit
i need to know how to invoke the editor on the click of a textarea...
anyone to help me plz............
K.Gayathri
|
|
|
|
|
Is there any problem for adding Editor instead of textarea?
|
|
|
|
|
hi i have a textarea
on the click of the textarea i need an editor to popup...so how to do
hope u got my question...
K.Gayathri
|
|
|
|
|
|
hi
i am not able to open the links it says
server error:
404 - File or directory not found.
K.Gayathri
|
|
|
|
|
hi
thanks for the reply
i am actually doing:
i want an editor to be opened(as a new page say page2.aspx) on the click of a button or textarea and retreieve the values from the editor and get in inside the textarea in the first page.now on the click of the save button below the editor in page2.aspx the page should be closed and the values of the editor should be got in the textarea of page1.aspx
K.Gayathri
|
|
|
|
|
Hi,
I can't find some property in web service,
but if i write it anyway i'm getting this error:
'Property Name' is ambiguous because multiple kinds of members with this name exist in class 'WebService Class Name'
Can some one please help me???
|
|
|
|
|
Start here[^]. (bit slow but it will get there).
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Thanks for the reply,
O.K.
i really using VS 2005 with visual studio,
but i can't understan what i need to do in order to handle the case sensitive problem.
MSDN: 2.If you cannot rename the members in the defining type, remove the cited programming element from your code. You cannot access an element that appears to Visual Basic to have multiple definitions.
modified 14-Dec-11 8:46am.
|
|
|
|
|
Hi,
i m trying to fill my dropdownlist from dropdown object.
in my class
public DropDownList Bind_DdlBranch(int ZoneId)
{
DropDownList ddl = new DropDownList();
clsMasterBranch obj = new clsMasterBranch();
ddl.DataTextField = "testfieldname";
ddl.DataValueField = "valuefieldname";
ddl.DataSource = obj.MasterBranch_FetchByZoneId_DataSet(ZoneId);
ddl.DataBind();
return ddl;
}
here i m getting value in ddl object. but while i m trying to bind the ddl object to dropdownlist in my c# code
clsDropDownList obj = new clsDropDownList();
ddlBranch = obj.Bind_DdlBranch(3);
page was build with no error but drop down ddlBranch is empty...
Plz guyz help me to find out the mistek....
thanx is advance....
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
if
obj.MasterBranch_FetchByZoneId_DataSet(ZoneId); return DataSet then rty to find the index of table
e.g.
ddl.DataSource = obj.MasterBranch_FetchByZoneId_DataSet(ZoneId).Tables[0];
I Love T-SQL
"VB.NET is developed with C#.NET"
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
thax for reply....
but
obj.MasterBranch_FetchByZoneId_DataSet(ZoneId);
returning value to the dataset...
my problem is that
clsDropDownList obj = new clsDropDownList();
ddlBranch = obj.Bind_DdlBranch(3);
is not binding data to the physical dropdownlist.
where
obj.Bind_DdlBranch(3);
is returning the dropdownlist
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
Did you try to
Bind() ddlBranch control after you call function which return DropDownList
e.g/
clsDropDownList obj = new clsDropDownList();
ddlBranch = obj.Bind_DdlBranch(3);
ddlBranch.DataBind();
I Love T-SQL
"VB.NET is developed with C#.NET"
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
sorry.... i forgot to copy that line in my code...
but i have already do that...
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
First of all, How is your dropdown list added in the UI? Please make sure you are adding the same dropdown returned from the function in a panel or a table.
Secondly do check if your dropdown is filled while debugging in your function scope (Bind_DdlBranch in this case).
Hope that helps...
When you fail to plan, you are planning to fail.
|
|
|
|
|
I want to insert one value to sql database table.
when inserted, I want to check if this value is already stored in database table.
if the present value is already in database,
I want to show message box or something notification to user.
if the present value is new one, it will be inserted to database.
So, how to check for this condition?
I want to check the present inserting value against all inserted value in database.
|
|
|
|
|
If Not Existes(Select fieldname From tablename Where fieldname=yourvale)
Begin
End
Else
Begin
End
hope this will help
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
Hello there.
I have a web service which I know in working condition. I just modify it and want to test out. I run it in debug mode. IE appears and the address is http://localhost:2962/xmlService/Service1.asmx.
I am accessing the web service from a PDA. (I connect the PDA to my PC using ActiveSync.) However it cannot connect to the web service. I have searched the web and find out better to use the computer name. I change the address to http://mypc:2962/xmlService/Service1.asmx as my computer name is mypc.
And again, it fails. Error message: The remote name could not be resolved.
I even changed to IP address. Error: Unable to connect to the remote server.
I even use IE in the PDA to access both address. Both fails.
Please help.
modified 7-Dec-11 7:25am.
|
|
|
|