For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
Hello, i am in the process of learning ASP.net and ajax and i stumbled upon a issue. I made a web form application in which i have c# method for image upload and also a ajax function which is giving me issues.
When i run it i get this error in the chrome console:
Uncaught TypeError: Illegal invocation at e (jquery.min.js:4) at xb (jquery.min.js:4) at Function.r.param (jquery.min.js:4) at Function.ajax (jquery.min.js:4) at uploadImg (Default.aspx:33) at HTMLAnchorElement.onclick (Default.aspx:21)
I assume i didnt do the ajax call correctly, but i cant figure out the problem as im farely new in this field.
I am facing too many kill wait alerts issue with my web site.. If we are searching for more results or if response time is late then we are facing kill wait continuously.. Is there any way to avoid or close kill wait popups by using asp.net? If possible please let me know.. It is very helpful to me... Thank you in advance...
If you're not working over a particularly slow network connection, then you generally shouldn't be getting those. If you're getting that from trivial operations that would be a strong indicator that something is wrong with either the configuration or the code.
If you have business requirements for intensive, long-running operations then you might want to build a model that stores process results and queries those periodically.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
Are you referring to when the browser says something like "The page has become unresponsive?" If so, you need to optimize your code. Implement smaller paging of data or at least figure out what is causing so much slowness and then fix it.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
and, though the user receives his email, when I test my SMTP locally, the plain background image (600px x 600px) does not appear. In Visual Studio (2013), I don't get any errors. The image, emailBG.jpg, is in my Images folder in Solution Explorer, and the code I am using to send plain and HTML emails, and for the background image, is as follows:
Dim PlainMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello. To reset your password....Nothing, "text/plain")
Dim mimeType As ContentType = New ContentType("text/html")
Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("<pstyle......Nothing,"text/html")DimLogoAsNewLinkedResource(Server.MapPath("~/Images/emailBG.jpg"),"image/jpeg")'embeddedimageLogo.ContentId= "emailBG"myMessage.AlternateViews.Add(PlainMessage)myMessage.AlternateViews.Add(HtmlMessage)</<prelang="HTML">
Looks like the HTML version of your message has been truncated, so we can't see what styles you've applied.
And remember, if you're setting a background image for a <p> tag, it will be cropped to the site of that paragraph of text. You probably want to specify the <body> tag, and put the background image there:
Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("<body style=""background:url('cid:emailBG') no-repeat;"">...</body>", Nothing, "text/html")
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Hi,I want to use Skype for develop virtual classroom i.e. Online classroom In The Asp.net web application project with C#.So that when the time comes classes start Skype for all student in this class. I will be grateful to you if you provide any solution.
I have developed audio recording facility to my website.. But it is giving wav formatted base64string.. Can we convert wav to mp3 format or if possible can we reduce base64String size? Because internet explorer is supporting only mp3 files to play.. Is there any way to solve my issue?
Any suggestion will be useful for me.. Thanks in advance..
Thanks for your valuable reply and solution link.. I will go through on it once..
Is there any way to reduce size of the base64String..I am uploading mp3 file as base64String..It is taking too much time to upload.. I would be very grateful for any feedback you could might be able to give me.
I saw your code regarding "A New Task Scheduler Class Library for .NET" My question is, I want to create task on XP and later, Server 2000 and later with BootTrigger,LogonTrigger,DailyTrigger,TimeTrigger triggers. I am not able to create it on windows 10 using above code. Will you please suggest me required dll or required changes?
i searched google a lot still got no good explanation with example. mostly all write up is saying put is idempotent and post is not but i need a sample code which discuss or show idempotency of put method. so my request anyone can explain the put idempotency with example code or redirect me to right article link which discuss the same with example code. thanks
I want to redirect to Home.aspx page but I am getting this error message:"System.Web.HttpException: Response is not available in this context" in the line of Response.Redirect("Home.aspx"); Any idea on solving this?