|
actually
i create a folder in my application and create a text file in that,
through the coding am showing content and updating the contents to the file.
now when i run this page from IIS and try to show the contents
it shows the cannot find the path
it takes the path from C:\windows\system32\SweetHomes\Documents\SweetHomes.txt
but mine in F:\SweetHomes\Documents\SweetHomes.txt
i could not find solution to change the path !!
self confidence+hard work=SUCCESS
|
|
|
|
|
when specifying the path
i give server.mappath("filename") now my problem solved...
self confidence+hard work=SUCCESS
|
|
|
|
|
Hi,
I m trying to send html emails to subscribed users. The emails images are on my server, path is set,email format is set to html emails, I can check html preview by debugging the emails seems to be perfect but in Inbox of gmail,hotmail or any other mailing service the images are not being displayed even after selecting show all images.
Dont know where I m going wrong.
Can any one please help me out?
Its badly needed.
Thanks in advance.
Vijay V.
Yash Softech
|
|
|
|
|
Any suggestions???
Vijay V.
Yash Softech
|
|
|
|
|
Hello Everybody
1. Customer click the login button from http://mydomain.com
2. After clicking the login button from mydomain.com it goes to https://anotherdomin.com/myfolder/login.aspx
3. If login successfull then it will automatic send back to mydomain.com with UserID and Name
Please tell me the way to do it.
waiting for your valuabale advice
Thanks in Advance
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
|
Thanks for your quick reply.
I am a bit confused because:
1. My secured folder is hosted into another domain
Eg: https://anotherdomain.com/myfolder
2. All my secure pages are inside myfolder. Eg. login.aspx
3. What I want to it is:
3.1 If log in successful then it will send back to mydomain.com
Sarfarj Ahmed
|
|
|
|
|
I don't know enough about your scenario to give you specifics, but if you have control of the source code for both domains, you can easily update the code to do what you need. If you don't have the ability to modify how anotherdomain.com works, then you will probably have to abstract the login process a bit. You would need to post back to your own login page, and inside of that make a request to the other domains login page, and handle the response.
If you do have control of the code on both domains, and both are ASP.NET, then I think that link I posted earlier can be helpful, if not solve your problem outright.
|
|
|
|
|
Hello,
Does anyone know how to populate a select control from asp. Or make a dropdownlist to look like one?
|
|
|
|
|
radupopescu777 wrote: Does anyone know how to populate a select control from asp. Or make a dropdownlist to look like one?
I didn't get your point? Can you please clarify your problem ?
|
|
|
|
|
i want a select control.
Example:
|
|
|
|
|
radupopescu777 wrote: Does anyone know how to populate a select control from asp. Or make a dropdownlist to look like one?
A DropDownList will always look exactly like a select, as that's what it's rendered as.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
If so how do i insert a item that is non selectable and bold witch in the select control is group?
|
|
|
|
|
I have an ASP page with asp labels controls on the .asp page. In the page code-behind these labels are not being reconized (error: the name lblCountry does not exist in the current context). First I displayed the ASP controls below. After that I show the code behind where they are not being reconized. I can view the asp page in the designer and all looks well. Can anyone assist?
ASP controls:
<table>
<tr>
<td>Customer ID:</td>
<td><asp:label runat="server" id="lblCustomerID" xmlns:asp="#unknown" /></td>
</tr>
<tr>
<td>Company Name:</td>
<td><asp:label runat="server" id="lblCompanyName" xmlns:asp="#unknown" /></td>
</tr>
<tr>
<td>Contact Name:</td>
<td><asp:label runat="server" id="lblContactName" xmlns:asp="#unknown" /></td>
</tr>
<tr>
<td>Country:</td>
<td><asp:label runat="server" id="lblCountry" xmlns:asp="#unknown" /></td>
</tr>
</table>
Code Behind:
lblCompanyName.Text = editTxtCompanyName.Text;
lblContactName.Text = editTxtContactName.Text;
lblCountry.Text = editTxtCountry.Text;
Thanks,
Steve
modified on Thursday, February 12, 2009 11:15 AM
|
|
|
|
|
Check if the protected global::System.Web.UI.WebControls.Label lblCountry; exists or not in aspx.designer.cs file. If not then add that line. It looks like the control is missing in the desinger file.
|
|
|
|
|
I moved the file from an example project and the file has no designer file. How can I generate a designer file for the asp file? Just create a new webpage and cut and past?
Thanks,
Steve
|
|
|
|
|
Why don't you create a new page and cut/paste the contents of aspx file, that will work
|
|
|
|
|
The answer above was correct. I just recreated the asp file and cut and pasted from the sample files and all is well.
Thanks,
Steve
|
|
|
|
|
Hi, I am planning to host my owns websites. and all are in .net with ms SQL, I want to by MS SQL 2005 but all about license in microsoft is so confusin, Question
If I want to Use the ms SQL only for websites, what version I should get?
Standard?
thanks
|
|
|
|
|
If you are hosting it on shared webserver then you dont have to buy it, just purchase the webspace and database space from the hosting company. else, if your database are less then 4GB then just install express edition its free. otherwise buy the standard edition.
|
|
|
|
|
asp.net in url image coding
|
|
|
|
|
|
Funny.
Dear god, this board is turning to sh*t. People just log on and type gibberish...
I didn't get any requirements for the signature
|
|
|
|
|
logu070 wrote: asp.net in url image coding
|
|
|
|
|
You have got to be joking. Look around you. Pay attention to the way that people phrase posts. They choose meaningful subject lines, and pose actual questions.
Normally I'd tell people to buy an ASP.NET book, but you may need to learn English first, or if that's not the issue, just give up.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|