all groups > asp.net > february 2004 > threads for sunday february 8
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Get an image from the web
Posted by Ashley at 2/8/2004 11:56:06 PM
Hi all
what is the easiest way to store an image from the (e.g. http://www.internetpage.com/testimage.jpg
in a bitmap in my asp.net application
A source code sample would be nice.
Thank
Ashley... more >>
Using WebRequest to get the rendered HTML of protected page, returns login page
Posted by jsausten NO[at]SPAM hotmail.com at 2/8/2004 11:51:58 PM
I have an ASPX report and I want to capture the rendered HTML and
write to a file on the webserver. Several posts suggest using
WebRequest to make a second call to the page, and screen-scrape the
resulting HTML. The technique typically described is:
'-- Get the current URL and request page
D... more >>
RegularExpressionValidator?
Posted by DC at 2/8/2004 9:43:22 PM
I have this snippet:
<tr>
<td align="left">E-mail</td>
<td>
<asp:TextBox id="txtEmail" runat="server"
MaxLength="100"></asp:TextBox>
<asp:RegularExpressionValidator id="revEmail" runat="server"
ErrorMessage="Enter a valid e-mail address"
ControlToValidate="txtEmail"
... more >>
ASP.NET: problem loading managed C++ DLL
Posted by NGM at 2/8/2004 8:56:05 PM
Hello All
I have a unmanaged C++ DLL, which has been wrapped up with a manged C++ DLL.
When i refer to this managed DLL in Windows form based applications it works out fine. But when i refer to the the same managed C++ DLL in ASP.Net application. [i.e, : ASP.NET --> TALW (managed C++ DLL) --> TAL... more >>
Server Forced PostBack
Posted by VB Tester at 2/8/2004 8:11:06 PM
Hey All
I have an interesting question. I have a WEB application that requires an "Active" data connection. For example, the client application makes a request to the database. Throughout the "Session", if any changes are made to the data that the user has, the server should force a PostBack
In ... more >>
Dynamically loaded user control events not firing on first click
Posted by Earl Teigrob at 2/8/2004 6:39:58 PM
PROBLEM:
When a user control is loaded into a PlaceHolder control more than once, the
events do not fire on the first click of a control on the dynamically loaded
user control. In other words, the first time the control is dynamically
loaded, everything works fine. After that, if the control is ... more >>
Session Variable Set to Nothing on Postback?
Posted by Thanks at 2/8/2004 5:14:54 PM
Why do my session variables get blown away on a post back?
... more >>
Update a null value into database
Posted by Hai Nguyen at 2/8/2004 4:35:21 PM
I have this piece of code, I want to set this parameter could be a null
value:
OleDbParameter myParam = new OleDbParameter ( "Description",
OleDbType.BigInt, 100 );
myParam.IsNullable = true;
myParam.Direction = ParameterDirection.Input;
}
It did not work on my Visual Studio .Net 20... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VERY IMPORTANT: Sharing
Posted by Yama at 2/8/2004 4:26:06 PM
Hello All
I have developed a new site using ASP.NET/VB.NET. I fell into a big problem. Here is the problem
I created a module as follow
Namespace FinancialCompany.Porta
Public Class myPropertie
Private _intCounter As System.Int3
Public Property intCounter() As System.Int3
... more >>
ShowModalDialog
Posted by martin koenig at 2/8/2004 3:49:58 PM
Hi
I'm opening an aspx page with javascript:
window.showModalDialog("mypage.aspx", "", "status:no");
In mypage.aspx I've got a button which shall first save the displayed record
in the C# code behind (this works fine) and if successfull, mypage.aspx
shall be closed (window.close).
Data sav... more >>
Losing web form event handlers in VS.Net 2003
Posted by Kevin Waite at 2/8/2004 1:26:09 PM
On many occasions (but without an obvious pattern), we (it's not just me!) encounter a problem with VS.Net losing event handlers for controls, e.g. the auto-generated this.button.click += new <handler stuff> gets dropped from InitializeComponent. The effect is that a web form that used to do somet... more >>
How to change the size of a modal browser window?
Posted by feng at 2/8/2004 1:04:05 PM
I am using the following JavaScript to diplay a modal
window:
window.showModalDialog('Open/QicWebError.aspx', " & _
"'_blank', 'height=380, width=520, " & _
"location=no, menubar=no, titlebar=no,
toolbar=no', true);
But the problem is that I can't set the size of... more >>
Combining message.BodyFormat = MailFormat.Html & message.BodyFormat = MailFormat.Text
Posted by mg at 2/8/2004 12:26:06 PM
I'd like to send a single e-mail message message that uses the escape character \n as well as the html tag <i> in the body
How can I combine the two parts of this merssage
message.BodyFormat = MailFormat.Text
String msgTextA = "\n\nFrom: Carol Johnson\n\nSent: Monday, February 9, 2004
messag... more >>
Cookie problem. Very strange!!!!
Posted by alkapin NO[at]SPAM hotmail.com at 2/8/2004 12:22:01 PM
Why is is happening????
3 lines of code:
1)if (Request.Cookies["test"] == null) // evaluates to TRUE (no cookie
from client)
2)Response.Cookies.Add("test"); // add cookie to send to client
3)if (Request.Cookies["test"] == null) // evaluates to FALSE!!!!
Why in the world adding ... more >>
How to Response and Go to specific area of a web page.
Posted by MS News (MS ILM) at 2/8/2004 11:30:21 AM
Hello,
How do I add some JavaScript into my Response
and make the page scroll to some specific area on my page in the Browser
when tired few thing it did not work at all
Any help and sample code, appreciated
Jackie
... more >>
Client computers IP-address?
Posted by Alexander Duerloo at 2/8/2004 11:24:39 AM
How can you know the IP-Adress of the client computer that is using the
ASP.NET application? I am making an application where users can log in to
the site, but the server must be able to associate the user's IP-Address
with a username. Can anyone help me?
Alexander Duerloo
... more >>
String.Compare\Browser Detect\VB
Posted by George at 2/8/2004 9:27:25 AM
VS.NET 2002\Web\VB
This is what Request.UserAgent returns for Mozilla Firebird:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
Firebird/0.7
Is there any reason why this shouldn't work to identify a visitor using that
browser?
If String.Compare(Request.UserAgent,... more >>
Enterprise Localization Toolkit alternatives?
Posted by guy at 2/8/2004 9:19:08 AM
I am wondering if the Enterprise Localization Toolkit meant for development or is it to be regarded
as a tutorial. Are there any other commercial or free products that will do this?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/entloctoolkit.asp... more >>
ASP.NET debugger shows wrong line
Posted by Anton at 2/8/2004 7:01:05 AM
I have a regular ASP application which I'm trying to port to ASP.NET
One ASPX page is ready and loads correctly.
I put a breakpoint into this page and hit F5.
Debugger opens IE and gets to the breakpoint
Now when I use F10 or F11 in order to continue debugging, the debugger advances to wrong lin... more >>
Website Templates
Posted by jazztol NO[at]SPAM hotmail.com at 2/8/2004 5:49:48 AM
Hello,
I have this very bug web site with alot of functionality.
The thing is that i need to make the web site so configurable that i
don't know how. The rquierment is that every major control in the web
site can be configured about the look,position and other stuff.
What is the best approach... more >>
keypress event of TextBox - WebForm
Posted by mg at 2/8/2004 5:21:07 AM
What code (javascript) will cause a WebForm to be submited (runatserver) whenever a new character is typed into a TextBox from the keyboard?... more >>
difference between web applications and applicaitons
Posted by Timothy V at 2/8/2004 2:08:34 AM
Hi,
Could anybody tell me the differences between web applications (.aspx) and
applications (.exe)?
A url with some information would be great too.
Thank you in advance,
Timothy.
... more >>
How to Upload a file
Posted by Manu at 2/8/2004 12:55:05 AM
I want my user to upload a file to the site.
Let us say a word file to be saved in the database
for other users of the site to use.
How can this be done?
Is there a web control for that?... more >>
Object reference not set to an instance of an object
Posted by D Pahadsing at 2/8/2004 12:31:05 AM
i'm using asp.net 1.1 & ms access.
the ms-access database is placed in a separate folder with permissions set as belo
Administrator : full contro
ASPNET : full contro
user1 : full contro
& set to open in shared mode, no record locking
the file is also shared for user1 to insert/update the data... more >>
|