all groups > asp.net > september 2005 > threads for wednesday september 14
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
JavaScript version of VBScript's formatting functions
Posted by Mark Rae at 9/14/2005 8:21:57 PM
Hi,
Does anyone know of a "definitive" source of JavaScript formatting functions
e.g. to format numbers, dates, currencies etc?
There are loads of examples on the Internet, of course, but I've yet to find
any which are 100% reliable.
Mark
... more >>
how to fire an event programmatically?
Posted by Verde at 9/14/2005 8:14:37 PM
This is admittedly an apparently odd request... but please indulge me if you
don't mind:
Suppose I have two <asp:Button.../> on a page (Button1 and Button2). User
clicks Button1 and triggers a PostBack. How can I then fire the click event
of Button2 during the same PostBack?
I know this ... more >>
ASP .Net Web Application "Connection Failure"
Posted by Nate at 9/14/2005 6:59:35 PM
Hello,
I have an ASP .Net Web Application running fine on 1 Web server. I
cannot seem to get a copy of it to run on a 2nd Web server. I receive
the error "Connection Failure" when I try to run the copy on the 2nd
Web server with no additional information. I can get a "hello world"
page (test.... more >>
help with datasets
Posted by rodchar at 9/14/2005 6:38:17 PM
hey all,
i have set the .DefaultView of my dataset.
how can i create a duplicate of the dataset with only the records in
..DefaultView?
thanks,
rodchar... more >>
Weird error with ASP.NET 2.0
Posted by Albert Pascual at 9/14/2005 6:38:11 PM
I always see this error when accesing any page in website I compiled in ASP.NET
Compiler Error Message: CS0433: The type 'Customer_CreditWizard' exists in
both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\creditjockey\34369bc7\745233b3\assembly\dl3\798e68b8\40272035_... more >>
Usign an OCX in an ASP .NET page
Posted by Jerry Camel at 9/14/2005 5:23:56 PM
I am writing an application that needs to access a USB card reader. I have
an .OCX that can interract with the reader, but I don't know how to use that
in an ASP .NET page. There is an event that gets triggered in the OCX when
a card is swiped. Then I need to get that info into certain text bo... more >>
using frames
Posted by PJ6 at 9/14/2005 4:26:55 PM
Some people told me to avoid frames completely when developing web sites.
The only substitantive reason I got was that "some browsers don't support
them very well". I've heard this for nearly10 years and one would think that
this problem has long been solved. Has it been yet or do I still have... more >>
ASP.Net (VB) DataList Control odd behavior ?
Posted by AndrewR at 9/14/2005 3:58:00 PM
Hey all,
Have a strange one here I don't understand....
I have a DataList control in an .aspx page. Inside the DataList's
<ItemTemplate> is a single LinkButton control. On the initial page load-up
I bind the DataList, and set the LinkButton's text and CommandArgument
values to the two ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
barcode encoder for asp.net
Posted by param NO[at]SPAM community.nospam at 9/14/2005 3:32:53 PM
Hi all, we have a need to barcode encode and display a record identifier
(number) both in html in the browser and through fdf in adobe acrobat in
realtime. Is this possible? Can anyone make any recommendations on software
to do this?
thanks!
... more >>
Automatically recreating control declarations
Posted by Nathan Sokalski at 9/14/2005 2:15:35 PM
My teammate on a project somehow removed all the control declarations in a
project. Since most of the control declarations are added automatically when
the controls are added, is there a way to have Visual Studio add them again?
(my project is ASP.NET/VB) Thanks.
--
Nathan Sokalski
njsokal... more >>
background thread after page is being rendered
Posted by NIan at 9/14/2005 1:54:38 PM
recently I have to create a search engine that will pick up stuff form
different external source. they will be divided into sections(tabs). My
idea is:
1. Multithread (Default Tab content with Highest Priority, rest with
low)
2. Once the default tab is done it will render the page
2. On the ba... more >>
Reflection - Method Name
Posted by Jim Heavey at 9/14/2005 1:35:15 PM
How can I use System.Reflection to retrieve the method name of the method the
application is currently executing?
Thanks in advance for your assistance!!... more >>
Debugger Won't Run On A Page
Posted by Jim Heavey at 9/14/2005 1:26:02 PM
Hello, I have a web application and I am unable to get the debugger to run on
a particular page. I place a "stop" on the page load, but the program does
not stop on the page load. If I go to another page in that application and
place a stop on the page load, it stops just fine. I am in the ... more >>
Windows Authentication with WebDav
Posted by John Smith at 9/14/2005 1:24:37 PM
Hey folks,
I'm trying to communicate with our Exchange server using WebDav to get the
User's personal contacts folder. Works fine if I hardcode their username
and password (obviously not an acceptable solution), but when I use
Integrated Authentication I get "(401) Unauthorized".
I've got ... more >>
input string not in correct format
Posted by amitbadgi NO[at]SPAM gmail.com at 9/14/2005 12:39:09 PM
Hi I am getting the following error while converting an asp application
to asp.net\
Compiler Error Message: BC30201: Expression expected.
Source Error:
Line 299:<li><a
href="add_individual.asp?x=<%=rs_offenderinfo.Fields.Item("STU_ID").Value%>">
Line 300: Edit Offender Informatio... more >>
Another Newbie Question
Posted by JackO at 9/14/2005 12:11:14 PM
I am experiencing an error when I run the following code:
Dim dsServer As New DataSet
Dim cmdServer As New SqlCommand
Dim sSelect As String = "SELECT tblServer.DNSName FROM tblServer WHERE
tblServer.ServerID = " & Integer.Parse(Request.QueryString("ID"))
cmdServer.CommandText = sSelect
cm... more >>
Copy Web tool does not copy sub dirs?
Posted by Steve Franks at 9/14/2005 11:12:35 AM
I think the Copy Web tool is a great idea but its implementation could use
improvement. Either that or I am using it incorrectly.
Basically I do not see any option to copy an entire site in one command, but
the docs say this exists. Does anyone know how to do this?
If I right click on th... more >>
HttpCookie.Domain
Posted by Craig at 9/14/2005 11:11:02 AM
I'm attempting to set the domain for a cookie I'm setting. The domain is not
getting set though. I need to do this because I'm setting the cookie on one
server, but it will be used on another domain. Is using the
HttpCookie.Domain property the way to go? Or is there another way to go
abo... more >>
Datalist and CSS positioning
Posted by Eric at 9/14/2005 11:07:04 AM
I have a page with some ASP.NET controls at the top and a datalist which
might include anything from 1 to 25 elements below them, all laid out
with absolute CSS positioning.
The problem I'm having is that when the datalist goes off the bottom of
the page and adds a scrollbar (which in itsel... more >>
Debugging a web service
Posted by Nick at 9/14/2005 10:55:36 AM
Hi there,
When accessing a web service via a web browser and invoking it via HTTP
is there any way to display debug messages on screen? I've tried throwing
an exception but that merely results in a HTTP 500 error. I've tried
logging to file but I don't seem to be allowed to and withou... more >>
Error in code
Posted by JackO at 9/14/2005 10:50:07 AM
I am experiencing an error when I run the following code:
Dim dsServer As New DataSet
Dim cmdServer As New SqlCommand
Dim sSelect As String = "SELECT tblServer.DNSName FROM tblServer WHERE
tblServer.IPAddress = " & Integer.Parse(Request.QueryString("ID"))
cmdServer.CommandText = sSelect
c... more >>
Book reccomendations please - developing Web Services
Posted by Owen at 9/14/2005 10:33:32 AM
Hi,
Again I'm looking for book reccomendations from you guru's.
I need something which tells me how to create and consume xml Web Services.
I want something which starts with your basic 'Hello World' web service and
then progresses on to more advanced stuff.
One more thing, I want the... more >>
Hide ASPX Extension
Posted by Matt at 9/14/2005 10:19:27 AM
I currently have a client that is okay with us using Microsoft development
products but do not want their customers to see the aspx extension on any of
the web pages. I played around with creating an HTTPHandler that masks the
fact that the URL's are not aspx pages. I wonder if anyone else h... more >>
"access denied" when writing to disk from vb.net
Posted by Loane Sharp at 9/14/2005 10:09:20 AM
Hi there
I'm using VB.NET and Office Web Components to access a SQL Server 2005
Express database and draw pictures on the fly in my ASP.NET application.
Using .ExportPicture to write the GIF/JPEG/PNG image to disk and then load
it into the page using the <IMG /> tag is probably not the tidi... more >>
Comparing Two DataSets
Posted by Will Lastname at 9/14/2005 9:49:54 AM
In one of the applications that I'm working on I have 2 sets of
functions that build different datasets.
Imagine 4 columns in a datagrid. Inside those 4 columns I have nested
datalists. Two of the datalists' datasources point to database A and
the other two point to database B. This effect all... more >>
Format Currency for label
Posted by VB Programmer at 9/14/2005 9:40:31 AM
I have a datalist that contains a label for each time to hold pricing info.
In the Access db everything is stored in a currency format. But, when the
label displays the info it's not in currency format, with 2 decimals, etc...
Any ideas how I can force the label to display a currency format?
... more >>
Sending text format email using SmtpMail
Posted by jakub.bauer at 9/14/2005 8:49:07 AM
Hi,
I have a table with in MS SQL database. A table consist a list of items
bought by a customer with, item prices, item nubers etc. I would like to send
an email with a list of items in the order in a text format file (not html
format using BodyFormat = MailFormat.Html). I am using stored ... more >>
syntax error while converting asp to asp.net
Posted by amitbadgi NO[at]SPAM gmail.com at 9/14/2005 8:38:05 AM
Hi guys, I am getting the following error in teh insert statement , I
am converting this asp application to asp.net, here is teh error,
Exception Details: System.Runtime.InteropServices.COMException: Syntax
error in INSERT INTO statement.
Source Error:
Line 118: MM_editCmd.ActiveConn... more >>
Unhandled Exception (does not look like it's happening within code
Posted by Craig831 at 9/14/2005 8:28:06 AM
First off, I apologize if this gets long. I'm simply trying to give you all
enough information to help me out. I'm writing (almost finished, actually),
my first VB.Net application. It's a forms application that is going to be
used to extract data from a legacy system (VSAM based mainframe f... more >>
Help, Please: Server Error in '/' Application.
Posted by JebBushell at 9/14/2005 7:35:06 AM
"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. "
T... more >>
check for null
Posted by WebBuilder451 at 9/14/2005 7:09:04 AM
Why will this not work?
it comes back with an error saying it can't work because the value is null
this is a dataset value retreaved from db and it is null.
call to check for null
Me.txtExtra1.Text = Me.MNS(.usrExtra1)
function to return a default value:
Public Function MNS(ByVal s As O... more >>
How do you make validators turn off with one button, not with another
Posted by COHENMARVIN at 9/14/2005 6:00:13 AM
I'm working on a project which has a screen with edit fields, and two
buttons on the bottom. One button says SAVE and the other button says
DELETE. I want to use validators on the fields, but the validators
don't make sense when a DELETE button is clicked.
It doesn't seem to be a good idea to ... more >>
Page layout settings
Posted by asad at 9/14/2005 4:37:17 AM
Hello,
I have some problem in Layout of my page, actually i have created a ASP.NET
user control file in which my site links has been generated. I want to put
this control on all of my pages but when i put this control in HTML table TAG
it ignoring that table and my page layout could not be ... more >>
printer dialog
Posted by rodchar at 9/14/2005 4:15:02 AM
hey all,
is there a way to bring up the printer dialog (File/Print) thru code in
asp.net?
thanks,
rodchar... more >>
regEx to validate a web url
Posted by franz at 9/14/2005 3:36:48 AM
hi guys,
which is the regEx code to validate a web url?? kind of
http://www.xx.xx
thanks
f.
... more >>
Error with DropDownList
Posted by Tim::.. at 9/14/2005 3:00:02 AM
Can someone please tell me why I can use selectedvalue but not selecteditem
in the following piece of code and how do I get around it???
Thanks...
Error...
Operator "&" is not defined for type "String" and
system.web.ui.webcontrols.listitem
Code...
Dim sMsg As String
sMsg += "Offic... more >>
custom attributes v2
Posted by Jimbo Jim at 9/14/2005 2:08:03 AM
As far as I can see there is no way to add any attribute to an object it has
to be one that is part of the control collection.
In a datagrid I would like to be able to give each row a unique id
(id="tr"+count)
For instance in javascript you can do this:
var myTD = document.createElement("tr... more >>
CallBack Manager - Masterpage
Posted by Sabine at 9/14/2005 1:39:03 AM
Hello
i make my first steps with the Callback Manager
for example
function Script_CalculateValues(result,context)
{
alert("test : \n" + result);
//document.forms[0].elements["txtHG"].value = "2test";
//document.all.txtHG.Value = "2test";
//document.getElementById("txtH... more >>
How to install font on user's browser?
Posted by dee at 9/14/2005 1:11:11 AM
Hi,
Is there a way to install font on user's machine?
Thanks.
Dee
... more >>
Print PDF from form
Posted by Beffmans at 9/14/2005 12:17:14 AM
Hi
I am looking ofr a way to get my pdf + xls documents in my webform so I
can print them?
thanks
B.
*** Sent via Developersdex http://www.developersdex.com ***... more >>
requiredfieldvalidator driving me nuts!!
Posted by Pat at 9/14/2005 12:00:00 AM
i have some checkboxes ,dropdownlist and radio button on a page...
When the user get to the radio button its has a question and a user must
select YES or NO
If Yes then a Textbox appears and the submit button appears too and i have a
validation on it and it must be filled.
If No it just shows ... more >>
Pictures on SQL Server
Posted by Johnny Emde at 9/14/2005 12:00:00 AM
Hello
I'am building an web application that enable users to get data stored in a
SQL Server.
My problem is pictures. How can I display pictures stored in SQL Server - In
the old days, I took the picture and saved it into disk and loaded from
here...
Kind regards
Johnny E Jensen
... more >>
Assigning IFrame Stream into a Variable
Posted by DOTNET at 9/14/2005 12:00:00 AM
Hi,
I want to assign the values which I have typed inside the IFrame (I used the
Reqeust("Iframesourcename")). Is it possible to get the strings in the
IFrame into a variable in ASP.NET(I'm using Framework 1.1)? If so please
inform how to assign it.
--
Thanks and Regards,
Senthil ... more >>
Pictures...
Posted by GTi at 9/14/2005 12:00:00 AM
I want to include some pictures within my ASP.NET 2.0 project.
This pictures are compilled in my dll as resources.
How can I display this pictures on the web without copying
it to the fysical disk?
Table1.BackImageUrl = "RES:BACKIMAGE.GIF";
Regards
... more >>
Site navigation code and database
Posted by Mark at 9/14/2005 12:00:00 AM
Hi, I would like my website to have a navigation system based on Category,
SubCategory where a Category can have one to many subCategories and a
subCategory can have one to many subCategories etc
I would like it to be database driven so a person can add a new category
after selecting a relevan... more >>
If Expression!
Posted by Adam Knight at 9/14/2005 12:00:00 AM
Hi all,
Having trouble with this expression.
Can anyone tell me what i am supposed to be doing?
If(Rdr("answer_url") <> System.DBNull.Value) Then
txtAnswerUrl.Text = Rdr("answer_url")
End If
Cheers,
Adam
... more >>
Making my Application Outlook safe?
Posted by Lars Netzel at 9/14/2005 12:00:00 AM
I've been asking before about similar stuff but I'm still stuck.
I need to access stuff in outlook from my program but do not want the "A
program is trying to access outlook... " warning.
I have gotten the tips to go for a lot of third party stuff but I cant do
that and besides if the thir... more >>
How to stop page_load when pressing button?
Posted by McGeeky at 9/14/2005 12:00:00 AM
I use page_load to call a stored procedure and populate the form. When the
user clicks the OK button on the form I have implemented an event handler
behind it (OKButton_Click()) that calls another stored procedure to insert a
record in the database then navigate to a success page.
However, ... more >>
Pictures 2
Posted by GTi at 9/14/2005 12:00:00 AM
Q2:
I have a control created in a Web Control Library.
This control have a picture that I create in-memory:
This is done at this link:
http://www.aspheute.com/english/20000728.asp
But how can I refer to a page that is not in my main project, but only i my
Web Control Library ?
Q3:
Wher... more >>
|