|
Easy way is to keep the domain name in some configuration file. Read from that configuration file while you send email. When you upload website to server, change this value to a valid one.
|
|
|
|
|
I didn't get this explanation. will you please explain. I detailed my problem down,
People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window.
I am using mail sending code and embeding the url as
http://domainname/virtualdirname
but when i click onto link in mail it opens blank page.
please provide me with the proper solution
thanks in advance
shamshuddin
|
|
|
|
|
try giving the system name in place of localhost, that will work irrespective of where the set up is installed...
whereas localhost will only work on your system..
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Its not a web setup program. We configuered it under IIS just by coping the folder. I detailed my problem as follows. I tried by giving name also but it doesn't work.
People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window.
I am using mail sending code and embeding the url as
http://domainname/virtualdirname
but when i click onto link in mail it opens blank page.
please provide me with the proper solution
thanks in advance
shamshuddin
|
|
|
|
|
meetshums wrote: People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window.
Whatever they use for opening you're link, it'll open up..
meetshums wrote: I am using mail sending code and embeding the url as
http://domainname/virtualdirname
Are you not providing a page name where this should redirect??
If not it will obviously open a blank page if youve not configured the iis for a default page..
Try giving the page name as the default in iis documents tab..
Or in the link directly provide the page name
something like this ...
http://domainname/virtualdirname/pagename.aspx
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi all,
I am building on community portal where I want to show members family tree.
The look should be totally as tree.
I have all relation database.
I thinking that xml and flash would be useful for this but not shure.
so if anyone worked for same before or have knowledge pls help me
Thanks in advance
|
|
|
|
|
|
Hi friends
I am getting an eror and gives following description
If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database.
can you tell me what I need to do ?
Thanks
|
|
|
|
|
Hi all,
I have created one webservice in asp.net 2.0 and using Web Service Extenstions 3.0.
To invoke any asmx page from client, client need to create a object of that asmx page and pass 1) Microsoft.Web.Services3.Security.Tokens.UsernameToken object 2) Client policy. This is working fine when I am consuming WebService from local.
I deployed webservice in Server machine on perticular port number.
If i invoke the webmethod from client gettting excpetion as '401 Unauthorized'.
If i follow same steps locally working fine.
coders, any idea on this. why WS is giving 401 exception when invoking from network
quick response will be appriciated.
Ramana
modified on Monday, June 9, 2008 2:38 AM
|
|
|
|
|
Hi inside my update panel i have a grid...,
In that how to fire the onrowcommand event?,
And selectionindex changed event?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Surely just put the commands into the gridview and they should call when the gridview is created?
We are not a Code Charity
|
|
|
|
|
i have a javascript function. i want when page load my function be run not with click a button. how can call my javascript function in c# code? dose anybody know?
|
|
|
|
|
RegisterStartupScript ?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
whats ur mean?
when my form in load i want call my function not with click a button or other event for example.
|
|
|
|
|
|
If you want to call javascript function on page load event,try out this line.
ClientScript.RegisterStartupScript(this.GetType(), "FunctionKey", "<script language="javascript">FunctionNameHere();</script>");
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thanks for ur help.
|
|
|
|
|
You can use this stuff and in page load call this fuction
private void ValidateControls()
{
control.Attributes.Add("eventName", "javascript:return JavascriptFunction(args);");
}
Bhumika
|
|
|
|
|
Call javascript function in Body Tag Onload Event .
In the Body Tag
Eg:
|
|
|
|
|
Hi in my grid first cell is button column,
from Second cell databoundcolumn,
When i am click the datboundcolumn the row contained values have to come on my textboxes, So i fired there <b>selectionindexchanged</b> event,
And, When i am clicking the button column it have to remove the row from the grid list(delete),So there i have to fire rowdatacommand event...,
Now my problem is when i am click the boundcolumn its firing the selection index change event, its ok,
But when i am clicking the button column also its firing the selectionchange event...,
But there i need to fire my rowdatacommand event,
How to do tat,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
|
How can i move a particular font to the client machine from server.Actually the problem is that i have a font installed on my server , when i try to access the web page with that special font , it does not show up wit that face . So , how can i move the server font to the client machine(while client is accessing the server)
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi,
After I change all control panel regional and language options to arabic text in VS.NET web applications appear in arabic except text in code-behind appear in something like Latin language.I try the same code in another computer and it wroks fine.Could any one help me to solve this problem?
I am too late but i will never give up
|
|
|
|
|
|
I have an xml file, with "any number of page nodes" each with 3 certain child nodes.
With the XMLDoc, I have read the contents of the pages' 3 child-nodes for purposes of populating a form with their values.
I added a "+" sign at the end of each of the 3 child nodes as I pass them into a string variable so that I can later split them into an array.
I know a "regular" string is passed the repective dimension of the recently split array, i.e.
Dim Page1 as string = split(AllPages(0), "+")
***********************************************************
Whats boggling my mind is the matter of the number of pages in the XML can be any number. I am able to pull the number of pages in that user's XML file via code, but I can not declare
Dim Page(x) as string = split(AllPages(i), "+")
because Page(x) is now an array which is not what it needs to be. It needs to be an ordinary string, but since I do not know how many pages a user has in his XML, I do not know how to dynamically create ordinary string to pass the split array. I know the code has to be:
Page1 = split(AllPages(0), "+")
Page2 = split(AllPages(1), "+")
and so on, but again, I do not know how many pages therefore I cannot declare,
Page1 as string
Page2 as string
etc...
*************************************************************************************
Anyone have a clue on what I should do? C# is fine, but VB is preferred. Thanks !
|
|
|
|