|
there were some html tags surrounding the stupid " & S2LabelTitle.Text & " .....
|
|
|
|
|
I'm sure i can't be the only person experiencing problems with sending email within a corporate environment but I can't find any reference to my problems anywhere.
I've got an asp.net app running on a machine within our dev department. Because it's not a production server it has a restrictive policy applied to it.
If i log in as me and run CDO code from an exe it's all good I can send email via our company exchange server. If I try to get a service to send the email it won't send. ASP runs in a local machine account which has no exchange access and there is a firewall on the machine that stops port 25 outbound except for outlook and an exe name that i have got IS to permit.
If required i have my own colo server that runs hMailServer and I can set up a new account with username and password etc to send.
Does anyone have a neat solution to this problem? I'm sure i'm not the only person who has run into these issues.
Russell
|
|
|
|
|
I have an app with a socket connection, (tcplistener) than sends data every sec ex "0,34;1,65;2,564;...". I want to connect to it and view the data live over the net.. Will an ASP page work for this application? any ideas on where to get started? THANKS SO MUCH!!!
|
|
|
|
|
ASP isn't great for that kind of application as the browser tends to pull data down from the server rather than the server pushing it out.
I'd be tempted to use winforms and a TCP socket connection. You can then host your client app on a webserver if you need to be able to get at it from anywhere. Alternatively yo might prefer something like java web start although you might find that is something of a dirty word around here.
Russell
|
|
|
|
|
I used to have a javascript snip for this feature but I had lost it some how. Anyway, does anybody have this script to share? I am talking about the similar collapse and expand feature used in the articles in the code project website.
Thanks,
Steve C.
kstv@netzero.net
|
|
|
|
|
|
I need to display some information from a text file. The information being called in is between a lead in and lead out in the log. Here is an example of what the log file looks like.
<++++++++++++++++++++>
<RECEIPT>1234
INFO INFO INFO
INFO INFO INFO
1234</RECEIPT>
<++++++++++++++++++++>
<RECEIPT>4567
INFO INFO INFO
INFO INFO INFO
4567</RECEIPT>
<++++++++++++++++++++>
As an example I want to display just the INFO for receipt 4567 and not the <RECEIPT> lines or the <+++++> lines.
I have been playing with the readfile.asp page and it will read the entire file and display it now I just need to limit that to what is between the receipt lines.
Any help will be appreciated.
|
|
|
|
|
You can use a regular expression (with the RegEx class) to match the tags. Use a pattern like "<receipt>4567([\w\W]*?)" to get the info.
---
single minded; short sighted; long gone;
|
|
|
|
|
Please elaborate...I am unfamiliar with the RegEx class.
|
|
|
|
|
I am trying to upload one asp.net project on some other web server but it is giving me error,Server Error in '/ambertex.in' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
<configuration>
<system.web>
<customerrors mode="Off">
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.
<configuration>
<system.web>
<customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm">
Pls tell me what is the problem????????
GIRISH B SHUKLA
|
|
|
|
|
Do what it says, and re-upload your new web.config, and see what the error message is.
Fred
|
|
|
|
|
Hi Guyz,
I have a DataTable having 10 rows.
ID, FirstName & LastName are the Columns.
I did filtering using DataView.RowFilter=FirstName
The problem is...., I want to view all the records which comes below the resultant Row after filtering. (If the resultand Row after filtering is 4th in DataView, I want Rows from 4 to 10)
Guyz.., any solutions plz
thanx in advaz
nazeem
Mohamed Nazeem
Software Engineer
Bangalore
|
|
|
|
|
How can i send link as a mail in asp.net.when user clicks in that link i want to allow them to go to that corresponding page?.....
|
|
|
|
|
Hi,
Create and instance of System.Web.Mail.MailMessage class.
Set its BodyFormat = System.Web.Mail.MailFormat.Html.
Put "<a href='locaition'>link</a>" in its body.
and use send method to send it to the destination.
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi
i have a page for image upload and text boxes to along the page using the validator to validate the textboxes.
and want to open the my pop window (say successully done - my own page not the ok dialog box). when the image upload successfully.
once the user will click ok we need to redirect the parent page another.
Any help will really appreciate
Regards,
Srinandan
|
|
|
|
|
Hi,
Set window.parent.location.href = "newlocation" before you close the dialog window in javascript..
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
thank for response,
but first problem is that when we click on the button poup window is appear even the textboxes are blank even i am using the required field validator.
once the popup open the then the validator message also appear.
i want validate the textboxes if valid then popup should open
Thanks in advance.
Regards,
Srinandan..
|
|
|
|
|
Hi,
You should do this validation in javascript before opening the popup.
var val1 = document.getElementById("textbox1").value;
var val2 = document.getElementById("textbox2").value;
if(val1 != null && val2 != null)
{
window.Open();
}
Dont copy and paste my code coz it may have spelling mistakes.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
thanks for trouble with me.
but we have need to open the dialog box when the image upload successfully(when server code execeuted successfully)
Please help..
Regards,
Srinandan..
|
|
|
|
|
I have the master page having middle part as content template and on left and right
on master page I am displaying images which are changing on each refreshment.
In IE if I refresh the page it comes to master page pageload event (Postback=false)
and executes the functions (for displaying the images right and left )in condition postback==false
In IE it comes ones on this page(master page) BUT IN MOZZILLA if I refresh the page it comes two times on pageload and execute that functions two times on page load of master page....and changed images that i bind to repeater to display is not diplayed ...
sandeep shirgaonkar
eway software
|
|
|
|
|
I have a Infragisics data grid control in a web page. I want to show its contents alone in a separate page upon clicking a button. Once the new window is shown i want to print the contents of the grid in the deafult printer. How can i do this one.. Anyone please help..
Thanks n Regards,
Umashanker.K
|
|
|
|
|
i'd like to program a wep Application i can record a sound from mic by it ??
how ??
what namespaces i should use ??
what controls ??
|
|
|
|
|
You can't do that with a regular web application. You need to create (or find) a component (like an ActiveX component or Java applet) that runs in the browser and does the recording.
---
single minded; short sighted; long gone;
|
|
|
|
|
Many of your messages are titled 'Help.' Please read the forum guidelines and name your questions more appropriately.
______________________
stuff + cats = awesome
|
|
|
|
|
Hi,
I designed a two-column layout website, looks fine in IE6. But if I try to open the same in Mozilla Firefox, the center column overlaps with Left column...
Meanwhile, I tried to change it to 3-column layout, it worked in IE & FF too.. could anyone please help me why my 2-col layout isn't working in FF? Do I need to do any changes in my code?..
Thanks in advance.
|
|
|
|