|
Come now CP... No takers at all?
|
|
|
|
|
Hi
when I click on lnkAddTraveller link it always needs 2 times click on this link to execute lnkAddTraveller_Command event block.
How can I solve this problem.
lnkAddTraveler.Command += new CommandEventHandler(lnkAddTraveller_Command);
lnkAddTraveler.CommandName = "Hotel," + dtHotelInfo.Rows[i]["Id"].ToString() + "," + dtHotelInfo.Rows[i]["HotelID"].ToString();
private void lnkAddTraveller_Command(object sender, CommandEventArgs e)
{
//Code here
}
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi,
I have a javascript code for pop window. I want to pass values from this calling page to that pop window and similarly i want to send some data from that window to this called page.
Plz Help me.....
Thanks in advance!
Lakshmi
|
|
|
|
|
you can access a value in Poppup window using Parent page(using window.opener).
Cheers!!
Brij
|
|
|
|
|
blakshmi wrote: I want to pass values from this calling page to that pop window
just send as normal query string
window.open("mypage.aspx?querystring...");
blakshmi wrote: similarly i want to send some data from that window to this called page.
Use Window.opener or window.parent
cheers,
Abhijit
|
|
|
|
|
Can it is possible to fetch Client Mechine IP under Run Prosxy Server(Internet Distributive Envoirnment).I have written code
string IPAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"].ToString();
but it was return Proxy Server IP,but my moto to find out both proxy ip & Client IP.It is possible My Proxy server retrun Client Mechine IP.
Plz help me.
|
|
|
|
|
Probably not - your request has come from the proxy server...
|
|
|
|
|
I want to show all the dates of the current week on the page_load event .How can i do this.
Can any one help me.
Regards
|
|
|
|
|
This will give you all the dates in the current week - you will need to adfjust it depending on what your starting day is, this assumes Monday.
DateTime curr;
DateTime start = DateTime.Now.AddDays((int)DateTime.Now.DayOfWeek * -1);
for (int c = 1; c < 8; c++)
{
curr = start.AddDays(c);
}
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Great !!! a Small correction
insted of using
Ashfield wrote: curr = start.AddDays(c);
use
curr =start.AddDays(c).ToShortDateString();
5 from me
cheers,
Abhijit
|
|
|
|
|
Pleased to be of help.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hello,
I am developping a web application in which i need to retrieve attachments from inbox mails.
I am able to connect to exchange server (gmail) and also able to fetch inbox.
But not getting any idea to retrive the the attachment to my .aspx page.
So please help me.
Thanks in adavance.
|
|
|
|
|
Do you have GMAIL Api's for accessing GMAIL mail? you need those api .
cheers,
Abhijit
|
|
|
|
|
Hello Avijeet.
Actualy i am trying to connect to any exchange server.
For example i want to connect to my company webmail.
And to fetch attachments from my inbox mails.
Do u have any sugestion....
thank for answering me.
|
|
|
|
|
subrat4all wrote: Actualy i am trying to connect to any exchange server.
To which exchange server do you want to connect? Exchage server 2003 or 2007.
if your are trying to access Exchange 2007 Server, then you can able to do it easily. becuase Exchange 2007 provide Webservices for same (EWS ) . But its not possible using Exchange 2003, because it does not provide any such API's
Check This[^]
cheers,
Abhijit
|
|
|
|
|
well abhi .....
I want to retrieve the attachment... not to sendmail with attachment.........
So plz share your view.........
|
|
|
|
|
In which form Information passed from one ASP.NET page to another.
|
|
|
|
|
There are many ways to pass information from one page to another page like Querystring,session etc.
What do u exactly want to know?
|
|
|
|
|
Having looked at a couple of your questions here, i'd suggest maybe a book on ASP.net, or some tutorials (see www.asp.net).
This is fairly fundamental stuff, you'll need a decent grounding in it for any ASP.net development.
|
|
|
|
|
I have written the following code on selectionchanged event of calender control.SelectedDatesCollection theDates = Calendar1.SelectedDates;
foreach (DateTime selectedDate in theDates)
txtsun.Text = theDates[0].ToString("MM/dd/yyyy");
txtmon.Text = theDates[1].ToString("MM/dd/yyyy");
txttue.Text = theDates[2].ToString("MM/dd/yyyy");
txtwed.Text = theDates[3].ToString("MM/dd/yyyy");
txtthru.Text = theDates[4].ToString("MM/dd/yyyy");
txtfri.Text = theDates[5].ToString("MM/dd/yyyy");
txtsat.Text = theDates[6].ToString("MM/dd/yyyy");
It is working fine.
But i want the same output on page_load event also.how can i get this. can anyone help me.
|
|
|
|
|
I don't quite understand - you want the values selected by a user in a calendar control, but in the page load event?
|
|
|
|
|
Should be obvious - its for Psychics Anonymous, they did the selection before they went to the web site
Bob
Ashfield Consultants Ltd
|
|
|
|
|
how Find out Serial No of HDD who access my Web Application.I m using System.Management Namespace to Find the Client Mechine.This Application run on when it was running in Visual Studio.net (IDE) Envoirnment but when it was running on web server it is still nothing given to Response.
what is Problem
|
|
|
|
|
A web app cannot access the client in this way, it would be a wonderful way of spreading malware. It will work through the IDE as you are running on your localhost.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
because you cant read HDD Serial no of Client.
cheers,
Abhijit
|
|
|
|