|
hai,
i am doing newsletter concept.i want to know how to read mail in inpox.if you the answer replay to me...
thank you !
|
|
|
|
|
sugunavathysubramanian wrote: how to read mail in inpox.
Do you mean inbox?
If so you cant just read someone elses e-mails from an inbox.
Can you explain again what you want?
|
|
|
|
|
hai,
i am doing check mail.if mail go to inbox or, i had any failure notice in my inbox.that is a concept.if you kown the anser replay to me.
thank you.
|
|
|
|
|
hai,
i send list of mail to client email id.i check mail go to client inpox or i had any failure notice.
thank you
|
|
|
|
|
I'm not sure what you are asking is possible. You can send e-mail using asp.net but I dont think you can check if an inbox recieves new e-mail
|
|
|
|
|
hai,
i want do check failure notice in my inpox.
if it's possible or not,tell me now..thank you.
|
|
|
|
|
sugunavathysubramanian wrote: inpox
sounds nasty
|
|
|
|
|
Hi all im stuck and really cant solve this one here goes...
In asp ive got the following asp page that dumps a cookie with following name example "cronjé" when i read the name it reads fine after adding the nessary encoding type see below.
Dim Name, Result
Name = "cronjé"
Response.charset="utf-8" ' // important dont omit this.
Response.Cookies("TestCookie").Expires = Now + 60
Response.Cookies("TestCookie")("test") = "1"
Response.Cookies("TestCookie")("shopperName") = Name
Response.Cookies("TestCookie").Domain = "www.cookiemonster.com"
Result = Request.Cookies("TestCookie")("shopperName")
Response.Write(Result)
Output : "cronjé" this works fine as it dumps the cookie and reads it correctly no problem here.
Using ie cookie viewer the value looks like this "shopperName=cronjé"
My problem:
Im maintaing a asp.net website that uses this cookie, when it reads it it does not display the name correctly.
private void ReadASPCookie()
{
HttpCookie c = Request.Cookies["TestCookie"];
if (c != null)
lblName.Text = c.Values["shopperName"];
}
the output displays the name as "cronj%C3%A9" i dont understand why its doing this
i even tried doing the following with no result.
in the web.config i added the following encoding. still nothing
<globalization
fileEncoding="utf-16"
requestEncoding="utf-16"
responseEncoding="utf-16"
/>
i even tried setting the Response.Charset = "utf-8"; still nothing
Can someone plz help me ?
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
modified on Tuesday, July 22, 2008 4:43 AM
|
|
|
|
|
No promises, but instead of your:
Response.charset="utf-8"
try something along the lines of:
Dim enc As System.Text.Encoding = System.Text.Encoding.Default
Response.ContentEncoding = enc
You may want to try different encoding values, but I've found, certainly as far as writing text files is concerned, that explicitly setting it to "Default" solves these sorts of problems.
|
|
|
|
|
Problem solved
private void ReadASPCookie()
{
HttpCookie c = Request.Cookies["TestCookie"];
if (c != null)
lblName.Text = HttpUtility.UrlDecode(c.Values["shopperName"]);
}
Im not sure if HttpUtility.UrlDecode works for all special characters, but for now it solves my problem.
Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.
|
|
|
|
|
Hi,
I have an application, which is running successfully with no errors using the Visual Studio 2005 servere; i.e: no errors when I run my App. inside the VS 2005. BUT when I copy the files to be run using the local IIS, no data appear in the Combo Box.
any way, I've created an SqlDataSource to connect to some table in the Data base, and then added a combo box and linked between this combo box and the SqlDataSource.
As I told you, every thing is working well when I run the Application inside the VS, and the data appears correctly, but there will no data when I run the application using the IIS.
Any Idea??? Any one faced this before???
Kind Regards
OBarahmeh
|
|
|
|
|
obarahmeh wrote: using the local IIS
Is that on another server yea? i.e. not your local machine?
Is there an error when you see no data?
Have you tried displaying data in another control or creating a simple form to test the connection?
|
|
|
|
|
|
Why is this a .net question?
|
|
|
|
|
umeshdaiya wrote: to control other pc from server pc of that particular and after 1 hour there will be message to time up or extend time.
ASP.NET can't do this.
|
|
|
|
|
Hi All'
Here is exception detail that I'm facing. I write my own webservice and calling it locally.
"Exception Details: System.Net.WebException: The request failed with HTTP status 404: Not Found."
Thanks in advance
Regards,
chanzeb chaudhary.
|
|
|
|
|
Check to see if the service is properly registered and installed.
Does it works on a local machine ?
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
By crystalreportviewer, I'm viewing my report in my page. But If I change the zoom percentage, I am getting the report refresh again.
For instance, I am using 3 parameters and view button. After giving parameters and I am clicking the view button. Report is getting open. If I change 100% to 70% in the zoom, my report is getting hide. I have to click the view button again. Then only, my report is opening again with the 70% of size. What I want is, If I change the zoom percentage, I dont want to click the view button again. It should be opened properly. What I have to do for this. Tnx in adv.
Balasubramanian K.
|
|
|
|
|
Hi,
In Add New Item, I've selected crystal report and added in my project. In this crystal report returns some data when preview the report. Can anybody help me that How to use this report in my project. I want open this report when I click a button. I have added CrystalReportViewer also.
What I have to write code for this?
Balasubramanian K.
|
|
|
|
|
make an instance from your report.
send data to it using .SetDatasoure function.
using a crystallReportviewer show it!
sepel
|
|
|
|
|
Hi ,
all iam facing problem in displaying data from database into table control of asp.net 2.0 visually like this.
vehicleName T1 T2 T3 T4 T5.................................T8
CD -70
CD -70-1
Shahzore
Carry Van
i have to add time scale values from 8:00AM to 3:00PM with interval of 15 minutes to header row .
In the each row of table i have to display reservations against vehicle name .
First cell is the vehicle name and from second cell i have to start display the reservations.
give me hint that how i do this.
any help is highly appericaited.
Best Regards
Rameez
|
|
|
|
|
Ok, here's a simple/stupid question. Where do most people store string constants, for example informational/error messages, for their applications? I want to make sure they're somewhere that I can change the strings without having to recompile. I know some of the options are web.config, using resource files and System.Resources.ResourceManager, or storing the constant strings in a static class. What is used most often?
Note that I'm not worried about Internationalization/Localization, just storing the strings. I would like to be able to have html tags in the strings, though.
Thanks for any advice.
Scott
|
|
|
|
|
If you need to avoid re-compiling the application when you change it, keep it in an XML file. Write a class which reads this XML file and return the string.
|
|
|
|
|
1) I have one custom control Datepicker. In my aspx page I am using that custom control liek the below:
<asp:RadioButtonList ID="rbl" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1" onclick="ChangeA(this)">a</asp:ListItem>
<asp:ListItem Value="2" onclick="ChangeB(this)">b</asp:ListItem>
</asp:RadioButtonList>
<vv:DatePicker ID="Dp1" Text="StartDate" .../>
<vv:DatePicker ID="Dp2" Text="EndDate">
When the option"a" is selected I have to show the dp1, dp2. When "b" is selected, hide the Dp1, Dp2. So I have the Javascript like the below:
function ChangeA(theradio)
{
document.getElementById('<%=Dp1.ClientID%>').style.visibility = 'visible';
document.getElementById('<%=Dp2.ClientID%>').style.visibility = 'visible';
}
function ChangeB(theradio)
{
document.getElementById('<%=Dp1.ClientID%>').style.visibility = 'hidden';
document.getElementById('<%=Dp2.ClientID%>').style.visibility = 'hidden';
}
I am getting the error "Object required" . for the Dp1, Dp2. If I put the Text boxes insted of Dp1, Dp2 the Javascript code is working fine. How to set visibility for custom control.
2) I have Textbox for which visibility is set to False by design. How to set visibility True using Javascript. My page is having the Master page not HTML body.
For this also I am getting Object required error.
Thanks in advance
|
|
|
|
|
Hey guys, I know this is something really silly to ask but I'm too tired right now to look for it !
I want to have a password field, I can't use a TextBox because it doesn't have the part where I can set the character to dot or star, so I used HTML Input(Password) how can I access it ? I 've given it a name but it's not recognized by Visual Studio !
Mr.K
|
|
|
|