|
The web abounds with free javascript driven calendar controls.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I am writing a log in form for my application. When the user attempt to log in I want to record the IP Address in the database. Is there any way I can get the IP Address of a request from a web page? If yes, how?
|
|
|
|
|
try
Request.ServerVariables["REMOTE_ADDR"]
or
Request.UserHostAddress
|
|
|
|
|
That worked. Thanks!
Voltaire (1694-1778) wrote: I may disagree with what you have to say, but I shall defend, to the death, your right to say it.
Jörgen Sigvardsson , on the subject of Wikipedia, wrote: Some people believe what the bible says. Literally. At least you have the chance to correct the wiki.
|
|
|
|
|
Hello,
I am trying to call aspx page of other web application in content place holder of master page of share point.
But not getting exact way for it. Actually that aspx page contains masterpage attribute attached to it. And this master page attribute point to asp.net masterpage.
And I want to show such aspx pages to master page of share point application.
Will it possible? What could be the way? How to use session created by asp.net in share point pages?
Please help me for the same.
Sachin Gedam
(Software Engg.)
Pune India
|
|
|
|
|
hello
some one have a example of how i get de data from tree view and insert this in 2 table database
for guide me
thanks for the time
|
|
|
|
|
can u tell me how to parse a resume in the word document format which is sent to a company.ie i want to separate the fields like name,emailid,academic merit,skills and experience from a resume format data input
if u can plz tell me
shalumurali16@gmail.com
|
|
|
|
|
Go through each line and compare your search if its found store it or whatever you want to do.
|
|
|
|
|
hi
i was downloaded a sample website from this link : http://www.codeplex.com/MyWebPagesStarterKit
but when i copy this site to my IIS virtual directory and run it,the following error shown me :
...
Line 26: {authentication mode="Forms"}
...
how to solve my problem ?
|
|
|
|
|
Hai,..
Two Options there.. 1st is Change Authentication mode of "Forms" into "Windows"..
2nd is Check ur IIS Virtual Directory..
Regards n Thks
Sam.M
|
|
|
|
|
i have a form in which i put a fileupload control to upload a file and actually save its path in data base. now i actually want that when i upload a image that should also display on the form how can i do it and how i can display a image at runtime after getting its path.
and another question is how i can access a cs file variable in my aspx file. like if a image url and i want to set it as a src value of image how can i do it
like
in my cs file i have declare a variable
string myim;
and in aspx file how i will access it
thanks in advance
|
|
|
|
|
Hi all,
I want to diable users from pressing Alt+F4 during using my web application. I need to enforce them to log off.
Any ideas..
Thanks
|
|
|
|
|
You can't. Also, what happens if they are using a Mac, or a Linux box?
|
|
|
|
|
OK, i agree with u for the other browsers, but my need here is to override the Alt+F4 whe pressed to remove the sessions i created during the application. I.E is there a java script function that gives me the combination Alt+F4.
Someone gave me this but it aint workin
if (window.event.altKey && window.event.keyCode =="115")
{
alert ("You will be logged Out!");
window.open(url);
window.close();
}
this could work with me if iam able to redirect to another page when Alt+F4 is pressed.
Regards...
|
|
|
|
|
damage ur keyboard.
its all right.
|
|
|
|
|
That can't happen. Why do you NEED to have them "log off"?
|
|
|
|
|
There are two basic problems
1 - you want to do something that's impossible
2 - your overall design sucks.
You're writing a web app, that means the user can disappear at any time. You need to deal with that, no option.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
How do you intend to stop them from navigating to a different site? If you want to force them to go through a log-off then a web based application is not the model for you.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Dear All
I'm using vs2005 password recovery control and it's working fine when i'm not setting the BodyFileName property to a text file and i'm getting this email:
Please return to the site and log in using the following information.
User Name: Just3ala2
Password: 9MxHfy?wiFu;[N
I want to customize the email body that is received but i donno how to access the User Name and the Password that are returned
Can any1 help me with that?
Best Regards
3ala2
|
|
|
|
|
Got it myself
Thanx to me
For username <% UserName %> is used
Fro password <% Password %> is used
Best Regards
3ala2
|
|
|
|
|
Tell you what - seeing that you can't 5 vote for yourself, I'll do it for you.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Friends,
I am using GridView control of ASP.NET 2.0. I want to format date column in the format of dd/mm/yyyy (it is showing me time and unwanted format).
How can I do that?
Thanks.
|
|
|
|
|
Hi atul
you have to write code in RowDataBound event of gridview.
like this
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
e.Row.Cells[3].Text = Convert.ToDateTime(ds.Tables[0].Rows[e.Row.RowIndex]["BDate"]).ToShortDateString();<br />
}<br />
<br />
Pathan
|
|
|
|
|
Hi
try this
<ItemTemplate>
<asp:Label id=lblOwner runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Date","{0:dd/MM/yyyy}") %>></asp:Label>
</ItemTemplate>
trish
-- modified at 5:09 Tuesday 16th January, 2007
|
|
|
|
|
Thanks.
I got solution by adding this.
<asp:BoundField DataField=dREGDATE DataFormatString="{0:dd-MM-yy}" HeaderText="Reg. Date" HtmlEncode="False" />
Without giving HtmlEncode="False", date format is not working.
Wow !!
|
|
|
|