all groups > asp.net > february 2007 > threads for sunday february 18
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
C# Event Code
Posted by AG at 2/18/2007 11:06:37 PM
Using VS 2005.
Usually I work in VB.NET.
In code behind when I need to add code to an event, I just select the object
in the upper left dropdown of the code window and then the desired event in
the upper right dropdown and the IDE builds the sub.
I am currently working on a project where ... more >>
page reload - how did they do this
Posted by Mr. SweatyFinger at 2/18/2007 10:49:59 PM
yes this is classic asp, but how do they reload the page without reloading
the banner?
http://skinet.realestate.gl/public/search/list.asp
thanks
... more >>
does anyone see what is wrong with my .gif download logic? no matter what image url i try it downloads a junk file that can't be opened in any paint p
Posted by dr at 2/18/2007 10:23:10 PM
does anyone see what is wrong with my .gif download logic? no matter what
image url i try it downloads a junk file that can't be opened in any paint
program.
System.Net.WebRequest myRequest = System.Net.WebRequest.Create(url);
System.Net.WebResponse myResponse = myRequest.GetResponse();
S... more >>
asp running on home computer
Posted by charles cashion at 2/18/2007 9:51:57 PM
So I have run into an application that my good
friend says, "you will need asp". so I found an
asp tutorial on w3schools, but it refuses to run
on my home computer (Microsoft Windows XP home).
So I searched google for somebody else with the
same problem.
There must be some other workaround.
... more >>
Creating an element in vb.net at run-time
Posted by Garg at 2/18/2007 9:15:19 PM
Please tellme how do I write vb.net code for the following code:
var opt = document.createElement("option");
opt.text = j;
opt.value = j;
document.all(elementname).options.add(opt);
... more >>
Absolute reference
Posted by John at 2/18/2007 7:31:57 PM
Hi
How can I set an absolute reference to site root in a page link so the
referenced page is always accessed from the site root folder?
Thanks
Regards
... more >>
asp:SqlDataSource
Posted by Jon Paal at 2/18/2007 5:40:04 PM
how does a querystring value get passed to the selectcommand statement of an asp:SqlDataSource?
<asp:SqlDataSource id="propertyDataSource" Runat="Server"
ConnectionString="<%$ ConnectionStrings:myConnectionString %>"
SelectCommand="SELECT * FROM [Properties] WHERE propertyid = @id " /> ... more >>
SetRawXML not working
Posted by WT at 2/18/2007 4:26:17 PM
Hello,
I am trying to update a configuration section for my web.config with
SetRawXml withoutr result.
I have given modfidy rigth to Network Services account which is running the
..NET2 pool in wich my application is running, here is my code:
System.Configuration.Configuration config =
(Sys... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
sorry: and now with subject: how to reuse function in any page of application?
Posted by michel at 2/18/2007 4:09:07 PM
Hi,
i defined a function (no matter what it does) in code-behind of an aspx page
like this:
Public Function myfunction(ByVal x As Object) As String
Dim tmp As String = x.ToString()
.......
Return tmp
End Function
Now i would like to use that function in any aspx p... more >>
OT: Hosting renewal app
Posted by MarkusJNZ NO[at]SPAM gmail.com at 2/18/2007 3:56:06 PM
Hi all, first of all, sorry for the off topic posting but I'm am sure
there are other developers out there with the same problem.
I have a number of clients who are charged a monthly fee (Six months
in advance) for their hosting.
The monthly amount varies from client to client as does the da... more >>
problems with WebClient
Posted by Giggi at 2/18/2007 2:47:46 PM
Hi!
I need to pass some strings via an HTTP POST from page1 (in my app) to
a page on another server.
I stored my data in a NameValueCollection and then sent it using
WebClient.UploadValues.
Everything works fine but if one of the string contains a european
character (=E8=E9=F2=E0=F9...) it's n... more >>
How to detect clientside modification of the text in an asp:button
Posted by WT at 2/18/2007 1:37:09 PM
Hello,
..NET 2, aspx, visual studio 2005.
I need to enable a button when text in a textbox is modified.
How to put some javascript code that will be triggered and enable the button
?
Thanks for help
CS
... more >>
What is the lifespan of a Page object?
Posted by David Thielen at 2/18/2007 12:47:00 PM
Hi;
When a Page object - the code-behind of an aspx page is created - what is
the lifespan of that created object? Is it tied to the session, the
request/response, or is it in a poll and reused for the next request/response
to that page from any session?
--
thanks - dave
david_at_wind... more >>
cross page postback: two postbackurl
Posted by Pao at 2/18/2007 12:12:20 PM
Hi all
I have two buttons that perform a crosspagepostback to two pages:
<body>
<form>
<div>
<table>
<tr>
<td>
<atlas:UpdatePanel>
<ContentTemplate>
<table>
<tr>
<td style="width:5%">
<asp:Button ID="bttR... more >>
can't see database tables
Posted by rodchar at 2/18/2007 8:39:05 AM
hey all,
what security config do i need to make my tables appear in the list on the
Add Connection dialog page? i'm logged into machine as administrator but i'm
not sure after that (please see quick screencast below).
http://www25.brinkster.com/rodchar/medtest.htm
thanks,
rodchar... more >>
URL direct
Posted by James at 2/18/2007 1:50:25 AM
Hello everyone,
I'm trying to do something which should be incredibly simple. I would like
to create an aspx page with one text box and one submit button on it. The
text box would allow a user to enter a word (or anything really.) Upon
submission, the browser would load a URL with the word str... more >>
|