all groups > asp.net > september 2006 > threads for wednesday september 6
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
ActiveX control to enable in Toolbox in ASP.Net
Posted by Jayender at 9/6/2006 11:45:59 PM
Hi,
I have an ActiveX control (to display the Images),I have added the
reference of that in my web based applicaton .and added the ocx in my
tool bar , but the viewer (activex component- ocx ) is disabled , but i
tried this in Window based application, and it works great , but i need
to do it i... more >>
WSDL Generated Proxy Classes?
Posted by Arpan at 9/6/2006 11:34:41 PM
Web Services make use of proxy classes whose methods & properties are
accessed in exactly the same way as how a normal class' methods &
properties are accessed. So what for does ASP.NET generate proxy
classes (using WSDL) which consume more hard disk space & resources?
For e.g. consider the fo... more >>
Problem with .aspx file types
Posted by tshad at 9/6/2006 10:01:09 PM
At work we are setting up a new web site and had a problem with running a
page when using URL:
\\phoenix\cdrive\inetpub\wwwroot\hrworkshop\index.aspx
It would start up notepad to edit the file.
When I went to IIS and changed the default file to index.aspx, this made it
work fine.
At h... more >>
Error WDP00002 in Web Deployment Project
Posted by Grant NO[at]SPAM newsgroups.nospam at 9/6/2006 9:34:02 PM
Hi,
When using the web.config file section replacement functionality, we are
unable to replace any section other than appSettings. We have tried
compilation, system.web etc.
Our section replace code is
appSettings=stage.appSettings.config
compilation=stage.compilation.config
... more >>
POST
Posted by Stephen M at 9/6/2006 8:08:02 PM
Hi,
Between two aspx pages I want to post an ID. I have looked at several
exmples but have not been able to get a clear cut working solution. Can
anyone suggest a way to do this from the sending page to the receiving page?
Thanks for any help.
Stephen M... more >>
Parse FTP url
Posted by MarkusJNZ NO[at]SPAM gmail.com at 9/6/2006 7:51:27 PM
Hi all, does anyone know how I can parse an ftp url to retrieve the
server, login and password?
e.g. given a ftp url like
ftp://ftplogin:mypass@subdomain.domain.com
I can get out the following info
server = subdomain.domain.com
password = mypass
login = ftplogin
I can successfully ... more >>
ASP.NET Validation control generates javascript error
Posted by Vaibhav Shah at 9/6/2006 6:57:31 PM
Hi:
recently, we are facing a very strange problem on our production server. All
..aspx page in our application having validation control are producing a
javascript error.
Line 3
Chat 1
Error Syntax Error
Code 0
(1) could this be due to the installation of framework 2.0 on... more >>
Multiple Page Tiff
Posted by Kuldeep at 9/6/2006 6:19:07 PM
Hi All
I have a Base64 encoded string as a resultant parameter of a specific
webservice call.
This string is converted into a byte array and through this, I am saving it
as an image.
Now, even when I get a valid Base64 encoded string for a multiple page
image, I can only get the first pag... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET 2.0: Global.asax code-behind and web deployment project problem
Posted by Hardy Wang at 9/6/2006 5:43:07 PM
Hi all,
In order to solve code-behind of global.asax problem, I removed the code
from global.asax, and just leave one line "<%@ Application Language="C#"
Inherits="Global"%>" in this file. Then I created a CS file in App_Code
folder named Global.asax.cs:
public class Global : System.We... more >>
How to catch an error from a ASCX control
Posted by Fernando Chilvarguer at 9/6/2006 3:58:40 PM
I have a very simple test page that the only thing it does is render a
control.
This control generates and throws an error.
I need to catch the error on my ASPX page but I can't figure out where to
put my try/catch block to make it work.
Any ideas?
Thanks,
Fernando
... more >>
Need bin directory in my web to add httpmodule
Posted by JJA at 9/6/2006 3:43:56 PM
I'm trying to implement global unhandled exception handling with an
HTTPModule as described at
http://www.codeproject.com/aspnet/ASPNETExceptionHandling.asp.
I've downloaded and looked at the demo solution which creates a .dll in
its \bin folder and now I am wanting to follow the instruction t... more >>
pass dataset field to an int...
Posted by RAB at 9/6/2006 3:05:41 PM
I have filled a dataset with the following code in VB...
......
dim DataSet as System.Data.DataSet = new System.Data.DataSet
dataAdapter.Fill (dataSet)
dim MyInt as integer
I want to pass an integer field in my dataset to MyInt
but can't quite figure it out.
Any help would be app... more >>
How to let the user define search filters?
Posted by Terry Olsen at 9/6/2006 2:50:02 PM
I have an ASP.NET web page that can display about 25 columns of data from an
SQL database. I have it right now using a CheckedListBox to allow the user
select the columns for display in the DataGrid. I have hardcoded 3 columns
for filters and allow the users to type in to a TextBox the filter... more >>
Help, NullReferenceException
Posted by Jeff at 9/6/2006 2:26:52 PM
Hey
asp.net 2.0
The line "int selectedID =
Convert.ToInt32(gvQuestions.SelectedDataKey.Value.ToString());" in the code
below gives an NullReferenceException (Object reference not set to an
instance of an object.)
protected void gvQuestions_SelectedIndexChanged(object sender, EventArgs... more >>
Web App Design
Posted by John at 9/6/2006 2:03:49 PM
Hi there,
Can anyone point me towards a good article on the design of web apps? I've
read a good deal on Windows based design / architecture and UML modelling,
but I can't seem to find anything on web apps. I'm really after something
that will walk me through the process (ie "Write out Us... more >>
Column does not belong to table error
Posted by Mike at 9/6/2006 1:13:02 PM
We are using .NET 2.0 and intermittently egt the following errors on almost
all our web pages. The error is not repoducable and cycling the worker
process seems to temporarily fix the problems. Has anyone seen this or have
any suggestions?
Event code: 3005
Event message: An unhandled ex... more >>
Disco Not Compiling?
Posted by Arpan at 9/6/2006 1:03:15 PM
A Discovery file (residing in C:\Inetpub\wwwroot\ASPX\WEBSERVICES)
named "Calculator.disco" has the following code:
<?xml version="1.0" ?>
<disco:discovery xmlns:disco="http://schemas.xmlsoap.org/disco"
xmlns:scl="http://schemas.xmlsoap.org/disco/scl">
<scl:contractRef ref="Calculator.asm... more >>
WAP, VS2005 keeps changing my user control types!!
Posted by Tim_Mac at 9/6/2006 1:00:39 PM
hi,
i'm using a web application project in VS2005. i have a User Control
Template.ascx in the '~/UserControls' folder with the following signature:
public partial class GpTemplate : System.Web.UI.UserControl
I have the user control registered in web.config as follows:
<pages>
<controls... more >>
Ignore SqlBulkCopy errors
Posted by fingermark NO[at]SPAM gmail.com at 9/6/2006 12:26:55 PM
If it's possible, can someone tell me how I could ignore and log
SqlBulkCopy duplicate key errors?
So, if the bulkCopy.WriteToServer(dt); errors on duplicate key, I want
it to log what the row items that caused the error and then to skip
over this row... inserting the next.
... more >>
Page hang after updating web.config
Posted by Joey at 9/6/2006 12:14:17 PM
Hi,
I am using NFOP to generate PDF files from my web pages. The problem is that
when i change the web.config, the page that is using NFOP hangs.
I don't know if this is directly related to NFOP, however i would like to
know if i can make a workaround to solve this. Maybe by unloading the ... more >>
Howto inherit from an exisiting webcontrol in VS 2005
Posted by Guillaume Hanique at 9/6/2006 11:57:51 AM
Hi,
I feel very stupid. I simply want to derive a control from
system.web.ui.webcontrols.button and use that on my webform, but I just
can't get it done. Can anyone tell me how to do that?
I can create my own usercontrol (Menu: Website > Add new item... > Web
User Control). This creates ... more >>
Can not add SQLDataAdapter control to toolbox in Visual Web Developer
Posted by tom c at 9/6/2006 11:33:34 AM
In Visual Web Developer 2005 Express Edition, I want to use the
SQLDataAdapter control. It was not in the toolbox so in the toolbox I
did right click/choose items and added it. It shows up as a greyed out
item and I can not drag it onto my form. What is wrong?
... more >>
cannot get value of dropdownlist from postback
Posted by Kevin Blount at 9/6/2006 11:31:10 AM
I have a test script right now that I'm fighting with. The idea is to
"simply" have an aspx page with 3 panels, to show 3 "different" forms
and then a 4th panel to show the results of processing these forms.
One of the panels will contain DropDownLists, who's items are
dynamically added in ... more >>
Using Server printers
Posted by Ray Booysen at 9/6/2006 10:21:45 AM
Hi all
I've not come across a solution for this yet, I'm hoping someone can help.
I have a process of generating reports that are saved to disk. During
the process I have access to the raw HTML, and a generated PDF. In the
generation, some of the reports are emailed but some need to be p... more >>
Using SQLDataSource to fill a datatable or dataset
Posted by tom c at 9/6/2006 9:52:33 AM
I am using Visual Web Developer 2005 Express Edition. I created a
SQLDataSource just by draging the control to the form and filling in
the blanks in the wizard.
In code I need to use the SQLDataSource to load data from several
tables into datasets or datatables, work with the data, then inser... more >>
Calling aspx page from htm file
Posted by Ravi at 9/6/2006 9:50:12 AM
Hi,
I am trying to call an aspx page from an htm file.
I have written something like this in my htm file
<script src="Test.aspx"></script?
The Test.aspx page should call a javascript function and should show an
alert.
How can i acheive it. If I call the aspx file directly it works as
ex... more >>
VS 2003 & VS 2005 on one machine
Posted by shil at 9/6/2006 9:39:49 AM
Can I have both 1.1 and 2.0 frameworks installed on same machine? I
have 2005 already, for some reason I had to install 2003. When I try to
create a new project in 2003, I get an error as below:
"Visual Studio could not identify the version of ASP.NET oon the Web
Server. The Web Server reporte... more >>
Server error: 'Object reference not set to an instance of an object'
Posted by Assimalyst at 9/6/2006 9:15:46 AM
Hi,
I am trying to publish a website, but i can't get the aspx file to load
instead i get the above error and the following stack trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String
n... more >>
GridView - RadioButton for survey, idea needed
Posted by Patrik at 9/6/2006 8:59:47 AM
hello,
based on a client login I call a GridView that presents the appropriate
questionnaire for that person. I added three columns (template fields)
to the gridview that are radiobuttons. The client has to choose one
radiobutton per row (either YES, NO, or PERHAPS). Yes would have a
value of... more >>
Authantication to COM
Posted by atillamalas at 9/6/2006 7:32:14 AM
Hello,
I am developing an ASPNET application. I need to make calls to Word
Automation COM to manage a word document. After changing the
ProcessModel user to "system" at machine.config, I managed that. But
this is not what I want. I would like to be able to call only Word
Automation COM or COMs ... more >>
OutOfMemory Exception
Posted by Nemisis at 9/6/2006 7:08:03 AM
Hi everyone,
Can someone please tell me why my code hits an "out of memory
exception" on the below code?
All the code does is load some documents from a SQL database and loop
through a data reader to create a thumbnail image for each image in my
dataReader.
The error only occurs when i h... more >>
SQL Server does not exist...
Posted by Damien at 9/6/2006 7:03:44 AM
Hi Guys,
<Posted yesterday to microsoft.public.dotnet.framework.aspnet.security,
but no responses garnered. For mpsc readers, this is a fairly common
error encountered when connecting from ASP.Net 1.1, but I've followed
all the help I can find online and it hasn't fixed my problem yet. So
any... more >>
Force entire site HTTPS using Web.Config
Posted by curt.ziegler NO[at]SPAM gmail.com at 9/6/2006 6:39:33 AM
I know this can be done in IIS, and it may even be the preferred method
but can someone help me redirect every http request to https? I think
it could be done in the global.asax.cs or web.config but would like to
know the best way first...
Thank you for any help.
Curt
... more >>
Only Testking.co.uk gives 100% passing guarantee for all Study Guides
Posted by Moderator at 9/6/2006 6:38:52 AM
Only Testking.co.uk gives 100% passing guarantee for all Study Guides
... more >>
Cannot create an object of type 'System.Boolean'...?
Posted by Asaf at 9/6/2006 6:19:03 AM
Hi,
I have placed some HTML Input (Radio) controls on my ASP.NET page using
VS.NET 2005.
After I have set these controls to "Run as server control" and try to run my
page I am receiving the error:
"Cannot create an object of type 'System.Boolean' from its string
representation 'checked'... more >>
CSS examples
Posted by Barry at 9/6/2006 4:20:34 AM
Are there any good examples of CSS style sheets to be used with ASP.NET
(Visual Studio 2003) on the internet.
Note: i have seen the w3school examples, not intrested in them
TIA
Barry
... more >>
ASP.net using old version of DLLs
Posted by Jon at 9/6/2006 4:04:02 AM
Hello all.
We have a web app that includes a number of dlls. These cover all sorts of
things such as email handling, error handling, data access etc. The email
handler dll has been modified a number of times but it seems that the old
versions are still being referenced somewhere. So when we... more >>
Making New web site by using ASP.Net 2005
Posted by Husam at 9/6/2006 2:52:01 AM
Hi EveryBody:
Can my web site that made by Asp.Net in Vb.Net 2005 in any browser like
Internet Expolrer, Opera, FireFox and NetScape ?
Any help will be appreciated
regard's
Husam ... more >>
Intellisense with web.config registration of controls
Posted by sunev at 9/6/2006 1:59:02 AM
We are working on a large project and using a number of the new asp.net 2.0
features a number of third party controls.
One such feature is the global registration of controls in the web.config,
such as:
<pages>
<controls>
<add namespace="Project.WebControls" assembly="Project.N... more >>
date in datagrid
Posted by shiva kumar bejugam at 9/6/2006 1:53:18 AM
Hi
i am working with gridview in which i am using
textbox in one column,imagebutton in next column
i want to invoke calendar and post the date to textbox for that
particular row textbox. how best i can do that?
shiva kumar
*** Sent via Developersdex http://www.developersdex.com *... more >>
I/O stream performance
Posted by Guoqi Zheng at 9/6/2006 1:32:46 AM
Dear Sir,
I have many small XML files contain all kind of data, very often, I need to
get a summary of the XML file and show part in a repeater control...
For example... I have 10 xml files in one folde.. 1.xml, 2.xml, 3.xml,
....... 10.xml.
Every XML file contains a summary tag and a d... more >>
USe SMTP to Send Mail
Posted by Max at 9/6/2006 12:42:13 AM
hi
I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to
send mail. now the my question is,
Is it compulsory to add fields smtpauthenticate, sendusername and
sendpassword fields to MailMessage Object????.
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtp... more >>
problem with GridView
Posted by Jeff at 9/6/2006 12:00:00 AM
Hey
asp.net 2.0
I got a GridView on my webpage. When I run the webpage and select a row in
the GridView, the SelectedIndexChanged event isn't triggered. The row I
clicked on isn't marked as selected. I have enabled selection on the
GridView
Any suggestions on how to solve this is very... more >>
XML PROBLEM HELP NEEDED URGENTLY
Posted by gauravkg via DotNetMonster.com at 9/6/2006 12:00:00 AM
Hi i have a problem
I have a product
product_name=taj Mahal product_id=111
i and different users will be putting reviews title and review description.
this is the following xml file i have make
<reviews>
<Product>
<id>
111
</id>
<review_title>It is good book</review... more >>
change the scrollbar color in a listbox
Posted by sl at 9/6/2006 12:00:00 AM
Greetings,
Is it possible to change the color of the scrollbars in a listbox in a
browser? I have seen many references to:
document.body.style.scrollbarFaceColor="colorname"
document.body.style.scrollbarArrowColor="colorname"
document.body.style.scrollbarTrackColor="colorname"
document.b... more >>
FileUpload
Posted by David A. Osborn at 9/6/2006 12:00:00 AM
How can I default the text in a asp.net 2.0 fileupload box? There doesn't
appear to be any properties that I can set to a default path.
Thanks
... more >>
|