all groups > asp.net > august 2003 > threads for wednesday august 27
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
Problem with proxy class
Posted by John Knoop at 8/27/2003 11:34:57 PM
Hi
I've created a proxyclass from a .wsdl file. But the class uses namespaces
that I don't have on my machine, such as
System.Web.Services.Protocols.SoapHttpClientProtocol. It actually tries to
inherit that class. But I don't have IIS on my machine, so I don't have any
of the system.web names... more >>
How can I use dsn method
Posted by Mukesh Sanwal at 8/27/2003 10:38:30 PM
I have a dsn name "DSNMukesh", user id "mukesh", and
password "mksPass". how can I use this to connect to my
sql server.... more >>
records returned from datareader error
Posted by Davef at 8/27/2003 10:07:23 PM
I get an error at: If IsDBNull(dr2("tax")) Then
if there are no records returned. How can I deal with that?
Dim dr2 As SqlDataReader = Salestax.GetMachSalesTax(SalesCookieID)
dr2.Read()
If IsDBNull(dr2("tax")) Then
taxPercent.Value = "0"
Else
taxPercent.Value = dr2("tax")
End If
... more >>
VBScript to C# question
Posted by Mark Fox at 8/27/2003 9:45:14 PM
Hello,
I am porting some old ASP 3.0 VBScript code to
C#.NET and am not sure what the equivalent C# functions
are for a couple VBScript functions. So my first
question is:
1) Is there somewhere that lists old VBScript functions
and their equivalent C# functions?
More importan... more >>
Web.config explosion attempting custom section.
Posted by James Coe at 8/27/2003 9:38:00 PM
ARGH! Any ideas why this might be happening? The code I'm using comes
straight from the example in the VB.NET Help System. All I did was tweak the
name= stuff to match my application.
Server Error in '/ImageMaker' Application.
------------------------------------------------------------------... more >>
Reading from arbitrary web.config?
Posted by Microsoft at 8/27/2003 9:36:49 PM
I have a c# asp.net application. The application has many directories full
of images, and each directory has a web.config file containing information
about the images in that directory.
I'd like to be able to read the web.config of each directory from an aspx
codebehind in the directory above.... more >>
Overiding Page Class
Posted by Vincent V at 8/27/2003 9:33:20 PM
Hey im Overiding OnInit in my Custom Page class
What i want to be able to do is pass in Some Values
Ie PageID PageCategory, PageSubCategory
How can i pass in some Vairables So my Custom Page class can see these
Imports System.Web
Imports System.Web.UI
Imports System.Data
Namespace M... more >>
Organize projects & directories
Posted by Ravi Sankar at 8/27/2003 8:46:02 PM
Hi,
I m in the process of starting phase II of my web
application.
My phase I application dll is 1.5MB already. So if i start
to build phase II on top of phase I, i may end up with a
dll of size 3.0MB.
I m using VS.NET for development. I m thinking of using
two projects (one for phase I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Urgent MachineToApplication
Posted by Manish Parikh at 8/27/2003 7:37:39 PM
Dear All
I am getting the following error ! Its a sheer urgency please help
Server Error in '/laxmi' Application.
----------------------------------------------------------------------------
----
Configuration Error
Description: An error occurred during the processing of a configuratio... more >>
Radio Button List ---> onclick event. You can never know when the user clicked?
Posted by Leeor Geva at 8/27/2003 5:12:16 PM
did any of you guys notice when adding an onclick javascript to a Radio
Button List, it will get fired BEFORE the Dot is set if you click on the
Text for that particular Circle.
My onlick calls this function:
if (document.Form1.UserInfo_optStatus_2.checked)
{
....
}
I don't see much of... more >>
System.Web.Mail.MailMessage gets truncated
Posted by Bertus Dam at 8/27/2003 5:11:25 PM
Hi,
When I use System.Web.Mail.MailMessage to send an e-mail, my message gets
truncated. It's 12kB instead of 140kB.
How can I solve this??
Bertus
... more >>
Question: Function descriptions in yellow
Posted by VB Programmer at 8/27/2003 5:10:56 PM
I noticed that for build in class methods when you hit "dot" the function
lists show up and a brief description (for each highlighted method). In
VB.NET how can I do this for custom methods in custom classes?
... more >>
site info?
Posted by szabelin at 8/27/2003 4:50:11 PM
hello, I need to display the last time the site was
updated: I am trying to get FileInfo from web.config and
get a last modified year of 1600.
How do I get this info, is there a standard way?
Thank you... more >>
multipart/form-data Post
Posted by LD at 8/27/2003 4:20:28 PM
Hi,
I'm pulling my hair out!!
My problem is,
I need to automatically upload a zip file along with 3 other pieces of text
data to a web server and wait for it's xml response. Basically a
multipart/form-data post. I have tried it using a regular html form and it
works but that is no goo... more >>
VaryByControl
Posted by Justin Dutoit at 8/27/2003 3:59:12 PM
Hey. Exp. folks, I need to know, does VaryByControl cache based on the user
control's properties, or on a server control inside the user control?
I've read two sources which say that
VaryByControl="id" caches based on the properties of the user control, like
Public Property Something
... more >>
EVENTTARGET EVENTARGUMENT RegisterHiddenField
Posted by medhanush NO[at]SPAM yahoo.com at 8/27/2003 3:56:55 PM
Can sb pl tell me
When & how do you use
i) RegisterHiddenField()
ii) Hidden field EVENTTARGET
iii) Hidden fieldEVENTARGUMENT
I noticed ii) and iii) in the form.
Any docs pointing to this info
TIA
Kishore... more >>
Binding Data -- Show Item Once, Simple Question
Posted by Ron at 8/27/2003 3:50:17 PM
I need to display a list of categories and subcategories in a datarepeater
or datagrid. I only want to display one Category name, while showing all of
the Subcategories related to that category. For example:
***********************************
Category1
SubCat1, SubCat2, SubCat3, etc.
Ca... more >>
add a comma
Posted by Ryan Moore at 8/27/2003 3:30:01 PM
how do I format a databound field in a datagrid to place a comma for a
currency (eg 126,000)
I'm currently using:
DataBinder.Eval(Container.DataItem, "price", "{0:c}"
thanx
... more >>
any idea how to activate an ASPX page in another window by click on a button?
Posted by Hrvoje Vrbanc at 8/27/2003 3:17:13 PM
Hello all,
here is what I'd like to do: I have an ASPX page with certain buttons that
opens in its window, naturally. When any of those buttons is clicked, I'd
like the action to happen in another targeted window (with parameters passed
on) and that my original window remains unchanged. That w... more >>
Server.Execute
Posted by Ben at 8/27/2003 3:11:25 PM
Hiyo
I want to perform a programmatic server-side include, and I think that the
best way would be to use Server.Execute(path, optional textwriter).
Certainly ommitting the textwriter means that I can write to the output of
my page.
....however...
The content I wanted to append to the pag... more >>
Web.Config Question
Posted by Craig Pearson at 8/27/2003 3:11:05 PM
Hi
I have a web site that uses forms authenication. Once a user is =
authenicated their role is writtern into the ticket =
(FormsAuthenticationTicket), then into a HttpCookie object.
I have set up the following in web.config
<customErrors defaultRedirect=3D"GenericError.htm" mode=3D"Remote... more >>
creating a runtime web component
Posted by Bruno Palozzi at 8/27/2003 2:48:54 PM
Hi,
does anyone out the know how I can create a runtime web
component in asp.net.
For example, I am trying to dynamically create a text
input field in a vb.net aspx page, and embed it into a
table.
any help would be greatly appreciated.
... more >>
New window from LinkButton?
Posted by Frank Oquendo at 8/27/2003 2:38:58 PM
I need to be call up a new page from a hyperlink in a DataGrid.
Unfortunately, I'm not allowed to pass any querystring values so I
decided to use a TemplateColumn containing a LinkButton instead of using
a HyperLinkColumn.
Using the LinkButton, I can set session variables that the new page wil... more >>
dialog box and button
Posted by bob at 8/27/2003 2:27:34 PM
I have a button on a web form in which I am calling some
javascript. The button opens up another browser window as
a dialog box. The problem is that I do not want the page
to be resubmitted first to the server before the dialog
opens. I would rather it just open up. Here is the code
belo... more >>
Display Barcode font in web page...
Posted by Doug Swanson at 8/27/2003 2:19:58 PM
I need to create a report via a aspx page/datagrid and have the user be able
to print it out and have certain fields have the 3of9 barcode font....is
this possible in an aspx page (or for that matter html?) I know you can set
the font of the page etc.. but can the font of a particular field in a
... more >>
Lost InetlliSense
Posted by MS News (MS ILM) at 8/27/2003 2:01:13 PM
How do I get back IntelliSense
Lost IntelliSense in all Languages etc..
already went to Tools-Options-Text Editor-All Languages-General and made
sure that
AutoListMembers is checked, tried Ctrl-space, CtrlPeriod no luck
Restarted computer and VS.Net etc..
where else to look
Thanks... more >>
Tying the pieces (files) together
Posted by John Spiegel at 8/27/2003 1:37:01 PM
Hi all,
I'm working with the .NET framework and Web Matrix and am having trouble
finding how to tie together the files when deriving classes. What I've got
is a TestBase.cs file that defines a class derived from page. I also have a
codebehind file that I'm referencing from an ASP.NET page. ... more >>
session_onend event not firing
Posted by rob at 8/27/2003 1:36:02 PM
I've got code in my session_onend event that clears out
database entries based on the sessionID that just
expired. The code works in the development environment,
but doesn't work in the production envrionment. Anyone
have any ideas of what to check? No errors are being
reported, just no... more >>
IE error when running asp.net pages
Posted by Kathy Burke at 8/27/2003 1:23:46 PM
Hi, when I run asp.net pages, I get Internet Explorer (v6) error (not
the one that stops the page load, but with the triangle icon in the
lower left corner of the screen.
The message:
Line: 13
Char: 3
Error: Syntax error
Code: 0
URL: http://localhost/WorkingDir/pagename.aspx?refresh=true... more >>
How to create a bar chart
Posted by Mike John at 8/27/2003 1:11:19 PM
I am trying to create a bar chart where I control the x
and the y axis:
X values:
5
45
20
Y Values:
1
2
3
Any Idea on a creating bar chart
Sincerely yours
Mike John
... more >>
HowTo clear all ViewState from a WebUserControl without doing a PostBack ?
Posted by Andreas Klemt at 8/27/2003 1:06:00 PM
Hello,
how can I clear all ViewStates from a WebUserControl without
doing a PostBack ?
Thanks in advance,
Andreas
... more >>
smtp mail in asp.net -- Must specify FROM -- interacts with Exchange?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 8/27/2003 12:30:07 PM
Hi,
My first time trying to use the Mail class in asp.net. I've got some
standard code to use, but the class will be used in an intranet
application and we use Outlook.
How does my intranet app server, and the mail class, deal with the
separate Outlook Exchange server?
Do I need to set u... more >>
Stange effects?
Posted by Alexander M. Polak at 8/27/2003 12:23:50 PM
One of our students wrote on a vb web form
Public intIndex As Integer = 0
Private Sub btSet_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btSet.Click
intIndex = 2
lblOriginal.Text = "intIndex = : " & CType(intIndex, String)
End Sub
Private Sub btAdd... more >>
client-sided control
Posted by agb at 8/27/2003 12:19:08 PM
Hi
I need an example to understand the client-sided control
For example ;
I need a (I think a javascript code) in a ascx file
Then in a web form I want to write the Listbox1.selecteditem.text to the
textbox1.text
I do not have enough informtaion about this subject.
I heard about ... more >>
Directory based authentication
Posted by See Sharp at 8/27/2003 12:04:22 PM
Hello all,
I have a set of admin pages which are put in a subfolder called admin inside
my application folder.
I want to limit access to these admin pages.
How can I do this?
In Linux, I can password protect the directory, so that whenever a page
within the admin subfolder is accessed for ... more >>
Writing a text file
Posted by Eddy at 8/27/2003 11:31:04 AM
I have data in a datagrid, how can i write that data to a
text file on the users local PC in any location they want
thanks for any help given... more >>
asp Page events execute twice after PostBack
Posted by Jarek at 8/27/2003 11:14:22 AM
Hi!
I have a page containing datagrid. When datagrid is edited there is a
calendar. When I change the date for the first time all page events are
executed twice and:
when they are executed for the first time they are executed in response to
post back as it should be, but for the second time t... more >>
"Resolving" LocalHost ??
Posted by cmay NO[at]SPAM walshgroup.com at 8/27/2003 10:54:39 AM
What is going on here...
I have my site running locally on my machine, and when I don't have an
internet connection (like when Im on the train) I get this error when
I try to open an asp.net project:
"The web server reported the following error when attempting to create
or open the web proj... more >>
Fileupload problem with files larger than 1MB
Posted by cb NO[at]SPAM bbit.dk at 8/27/2003 10:50:49 AM
Hi
I have a problem with the uploading of files larger than 1MB.
My upload code look like this:
If Not fUpload.PostedFile Is Nothing And
fUpload.PostedFile.ContentLength > 0 Then
fn = Path.GetFileName(fUpload.PostedFile.FileName)
SaveLocation = Server.Map... more >>
I get this error
Posted by Mark S. at 8/27/2003 10:43:12 AM
The Specified Web Server Is Not Running ASP.NET Version 1.1" Error Message
When You Create ASP.NET 1.1 Application
The server is a Win2k. And it has the .net framework on it (can be seen in
add/remove programs) but I still cant create a Web App.
Thanks
Mark
... more >>
Flickering
Posted by vinay at 8/27/2003 10:14:26 AM
Hi,
I am facing this problem in my application.
I am using listboxes in my form.
for the left nav, i am using Usercontrol which has lot of
JAVASCRIPT with MOUSEOVER events.
When the mouseover happens on the leftnav, the listboxes
flicker?????
Other controls are ok.
why is that flic... more >>
Function Eval in C# to asp.net?
Posted by '[] WiRaN at 8/27/2003 10:06:58 AM
Hello,
I needing of function similar a Eval of Javascript,
One help me?
... more >>
Question: TextBox - Can't Align Center
Posted by VB Programmer at 8/27/2003 9:59:45 AM
I cant 'align center' a text box.
First of all, all the justifications (left, center, right) on the toolbar
are dimmed. Why?
Also, when I try to do it through HTML (wrapping the control in a <p
align="center"><asp:TextBox ...></p>) this doesn't work either.
Any ideas?
Thanks.
... more >>
Losing Session in a Popup Window
Posted by jimmy.junatas NO[at]SPAM usbank.com at 8/27/2003 9:59:14 AM
When we open a window (using client-side jscript ie.
window.open("/Site/Popup.aspx?...",...)) from Page1.aspx, the called
page Popup.aspx does not have access to the Session variables present
in Page1.aspx. The IIS Log shows (listed below) shows that the
ASP.NET_SessionId cookie is not present... more >>
String Array Manipulation Problem
Posted by Garfield at 8/27/2003 9:33:29 AM
Hello
I have a function that returns a string array. The string has a name =
and an ID number, they are separated by a comma.
I cannot for the life of me by using the string methods get to separate =
the two items.
Example.
The string array looks like, the array is called Trainee :-=20
... more >>
Newbie: Multiple codebehind files
Posted by John Spiegel at 8/27/2003 8:15:28 AM
Hi All,
I'm not certain this can be done but it sure seems like it. I'd like to use
multiple C# codebehind files in an aspx page. The idea is that a number of
common functions, like wiring data sources, could be done in a similar
fashion for various controls across multiple pages. What make... more >>
File Field
Posted by Eddy at 8/27/2003 6:37:24 AM
I am coding a ASP to process a excel file and output the
reults to a text file. To browse for the file that i want
to process i used the File field to return the location of
the file. My problem begins here when I click on the
browse it show me my harddrive and I slect the file and it
show... more >>
Page-load executing twice
Posted by mart at 8/27/2003 6:36:29 AM
I am experiencing a weird problem with some buttons on my
webpage. The page_load is executing twice when a button is
clicked.
If I replace the button for a Linkbutton the page_load
only loads once.
I've set the Autoeventwireup to false.
Could it be a framework problem ? On other com... more >>
Validation client javascript error
Posted by Gary Varga at 8/27/2003 6:30:04 AM
In the file WebUIValidation.js, when a postback that
doesn't fail the validation has a javascript error saying
summary is undefined in the ValidationSummaryOnSubmit
function. Page_ValidationSummaries has a length of 1 but
there are no array entries.
This is the line that fails:
summary... more >>
passing arrays to asp
Posted by ljilja at 8/27/2003 6:14:08 AM
Is it possible to pass array toa client side script from
server side?
my code is something like:
MyDropDownList.Attributes.Add("onChange", "MyFunc
(aFrom,DropDownList2, this.value);")
where aFrom is created in VB and it is two dimensional
array.
My script is
function MyFunc(aFrom,Filter... more >>
Problems displaying values using datasets
Posted by Geraldine at 8/27/2003 5:52:51 AM
In ASP when I have columns with data that I wanted display differently from
the values in the table it was a simple process.
I'd read the value from the recordset and then process the value with a
conditional statement then display in the HTML table the output I wanted the
user to see.
For ... more >>
CONVERT an ASPX page to a PDF file with asp.net c#
Posted by Steven at 8/27/2003 5:49:29 AM
Hi. I have a dynamic ASPX page written in C# that I want
to turn into a PDF file and store it for records. Please
help, because I am not sure where to start. Thank you.... more >>
viewstate to detect form change?
Posted by JJohnson NO[at]SPAM atl.invesco.com at 8/27/2003 5:47:18 AM
Is it possible use viewstate to detect if a form's data has changed? I
want to prevent duplicate submission of data.
Example:
On_click event of Submit button:
1. Save viewstate to session.
2. Insert form data into SQL db.
3. Now suppose the user submits the same form (no changes to data)... more >>
Listbox Behaviour
Posted by yop at 8/27/2003 5:35:26 AM
All
When I click on the listbox, it then fills the
corresponsing textboxes.
The screen gives a serious blink, not sure what this is,
I have the postback set to TRUE so maybe it is the
PostBack that is causing this?
Thanks... more >>
How do you get a seperate client process to talk to ASP.NET App
Posted by Greg Liles at 8/27/2003 5:22:57 AM
I've logged into an ASP.Net server through my browser. My browser runs
an activex control. The activex control starts an activex EXE that needs
to communicate to the server.
The problem is when the activex EXE tries to talk to the server, the
server redirects the request to the log in page. I'... more >>
Setting width
Posted by Jenny at 8/27/2003 4:56:02 AM
Hi all,
I have a page with 3 panels. PanelA at the top, PanelB in
the middle and PanelC at the bottom.
Can I size PanelA and PanelC to a width of 10 pixel whereas
the PanelB in the middle takes the rest of the (vertical)
space also if the client browsers window is resized??
Thanks for your... more >>
Checkbox returns wrong value when disabled
Posted by Paul at 8/27/2003 4:44:22 AM
Hi
I have a checkbox which I am disabling in clientside code.
On postback, when I try to read the checked value of the
disabled checkbox the checkbox property always returns
false, even if the checkbox is checked. Surely it should
still be true.
Any ideas?
TIA Paul.... more >>
edit datagrid with radiobuttonlist
Posted by Mike P at 8/27/2003 4:23:04 AM
How do you display a true/false field in a datagrid as a
radiobuttonlist? And how do you then edit it? I can do this easily
enough for textboxes and dropdownlists but I can't figure out how to do
it for radiobuttons.
Any advice would be really appreicated.
Cheers,
Mike
*** S... more >>
Flickering on Listbox control
Posted by yop at 8/27/2003 4:08:44 AM
All
I have a listbox control, when I click on my menu to drop
down an item the listbox flickers, any one come across
this issue before, I know these things could be machine
specific but maybe someone has seen this before.
Regards... more >>
Code behind with use of Abstract Factory?
Posted by winterdk NO[at]SPAM hotmail.com at 8/27/2003 3:49:48 AM
Hi all!
We're creating an administration for a web application. This includes
severeal aspx pages.
Our key entity in the web application is "Profile", which can have a
certain type.
Based on the profile type, the administration pages will have some
small changes, such as displaying a few e... more >>
PostBack IFrame src issue
Posted by Rhys at 8/27/2003 3:16:59 AM
I have a page which has an IFrame on it. The src of the
IFrame is a page with a datagrid on it. The Datagrid has
bound template columns. The columns of the datagrid pass
the bound data value of each cell within it to my code
behind file which generates the HTML to display the data
in a for... more >>
Date Validation
Posted by Kerri at 8/27/2003 2:38:13 AM
Hi,
I have an input box on an aspx page.
This allows a user to input a datre.
Does anyone know if there is a validation control I can
use to validate that (i) the valueinput is a date and (ii)
that it is in a certain format
I know I can achieve this using javascript but I want to
d... more >>
Label Contents
Posted by shail at 8/27/2003 2:20:34 AM
Sir,
I have a label control in web form, I want to adjust its
height according to the contents in it which are
generated dynaically and I want other controls position
should readjust according to labels dimensions. How could
I do it?
Thank You.
... more >>
radio button event in web form
Posted by John Davis at 8/27/2003 2:05:27 AM
I created a ASP.NET Web Form using VB.NET with a text box, 2 radio buttons.
When the user click the first radio button, the text will change to
uppercase. If the user clicks the other radio button, the text will change
to lowercase.
I added the following event, but still won't able to change t... more >>
how to remove user control
Posted by anshul at 8/27/2003 1:40:09 AM
Can any bos tell me how do i remove the user control from
a web worm using the code in page_Load event.
Anshul
anshul_it@yahoo.co.in... more >>
|