all groups > asp.net > august 2007 > threads for tuesday august 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 31
Calling Windows service from a website.
Posted by Lalit at 8/14/2007 9:10:57 PM
I want to create an application possibly windows service that will generate
PDF files and place them into a specific folder.
I have a website that will use this service to generate PDF files and return
them to user.
Is it possible to call this win service from within the website?
If yes how c... more >>
'Default_master' does not contain a definition for bHome
Posted by Ganesh at 8/14/2007 8:50:32 PM
I get this error Error 1 'Default_master' does not contain a definition for
'bHome' . I cannot find out the error, someone can help me.
default.master
<%@ Master Language="C#" CodeFile="Default.master.cs"
Inherits="Default_master" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transi... more >>
Menu Control and IE6
Posted by MikeB at 8/14/2007 7:57:56 PM
Hello all, I have menu control that works perfect in IE7 however in IE6 it
is very messed up. Here is the code I am using to populate it, any ideas?
My code:
... more >>
Save config data in Medium Trust
Posted by Roger Martin at 8/14/2007 7:22:01 PM
I have configuration data for a web application stored in a file
galleryserverpro.config located in a config folder off the root application.
Web.config references this file like this:
<galleryServerPro configSource="config\galleryserverpro.config"/>
I built a custom configuration settings c... more >>
Long Line to list
Posted by dancer at 8/14/2007 7:19:39 PM
Using ASP.net1.1 and Parameters
I have many more fields to put into this statement.
How can I list them vertically instead of one long line?
Dim MySql AS String = "INSERT INTO Table1(TheEmpName,TheDateOfAccident,
TheBirth, TheLostDays, TheSSN, TheJob, TheSupervisor,
ThePart)VALUES(@The... more >>
Displaying Images on a page
Posted by hplayer03 at 8/14/2007 7:06:00 PM
I am trying to create an asp.net 2.0 site that has the paths of images
stored in a sql database. I am able to connect to the database and
extract the paths. I am stuck now because i would like to dynamically
create images and set their paths to those that i find in the
database....here is the ... more >>
Treeview click events - whole row instead of just the caption?
Posted by Homer J. Simpson at 8/14/2007 6:46:37 PM
It seems that treeviews require the user to click on a node's caption (or
icon) in order to generate a postback. I'd like to be able to click
anywhere on the row (eg, hook up the event to the encapsulating <tr> tag).
How would I go about that--since the treeview doesn't give you access to its... more >>
accessing files on NAS from IIS6
Posted by Jason Huang at 8/14/2007 6:34:54 PM
Hi,
My IIS6 is running on my Win2K3 Active Directory.
My file server is on Win2K3 R2, it's not in my AD, but it's in my LAN.
Is it possible to create a virtual directory in my IIS so that users can
access the files from the file server by the web?
Thanks for help.
Jason
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
including comments in ASPX code that don't render to the client? (c# 2.0)
Posted by mad.scientist.jr NO[at]SPAM gmail.com at 8/14/2007 6:30:37 PM
In .NET 2.0, is there any way to include comments in the aspx file
that do not get rendered to the client (ie no <!-- -->) ?
When I try to include C# comments in a code block in an aspx page,
like this:
<%
// *******************************************************
// CHANGE HISTORY:
/... more >>
Visual Studio and IIS
Posted by BobLaughland at 8/14/2007 5:31:00 PM
Hi All,
I am using visual studio 2003 on a website I am developing on. I have
it running inside a VM, and use IIS to host the website when I am
viewing and debugging it.
The problem is that when I recompile the project and then load up the
site again with a browser it takes ages to load the... more >>
Return value from Another Page
Posted by stephen at 8/14/2007 5:00:38 PM
Hi,
I have a button on a webpage. Clicked event of this button opens another
page for search and populates a datagrid or whatever and then I want to
return value from this second page on to the first page.
How can i do this?
Thanks,
Stephen
... more >>
Results to both Database AND email
Posted by dancer at 8/14/2007 4:14:39 PM
How do I send results of a form page to both email AND a database. I have a
page which works with this sub:
Sub btnSendMail_OnClick(Source As Object, E As EventArgs)
And I have a page which works with this sub:
Sub btnSendDatabase_OnClick(Source As Object, E As EventArgs)
How do I com... more >>
Problem getting ActiveViewIndex
Posted by at 8/14/2007 4:08:52 PM
My web form has a MultiView which has 4 Views. 4 LinkButtons on the
web form activates each of the 4 views.
The 4 views have been hiding and showing nicely depending upon which
LinkButton is clicked.
But, when I try to get the ActiveViewIndex when the [Submit] button is
clicked, I always g... more >>
Doubt making sql statement
Posted by Paulo at 8/14/2007 4:06:50 PM
Hi, how can I use any logic to mount a search sql statement based on the
fields the user fills, example:
Name:
SomeCode:
Birth:
if name <> empty the sql will be: select fields from table where Name like
'%valueFromField%'
if somecode <> empty sql will be: select fields from table where ... more >>
Using an asp:hyperlink versus an asp:linkbutton
Posted by BobLaughland at 8/14/2007 4:05:20 PM
Hi There,
I need a control on my site that is a hyperlink style control, but it
must,
1) Have a property that can hold where the hyperlink is pointing to.
(e.g. like the NavigateUrl property in the asp:hyperlink control).
2) Also can call my own method when the user clicks on the link (e.g.... more >>
enctype="multipart/form-data" for MasterPage
Posted by Alex Maghen at 8/14/2007 3:26:05 PM
I have a MasterPage. The MasterPage actually contains the <form> tag which is
used throughout the site.
On just certain pages that use that MasterPage, I need the "enctype" for the
<form> tag to be set to:
enctype="multipart/form-data"
On the rest of the pages, I do not need this.
H... more >>
Create a virtual directory and open ASP pages in web browser
Posted by jonny at 8/14/2007 12:50:31 PM
I followed the instruction below to create a virtual directory. I am
able to open htm pages, but I cannot open ASP pages. Here is the error
I am getting "Object reference not set to an instance of an object.".
Do I have to have Windows Server 2003 to open ASP pages in web
browser?
How can I o... more >>
NullReferenceException
Posted by mdavis NO[at]SPAM medelect.co.uk at 8/14/2007 12:33:15 PM
Hello,
I have a problem in my code that generates an error with no line
numbers. I know the type of problem that can cause this exception, but
can you think of what could cause it to not return specifically where
in the code the error occurs?
Error:
System.Web.HttpUnhandledException: Excepti... more >>
slimmed .NET AJAX controls?
Posted by tomk148 NO[at]SPAM gmail.com at 8/14/2007 11:27:57 AM
I'm getting complaints on one of our internal tools about to many
postbacks to validate time/date input. Currently I just have some
DropDownLists with H/M/M etc.
I started looking at the MaskedEdit control, and while its free after
load it has a huge list of ScriptResource hits on the server.... more >>
Doubt new window
Posted by Paulo at 8/14/2007 11:08:14 AM
Hi, when I click a Search button, must open a new window wich will list all
the customers on a grid, and the user can search, etc, but when the user
choose the customer, the window must be closed and returned to the original
window with the customer ID selected by the user...
How can I do t... more >>
texbox data cleared - then clear variable
Posted by Tom at 8/14/2007 10:11:53 AM
I have a textbox on my web form were users can enter in 1 name or many =
names. The form then validates the name against the database.
If the name is valid its then saved into a varaible to be used at a =
later time. The issue I'm having is as follows:
the user enters in 2 names
John, Greg
... more >>
Regular Expression
Posted by Lit at 8/14/2007 9:48:09 AM
Hi,
I am looking for a Regular expression for a password for my RegExp
ValidationControl
Requirements are,
At least 8 characters long.
At least one digit [0-9]
At least one upper case character [A-Z]
At least one lower case character [a-z]
At least one special character: []{};':",.... more >>
Sys.WebForms.PageRequestManagerParserErrorException
Posted by Temesgen Meheret at 8/14/2007 9:17:51 AM
I am wrapping a grid view in an update panel, and I am not doing =
anything with Response.Write or Server.Transfer.
But for any click inside that grid we get =
Sys.WebForms.PageRequestManagerParserErrorException for some customers.
If any body has idea please send it to me.=20
Thanks,
Tem... more >>
OT: Where to Report Source of Virus?
Posted by Smithers at 8/14/2007 8:13:22 AM
My question: is there some sort of authority I can report this to? If so,
who? I have a URL directly to a virus-infected file that's getting spread
around on the Internet.
My situation is this: I have a Web server (hosted at a commercial data
center) that faces the public Internet. One of m... more >>
Master pages with a onload command.
Posted by Mufasa at 8/14/2007 8:11:37 AM
I have a master page with stuff in it. It includes the body tag and then the
asp:content tag. I want to hide some text when the page is loaded but is
made visible by a check box. All that code works fine. I have the text in a
<div> that I hide/unhide when a checkbox is clicked and it's all don... more >>
javascript, new ActiveXObject() and events
Posted by Eugene at 8/14/2007 7:48:01 AM
Hello,
I have an ActiveX object with events, and I need to get notifications of
these events in javascript script on asp.net web page.
The mentioned above ActiveX is a standard ATL com object implementing event
interface:
dispinterface _MyEvents
{
properties:
methods:
[id(1), helpstrin... more >>
GridView
Posted by Arne at 8/14/2007 6:16:02 AM
How do I get programmatic control of a Template column?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
usercontrol and modalPopupExtender
Posted by Kyle M. Burns at 8/14/2007 6:02:06 AM
I have a set of controls and logic that must be invoked from several pages
within a web application as a popup dialog, so I intend to use a userControl
contained in a panel extended with the modalPopupExtender to get this
behavior. I want to deal with showing and hiding the popup in server-si... more >>
A problem between a FileUpload & an updatePanel .
Posted by fran_j_diaz NO[at]SPAM yahoo.fr at 8/14/2007 5:39:50 AM
Hi,
I've got a problem with a FileUpload in a updatePanel.
My update Panel is triggered with a button.
I select a file in my file upload and when I do a postback with my
button, the fileUpload loose the file.
I looked in the Page_Load method, and it's like the fileUpload never
had a file.
... more >>
Another Check box question...
Posted by JJ297 at 8/14/2007 4:59:50 AM
Can't get null into the database. I'm trying to achieve...
if displayedQues = "Y" then I want nondisplayedques to go into the
database as null. What do I need to do? This is what I have thus
far.
Dim displayedQues As Char = "Y"
Dim nonDisplayedQues As Char = "N"
If (RadioYes.Chec... more >>
Full Trust Issue
Posted by KP at 8/14/2007 4:58:02 AM
I have an asp.net application that I've installed on several of my customers
laptops (they run a localized IIS). I've been doing this for years without
and issue.
Today I attempted to install this application on a laptop that belonged to a
contractor (i.e. not supplied by us). I brought i... more >>
file could not be found on localhost
Posted by Mike P at 8/14/2007 2:16:48 AM
I have just installed IIS on my XP machine, and created a folder in
inetpub/wwwroot with several asp and html files in, but when I go to
http://localhost/foldername/filename, I just get 'File could not be
found'. What am I doing wrong?
*** Sent via Developersdex http://www.developersdex.c... more >>
Repeater control is returning blank textbox
Posted by Guus123 at 8/14/2007 1:44:03 AM
Hi,
I just converted my asp.net app to vs2005 and now developing using vista and
run into a problem using the repeater control.
I bind the repeater control using
If Not IsPostBack Then
strError = myInvoice.GetOpenInvoices()
If strError <> "" Then
lblError.Tex... more >>
Typed Datasets - Performance over WebServices (1 Dst or Various Sm
Posted by Iván Pérez at 8/14/2007 1:26:00 AM
Hi there,
I have a question that has been raised on how an application should handle
the data that is travelling through a three-layered application.
Our data is going to be handled by Dataset object(s), and the data to be
handled is as follows:
We have N Companies with data, which is dist... more >>
DLL, GAC, and Multiple Web Sites
Posted by Smithers at 8/14/2007 12:13:27 AM
Just wondering if it is perfectly straight-forward and safe to have a .dll
installed in the GAC on a Web server - and have multiple Web sites make use
of the .dll.
Until now I've been XCopying all files for each Web site - including
duplicating .dlls amongst the sites. I was wondering if I ... more >>
Validation Controls in .NET
Posted by aroraamit81 NO[at]SPAM gmail.com at 8/14/2007 12:10:33 AM
I have a problem with the display part of validators in .net.
I have my page in which the layout of the fields dont give me enough
space to display the error messages on the page itself.
I want individual error alert messages to be dispalyed for each of my
fields The validation controls dont h... more >>
Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of typ
Posted by Mike at 8/14/2007 12:00:00 AM
Hi
I have problem as folow:
Caught Exception: System.Configuration.ConfigurationErrorsException:
An error occurred loading a configuration file: Request for the
permission of type 'System.Security.Permissions.FileIOPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a... more >>
Problem with Dataset.WriteXML
Posted by Morten Snedker at 8/14/2007 12:00:00 AM
This is the code:
Try
Dim con As New
SqlConnection("server=comwirsql;database=comwirdirect;Trusted_Connection=yes")
Dim dGetData As SqlDataAdapter = New
SqlDataAdapter("sp_AccessUser2FTP", con)
dGetData.SelectCommand.CommandType =
Data.CommandType.S... more >>
[OT]Visual Studio 2005 - coloured bars near line numbers?
Posted by Rob Meade at 8/14/2007 12:00:00 AM
Hi all,
Just wondered if anyone could tell me what these are and what they indicate?
I'm *guessing* its some kind of change control/tracking because my project
is in Visual SourceSafe but didn't know. If it is, what are the colours and
what do they represent? I currently have yellow and gr... more >>
Deadlock detected?
Posted by Olav at 8/14/2007 12:00:00 AM
Does anyone know what this means?
Olav
ISAPI 'c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll'
reported itself as unhealthy for the following reason: 'Deadlock detected'.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
... more >>
|