|
Default Need Help with ASP.NET implementation of FCKeditor
I've got a page with the FCKeditor on it. The editor works fine,
however, since there is no documentation on ASP.NET implementations, I
can't figure out how to access the editor text in my C# code-behind. I
was about to experiment with some javascript that would put the editor
text value into a hidden text field so I could access it but that seems
like a goofy way of doing it. Help anyone?
|
|
|
|
|
|
Hello
Anyone please Help me in Solving the bug.I used below code when run locally(i.e visual studio 2005) The mail is sending properly.Wheres i Host in the Server and run.Its giving problem that failure in sending mail.
IN webconfig file
<appSettings>
<add key="MyMailServer" value ="mail.a4mgroup.com"/>
<add key="MyMailServerPort" value ="25"/>
</appSettings>
in form
<%@ import Namespace="System.Net" %>
<%@ import Namespace="System.Net.Mail" %>
Dim mMailServer As String
Dim mTo As String
Dim mFrom As String
Dim mMsg As String
Dim mSubject As String
Dim mPort As Integer
Dim strMsg As String
strMsg = "<table><tr><td>Simple Mail</td></tr></table>"
mFrom = Trim("info@a4mgroup.com")
mSubject = Trim("Your Purchase Detail")
Dim strMessage As String = strMsg
strMessage = "<html><head><title></title></head><body>"
strMessage = strMessage & strMsg & "</body></html>"
mMsg = Trim("Dear") & " " & name
mMailServer = ConfigurationManager.AppSettings.Get("MyMailServer")
mPort = ConfigurationManager.AppSettings.Get("MyMailServerPort")
Dim message As New MailMessage(mFrom, mTo, mSubject, strMessage)
Dim mySmtpClient As New SmtpClient(mMailServer, mPort)
message.IsBodyHtml = True
mySmtpClient.Credentials = New System.Net.NetworkCredential("it@a4mgroup.com", "it123")
message.Priority = MailPriority.High
mySmtpClient.UseDefaultCredentials = True
mySmtpClient.Send(message)
Catch ex As FormatException
Label14.Text = ex.Message
Catch ex As SmtpException
Label14.Text = ex.Message
Catch ex As Exception
Label14.Text = ex.Message
Finally
myReader.Close()
myConnection.Close()
End Try
Thanks in advance
Regards
Ebenezer
|
|
|
|
|
1 - don't double post
2 - please tell me that you don't have a variable called label14 ?
3 - obviously ths means there's a problem with your mail server. Do you get any more detailed feedback ? This this a mail server that should just work anywere ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello
Anyone please Help me in Solving the bug.I used below code when run locally(i.e visual studio 2005) The mail is sending properly.Wheres i Host in the Server and run.Its giving problem that failure in sending mail.
IN webconfig file
<appsettings>
<add key="MyMailServer" value="mail.a4mgroup.com">
<add key="MyMailServerPort" value="25">
in form
<%@ import Namespace="System.Net" %>
<%@ import Namespace="System.Net.Mail" %>
Dim mMailServer As String
Dim mTo As String
Dim mFrom As String
Dim mMsg As String
Dim mSubject As String
Dim mPort As Integer
Dim strMsg As String
strMsg = ""
mFrom = Trim("info@a4mgroup.com")
mSubject = Trim("Your Purchase Detail")
Dim strMessage As String = strMsg
strMessage = "<title>"
strMessage = strMessage & strMsg & ""
mMsg = Trim("Dear") & " " & name
mMailServer = ConfigurationManager.AppSettings.Get("MyMailServer")
mPort = ConfigurationManager.AppSettings.Get("MyMailServerPort")
Dim message As New MailMessage(mFrom, mTo, mSubject, strMessage)
Dim mySmtpClient As New SmtpClient(mMailServer, mPort)
message.IsBodyHtml = True
mySmtpClient.Credentials = New System.Net.NetworkCredential("it@a4mgroup.com", "it123")
message.Priority = MailPriority.High
mySmtpClient.UseDefaultCredentials = True
mySmtpClient.Send(message)
Catch ex As FormatException
Label14.Text = ex.Message
Catch ex As SmtpException
Label14.Text = ex.Message
Catch ex As Exception
Label14.Text = ex.Message
Finally
myReader.Close()
myConnection.Close()
End Try
Thanks in advance
Regards
Ebenezer
|
|
|
|
|
Have you figured this out yet?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I need to create T-shirt design web site in asp.net 2.0 .
i want to use ajax.
Any one have any idea about this?
can you suggest any reference .net website?
any one have part of the source code?
|
|
|
|
|
What do you mean by t-shirt design ? How is this something that should be done via a website ?
How do you want to use AJAX ? Do you even know what it is, or does it just sound cool ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Users should pick the t-shirt template and they can able to add pictures & text from the list.
Something similar to www.click-shirt.com .
I think its possible in ajax.
Any idea plz?
|
|
|
|
|
Your first step would be to understand things like AJAX before you start talking about them. No, you can't make a site like that with AJAX. That site is driven by flash. Do you know what AJAX is/means ? You could write a website for designing a t-shirt and use AJAX, of course. It would not look like the site you linked to.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
I am trying to update two table in a single query but its not working.
My query is as follow.
update Blog_Post,Blog_New set Blog_Post.Posttitle='This is post for database blog(updated)',Blog_Post.editeddate=getdate(),Blog_New.editeddate=getdate() where Blog_Post.blgid=Blog_New.blgid and Blog_Post.postid='4'
When i run this query in query analyzer it gives incorrect syntax near ','.. where i am going wrong please tell me.
Thanks.
Rahul
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
|
|
|
|
|
rahul.net11 wrote: Hi
I am trying to update two table in a single query but its not working.
You can't do that. Instead:
update Blog_Post set Blog_Post.Posttitle='This is post for database blog (updated)',Blog_Post.editeddate=getdate()<br />
where Blog_Post.postid='4'<br />
update Blog_New set Blog_New.editeddate=getdate()<br />
where Blog_New.blgid in (select Blog_Post.blgid from Blog_Post where Blog_Post.postid='4'
If you want to ensure consistency, use this inside of a transaction.
|
|
|
|
|
Thanks For help its working?
Can u tell me how can i use this inside transaction?
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
I use code for signout is:-
FormsAuthentication.SignOut();
FormsAuthentication.RedirectToLoginPage();
It redirect to login page.
But, my problem is that when I click at back icon,
it goes to privious page (like as after signin)..........
In web.config, I used Forms Authentication with name="COOK" loginUrl="Default.aspx".
How we can remove that problem ..
ajai
|
|
|
|
|
The problem is due to Cache you can't disable back button but think in Every page load check the user credetials if those are not present then redirect user to Login page
To disable the cache you need to add this lines this will disable the cache
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now);
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi all
i developed a web page using asp. I have a link button in my web page when i click on the link button i want display a list of item just like dropdown list can anyone help me to solve this prob
thanks in advance
|
|
|
|
|
Are you using Asp.NEt or simply asp ?
If you are using ASP then this is not right forum to post your query
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi
i create an asp.net page that get a series of input in xml when a request created.
one of this parameter is "Message" parameter.
my problem is when user send a message in unicode can not get it correctly. (i get ????? text instead of correct text).
how can i correct it. i think that must set character set.
i change in Web.config as follow :
<configuration>
<system.web>
<globalization
fileencoding="utf-8"
="" requestencoding="utf-8" responseencoding="utf-8" culture="en-US" uiculture="de-DE">
but my problem exist so!!!!!!!!!!!!!!!!
can you help me?
|
|
|
|
|
How do you get the input?
What do you use to read the data from the xml format?
How is the xml encoded? As UTF-8?
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Hi,
i would like to know how to fix my issue.
situation:
i've a little portal built for asp.net with web services, in a machine that's inside a windows 2003 active directory integrated and distributed in 2 geographic zone...this zones speaks both through a router vpn...
so, there are two machines involved in this case...one is the web server portal machine and another one is repository server located in other zone with his public ip (but it's also configured to speak inside the vpn lan)
however, normally inside this portal the user (after logged in) can download one or more files.
in the portal machine web.config i've setting up to point to another machine (that has a public ip) to download files from that repository ....my issue is to block anonymous access but grant access to asp.net user of machine portal....infact if i disable anonymous access, the user authenticated using asp.net user machine, cannot downolad or better it gives me the classic error of page not found....sure disabling the anonymous access nobody can access, but how can i block everyone to point the path directly to download files and permit to download them only inside my portal (after logged in) ?
|
|
|
|
|
just like this website:free.logomaker.cn
|
|
|
|
|
Let me get this strait. You want to create on every request a random animated image? Isnt this better to have a bunch of gifs and then show it via HTML
|
|
|
|
|
no,that's not my mean,the animated gif I want to create is according to the gif template I provide,changing the text in the image you input in the box dynamicly.
|
|
|
|
|
|
then how the above website realized?
|
|
|
|