|
imagine a table with a row,two column on master page.
table width is contstant
first cell contains a Header Label
Second cell contains a Greetings Message Label
Greeting Message is contants for each page in web application.
but Header is set at the page load event of each Page inherited from master page.
i wanna lean Greeting message Label to right side of Header Label.
How can i do ?
<!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><title>
Untitled Page
</title></head>
<body>
<form name="form1" method="post" action="Default6.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNDcyNzY3Njg2D2QWAgIDD2QWBAIHDw8WAh4EVGV4dAUFZGVubWVkZAIJDw8WAh8ABRo8bWFycXVlZT5XZWxjb21lPC9tYXJxdWVlPmRkZD0SSw5QB1+A6TeCFC/vHSi8dhU8" />
</div>
<div>
<input name="TextBox1" type="text" value="denme" id="TextBox1" style="width:346px;" />
<input type="submit" name="Button2" value="ata" id="Button2" />
<input type="submit" name="Button1" value="Button" id="Button1" />
<table style="width: 700px">
<tr>
<td>
<span id="Label1">denme</span>
</td>
<td >
<span id="Label2"><marquee>Welcome</marquee></span>
</td>
</tr>
</table>
</div>
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAKzsMXJAQLs0bLrBgK7q7GGCAKM54rGBmx1oT2fU5q+sOR3MzYH/P3kbq7G" />
</div></form>
</body>
</html>
|
|
|
|
|
how to pass some message like: Total Size>100 MB
from web.config file to test.aspx page
means
I will write some message in web.config somewhere how to I dont know
then I want to access this in div tag or some where in aspx page only.
please tell me how to do it ?
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
The web.config file is not a good route for passing data from one system to another. The web.config file exists to hold onto configuration information that will change infrequently.
|
|
|
|
|
FYI this is one of the repeat offenders.
|
|
|
|
|
Hi,
How to know the country name of the user is visiting the website?
~JJ
|
|
|
|
|
Jagadeesh Jupalli wrote: How to know the country name of the user is visiting the website?
You could use a service that takes the IP address and gives you back information about WHERE that IP address is located. This may be inaccurate for smaller countries. For example my IP address is registered in England while I'm located in Scotland.
Or you could make an assumption based on the locale in the request string.
|
|
|
|
|
Hi Colin Angus Mackay,
Can you specify any web service that takes IP address and gives back information about WHERE that IP address is located. Any links or ref. would be of great help....
Many Thanks,
~JJ
|
|
|
|
|
|
Thank you very much this is very helpful.
|
|
|
|
|
by viewing the google analytics of a website you can found that
i also dont know how is that possible in asp.net
rgds
anee
|
|
|
|
|
We have a parent page which has got two usercontrols usercontrol1 and usercontrol2. Initially usercontrol1 will be visible=true and usercontrol2 will be visible=false. On click of a button in usercontrol1, usercontrol2 is made visible. During button click, both the controls page load shows ispostback as true. But after making the usercontrol2 visible, the page loads for the second time(both in parent page and usercontrol2), and the ispostback returns false. Please suggest.
|
|
|
|
|
Hello,
I want to display a hirarchical tree structure in form of a network graph, like a set of nodes connected with lines.
Does anybody knows a ASP.NET component which can handle it? I am still using infragistics´s charts for some other charts, but none of its features is able to display data as network graphs.
thanks
Nils
|
|
|
|
|
Dear Friends
I have used gridview in .net 2005.I find difficult in deleting the records.There is an Auto number Id that has to be hidden.For deleting purpose i want to get the Id.
In the user interface of gridview the auto number should not be known.
But i should get that id for delete option in gridview .net 2005.
I hope you will reply me fast
|
|
|
|
|
Add the id in to the datakey names then you can get this id while pressing the delete by
gridView1.DataKeys[e.SelectedIndex].Values[0].ToString();
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi...
I am using datalist. In dat i am binding abea ll like this...
<asp:label id="lblprice" runat="server" text="£(">]]>)'>
Now in codebehind, I am using OnItemDataBound event and want to check if its value is null..
I am taking this labels value in a string & comparing it to "" But the value dat comes in string is £(<%# DataBinder.Eval(Container.DataItem,"Cost","{0:n2}") %>). Nd i want the actual value to be checked. Plz tell me how to solve this...
|
|
|
|
|
write like this
<asp:label id="lblprice" runat="server" text="">]]>' />
This way your expression will be evaluated otherwise Eval will be treated as a string not as an expression
Nobody is perfect i'm Nobody
|
|
|
|
|
Since morning I am not able to access my database. It is marked as Suspect. The server was down in the morning and when it was on , I tried to access my database. However, now I am not able to access it. I even tried searching for the .mdf file. But, I am not able to find it. The size of .mdf is in MBs. I've no latest backup of my database. Now, if I dettach the database from the server or run sp_resetStatus commnad then, the database might not get recovered. So, please help. I need to fix it asap so that I could start my work.
|
|
|
|
|
Any eventlog indications?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi All,
can anybody help to get OsCommerce packags available in .net(Free version)
Thanks in advance
Jeeva mary Sayan
|
|
|
|
|
Did you do a basic Internet Search on the topic first?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hi,
Thanks for the reply.
i did the internet search, but most of the links go to the site
http://www.softpedia.com/get/Internet/WEB-Design/Web-Design-related/AspNet-OsCommerce-Free.shtml
and downloaded the freeversion from the above specified link.but there are some limitations in the freeversion (ie,we cannot do any changes in the database in the free version).
so can u please help me.
Thanks in advance
Jeeva Mary Sayan
|
|
|
|
|
Jeeva Mary Varghese wrote: we cannot do any changes in the database in the free version
You have found it yourself. The trial version or the free one is indicated to give the user as a taste of the application and then he ought to go for a purchase in case they want the full unhindered functioality.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
Thanks for the reply.
i seached here for ,but not getting a good version which is free(we need the free download of the oscommerce package)
If u are familiar with the oscommerce packages ,can u please guide me about it
Thanks in Advance
Jeeva Mary Sayan
|
|
|
|
|
Can we define multiple primary key in datatable in asp.net?
and how to find these primary key.??
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
What happened when you tried ?
|
|
|
|