all groups > asp.net > may 2006 > threads for friday may 26
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 30 31
How do I fire a server side button click event from javascript?
Posted by Steve Kershaw at 5/26/2006 11:38:51 PM
Hi,
I need to fire a server side button click event from my client side
javascript. The client side javascript code follows:
<script language="javascript" type="text/javascript">
function myFunction()
{
var strname;
strname = prompt("What is your na... more >>
Logging out of a site
Posted by BobLaughland at 5/26/2006 9:17:22 PM
Hi There,
I am writing an asp .net 2.0 web site.
I have an asp .net 2.0 login control.
How can I programatically log someone out of the site.
Thanks,
Peter.
... more >>
Session not available across multiple servers if I use "InProc"
Posted by NAT at 5/26/2006 2:53:01 PM
I am using session mode as "InProc"(entered in web.config). I have deployed
my ASP.NET appln. on a server which uses Load Balancer. i.e I have two
servers.
I am using session across pages.The problem I am facing is that sometimes I
find the session and sometimes not. I beleive this is happen... more >>
timeout - ProcessRequest
Posted by kurtn at 5/26/2006 2:52:01 PM
I am having problems with a web form timing out. I have several text boxes
where the user can enter data to search by and a datagrid to display the
results. The problem is half of the time the search times out. I have
indexes on the search fields and some of the searches that timeout only
... more >>
Storing state in the service.vb class?
Posted by Robin Mark Tucker at 5/26/2006 2:21:04 PM
Hi, apologies for the cross post, if you also subscribe to the
aspnet.webservices group, I'm new to asp.net so I'm still finding the
newsgroup sweet spots ;)
Anyway, my question is, how can I store state on the server for each
instance of a proxy I use on my
client?
For example if I... more >>
Strategy for "your file is uploading" message
Posted by Jared at 5/26/2006 2:12:59 PM
I'd like to display a "please wait while your file is uploading" page
immediately after someone uploads a large-ish file. I know I could
make something really slick with DHTML, or even something semi-slick
using a hidden frame to post the form to. However, both of these
approaches carry browse... more >>
Server Error in '/' Application.
Posted by James at 5/26/2006 1:53:02 PM
Hi
I have a Access Database linked into details view. Everything works fine
when I click "View in Web Browser" and it is run on Local host. I can view,
add, edit records.
When I publish it, I can view records, but I cannot update or insert new
records. It gives the error
Server Error... more >>
Using SQL Server Multiple Times
Posted by Jerry at 5/26/2006 1:52:51 PM
I am creating an ASP.NET page that does the following:
The Page_Load event connects to the database to populate a dropdown
list.
The Button_Click event connects to the database to check if the record
ID already exists and if it doens't, it gets the highest ID.
Another connection inserts the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET pages hosting WindowsForms control interactivity
Posted by PHether at 5/26/2006 1:50:02 PM
SO, I have a WindowsForms based Usercontrol being hosted in a ASP.NET page
using the <object> tag method.
What I am trying to do now is have that control access the Session object of
the ASP.NET page.
If possible I would like to be able to do this without having to use the
<param> tags to ... more >>
Unable to open text file
Posted by tshad at 5/26/2006 1:20:03 PM
I am getting the following error when trying to open a text file:
Overload resolution failed because no accessible 'New' can be called without
a narrowing conversion
The code is:
*******************************************************
Dim objStreamWriter As StreamWriter
objStreamWri... more >>
Dynamically adding controls
Posted by Mike Lowery at 5/26/2006 12:16:16 PM
I have an ASP.Net page that simply generates a dynamic page using
Response.Write() statements to generate the HTML. This works great except that
one of the things I want to generate is a LinkButton. I know this can be done
by creating a Panel and adding it using Panel.Controls.Add(LinkButton... more >>
List off all files in a website
Posted by AAJ at 5/26/2006 12:12:37 PM
Hi all
Is it possible to programatically list all the .aspx files within the
currenty running website.
e.g. something like
foreach {aspxfile in AllaspxFilesInMyProject)
{
string filename = aspxfile.title;
}
thanks
Andy
... more >>
Precompilation Error
Posted by Balasubramanian Ramanathan at 5/26/2006 12:05:26 PM
I am getting this error while precompiling a website for deployment.
Errorstack information
error ASPRUNTIME: Object
'/c107cdc3_b65c_4b6c_9d8f_82fe5a457fdb/ctofbyvagqsbvrgsc7xzxa5o_9.rem'
has been disconnected or does not exist at the server.
[RemotingException]: Object
'/c107cdc3_b6... more >>
FormView items in a table
Posted by Peter Zolja at 5/26/2006 11:30:49 AM
Hi,
Is it possible to configure the FormView wizard (or any other way) to
generate the code inside a <table>? Right now, it seems to be putting each
element in a single line like "label" "asp control" <br />, what I would
like is:
<tr><td>"label"</td><td>"asp control"</td></tr>
Any idea... more >>
Images not displaying
Posted by James at 5/26/2006 11:18:02 AM
Hello
I have tried putting a simple jpg onto a page. I did this by selecting Image
from the tool box. Then in the properties I selected Image Url and typed in
"App_Data/image.jpg"
It shows when I am looking at it in design, but not when I publish it, just
shows the little box like it can... more >>
pass data (string) to aspx page - not in url
Posted by David Thielen at 5/26/2006 11:07:02 AM
Hi;
I have a IHttpHandler that is generating a page. If it throws an exception I
want to put up a nice page that is based on my master page so it looks good.
How can I redirect from my IHttpHandler to my handle_error.aspx page passing
it the exception in the request, not in the url. I woul... more >>
getting an XML STRING into a dataset?
Posted by darrel at 5/26/2006 10:45:48 AM
I'm grabbing an XML string from a database and trying to pass it into a
dataset.
I've read this article:
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=213
and have tried to implement it as such:
Dim strRdr As StringReader
strRdr = New StringReader(DS.Tables(0).Rows(0)("xml").ToString... more >>
Losing session objects
Posted by Not Me at 5/26/2006 10:18:18 AM
Hi,
I have a set of pages that use forms authentication for access. There
are times when one of the session objects I'm using appears to
disappear. The session is not timing out, however. (if I go to a page
that doesn't use that specific object it works fine and I'm not
redirected to th... more >>
Creating virtual directory in IIS using C#
Posted by sudhapadmas NO[at]SPAM yahoo.com at 5/26/2006 10:17:55 AM
Hello netters,
I was trying to create a virtual directory in IIS using the following
code:
System.EnterpriseServices.Internal.IISVirtualRoot vr = new
System.EnterpriseServices.Internal.IISVirtualRoot();
string sError;
vr.Create("IIS://localhost/W3SVC/1/Root",@"C:\Program
Files\Soft"... more >>
Problem with resources
Posted by Luigi at 5/26/2006 9:42:15 AM
I'm experiencing this problem in asp.net 2.0:
Using in a web form a literal control:
<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Localization,
RES_Literal1 %>"></asp:Literal>
when rendered the page always shows the default language text, ignoring the
current language, ... more >>
A lighter IIS-Asp.Net application.
Posted by craigkenisston NO[at]SPAM hotmail.com at 5/26/2006 9:22:08 AM
I'm creating a web tracking application using Asp.Net. The kind of
applications that remotely tracks visitors and paths to a website and
store the information in an external server to view reports.
I'm not even sure if this it is OK to use asp.net for this, somehow I
think it would be more fro... more >>
View Debugging Results
Posted by Jerry at 5/26/2006 9:17:11 AM
When I set up a breakpoint and debug I used to be able to view the
output at the bottom of my screen but for some reason that is no longer
there. How can I get that back?
Thanks,
--
Jerry
... more >>
How can I display a MessageBox in ASP.NET?
Posted by Steve Kershaw at 5/26/2006 8:34:01 AM
Hi,
I need to display a messagebox in ASP.NET that includes a textbox for
input. There must be an easy way to do this!
Thanks
Steve
... more >>
Gridview control and sorting a calculated templatefield column ?
Posted by markm75c NO[at]SPAM msn.com at 5/26/2006 8:30:22 AM
Does anyone know of a way to sort a column which isnt databound or an
actual field in the database, but is derived from a method?
IE. I have a grid showing stats for softball, with a calculated field
called AVG, I want to be able to sort based on AVG when they click on
AVG.
I can't seem to... more >>
Linking to file with spaces XP %2520 mess up.....
Posted by gregnowlives NO[at]SPAM yahoo.co.uk at 5/26/2006 8:15:22 AM
Hi i've created a simple website which allows our intranet users to add
files from shared drives on the domain and structure them on web pages.
(bit like sharepoint). These files are then displayed in a treeview
control as links to the file.
Anyway my problem is very annoying. What I've learne... more >>
How do I reference a child control withing main form?
Posted by ChanKaiShi at 5/26/2006 8:09:01 AM
Hello,
I have DetailsView control called "EmployeeDetails" with a bunch of fields,
one of thos is button called "btnAddEmployee" inside ItemTemplate . How do I
get access to properties of that button from within a main page?
Page.FindControl("btnAddEmployee") does not work,
EmployeeDetail... more >>
See If You Can Modify This Simple Regular Expression
Posted by Joey at 5/26/2006 8:06:34 AM
I currently have a regular expression that will match textbox input for
phone numbers formatted as ###-###-####.
The expression is...
\d{3}-\d{3}-\d{4}
How can I modify this to accept the same pattern (ten digits) OR
###-#### (seven digits)?
... more >>
cant find the solution
Posted by nizam at 5/26/2006 7:30:02 AM
Hi all,
i have a simple Problem. i have written a code in asp.net for sending email.
my code is working fine. but
entire body content is not going only 1000 bytes are going. above 1000 bytes
all are truncted. i want my mail message to carry >1000 bytes.
the error i think are as follows:
X-M... more >>
Invoking a setup / deployment project via the command line?
Posted by Wade at 5/26/2006 7:21:35 AM
Hey all,
I have a setup / deployment project that is used to create builds for my web
project. I can very easily invoke this manually, in the IDE, to get the
packaged MSI file.
However, I would like to be able to invoke the packaging of this MSI file
from the command line, so that I can... more >>
turn on personalization in ASP.net 2.0
Posted by Nandu at 5/26/2006 7:16:02 AM
Hello,
I am using membership and profile providers in my asp.net 2.0 website. Our
client uses a pre-compiled content management site and my code is added to
the site as user controls.
When i uploaded the new registration (createuserwizard) and login controls
along with web.config, I get the ... more >>
Gatherting a SQL Password from the user in a Web Setup project
Posted by Oldman at 5/26/2006 4:55:01 AM
I want to gather the information needed to modify the connection string to
the database during install time. I added a Text Box dialog to the setup but
it does not allow me to set the password character for the password text box.
So when you type the password you can see it. Is there a way ... more >>
dataset table name
Posted by Antonio at 5/26/2006 4:25:15 AM
hi i working whit ado.net2.0 have fill 3 data table to my dataset using
this code
Dim qry1 As String = "SELECT * FROM Employees;SELECT * FROM
Customers;SELECT * FROM Orders"
Dim da1 As New Data.SqlClient.SqlDataAdapter(qry1, cn)
da1.Fill(ds)
my question is :
can i set name of my dataset's t... more >>
opening asp.net webpage in ie
Posted by sasikumar at 5/26/2006 3:50:05 AM
i can't run asp.net webpage in internet explorer unless i run project
from visual studio 2005.
how i run say title.aspx page in internet explorer without starting
visual studio
... more >>
Access a website using localhost
Posted by (nick_nikh NO[at]SPAM yahoo.com) at 5/26/2006 3:03:48 AM
I have website on my local machine and SQL Server database on another server. When I run the website through Visual Studio.Net 2.0 IDE the site runs perfectly but when I try to access it through Internet Explorer, directly using
http://localhost/sitename/login.aspx it doesnt connect to the Sql Ser... more >>
pop up confirmation help me please
Posted by graphicsxp at 5/26/2006 2:36:34 AM
Hi,
I have a function in my code-behind (vb.net) that checks if the file
the user is trying to upload already exists on the server. At that
point I'd like to display a pop up saying 'Are you sure you want to
overwrite the existing file?'. If the user clilcks yes, the function
carries on.
How... more >>
Image Button and SaveAs
Posted by mfr at 5/26/2006 12:15:01 AM
(appologies for re-post, but my no-spam alias was not configured correctly).
Hi,
I'm using VS2005 to create a web site.
On one of my aspx pages I have an ImageButton that displays an image that is
created in a seperate page.
ImageButton1.ImageUrl = "EmbeddedPage.aspx";
The Emb... more >>
2.0: What Database Software?
Posted by JJ at 5/26/2006 12:00:00 AM
Looking for a database for the backend to my e-commerce web site that
doesn't cost the earth.
Planned on using mySQL but I gather that there is no connector compatible
with asp 2.0 available yet.
What other options do I have?
Thanks in advance,
JJ
... more >>
Could not find installable ISAM.
Posted by Dan at 5/26/2006 12:00:00 AM
Hi,
My global.asax contains this:
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim oConnection As New OleDbConnection()
oConnection.ConnectionString =
System.Configuration.ConfigurationManager.AppSettings("newres")
oConnection.Open()
Session("oConnection") = oConnection
... more >>
|