all groups > asp.net > december 2005 > threads for friday december 9
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
BoundColumn wider to avoid wrap?
Posted by Randall Parker at 12/9/2005 10:33:52 PM
What setting to use in an Asp:BoundColumn to make it so that the column is wide
enough that no cell has contents that wrap to a following line?
I want to avoid having rows that are multiple lines high. Does one have to use
absolute widths or can this be done some other way?... more >>
Dynamic template for a delete button in gridview
Posted by NateDawg at 12/9/2005 9:27:02 PM
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if
anyone has some input it would sure help me out.
Ok, I’ve noticed a few gridview problems floating around the forum. Everyone
wants to do a java confirmation box when a user clicks the delete button.
Fair enough... more >>
Not open all solution files?
Posted by SJ at 12/9/2005 5:47:29 PM
Is it possible to configure VS .NET so it doesn't open all the files in a
solution when I load the solution?
-SJ
... more >>
Verify if Session(hashtable) exists
Posted by Carlos Albert at 12/9/2005 5:34:54 PM
Hello everybody,
I have SHOULD have a hashtable stored in a Session. How can I verify it such
session really exists? I tried to use these sentences but ASP.NET doesn't
like them, it says that session("hashtable") is not a string, or boolean...
if session("hashtable") then ...
if session... more >>
How to control default frame pages with form authentication mode?
Posted by ABC at 12/9/2005 5:25:46 PM
I have a default page which has two frame pages. On the plan, I expected it
will forward to login page which show on one frame page only if the users
don't login. In fact, both two frame pages redirect to login page. How
should I do to fix this problem?
... more >>
Hidden Form Field Value Get?
Posted by xenophon at 12/9/2005 5:03:15 PM
I add a Hidden form field to my asp.net page in the codebehind, the
Value peoperty is set to 0 and EnableViewState is set to true. Then I
add a LiteralControl with JavaScript that says to set the value to 1.
If I set view the value of th ehidden form field in the debugger
during the course of ... more >>
Login problem
Posted by Brad at 12/9/2005 4:54:02 PM
I am having a strange login problem that I have been dealing with for a week
and cannot find an answer to. I am about ready to uninstall everything and
then reinstall it.
I am using Visual Studio 2005 Standard with SQL server 2005 Standard on IIS
5.1 (the ASPNET account). These are all on... more >>
Dynamic Loading of Private Assemblies?
Posted by Spam Catcher at 12/9/2005 4:44:36 PM
Does anyone have an example on how to dynamically load private assemblies
in ASP.NET - like what DotNetNuke does?
Do private assemblies have to be in the BIN directory... or can they be
located anywhere in the file system?
Thanks.
--
Stan Kee (spamhoneypot@rogers.com)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
.NET application switching users (user A is shown user B profile)
Posted by Bhaskar at 12/9/2005 4:19:02 PM
I have a serious problem in .NET currently. I am hoping somebody out there
can help me.
I have a ASP.NET application written in VB.NET and requires the user to log
in. I authenticate user using LDAP, so if the user id is active in our
company NT network he/she can log in with her/his user... more >>
MSDN Subscribers: Did you get your DVD for VS 2005?
Posted by VB Programmer at 12/9/2005 4:04:04 PM
I am a MSDN subscriber. Have you guys gotten your dvd for Visual Studio.NET
2005 yet? I haven't. I had to download it from the website. :(
... more >>
Get the account that ASP.NET runs under
Posted by Mircea Pleteriu at 12/9/2005 3:48:30 PM
Hi all,
How to programatically obtain the account that ASP.NET runs under regardless
of what the OS is.
Thank you,
Mircea
... more >>
Xsl Transform!
Posted by Adam Knight at 12/9/2005 3:44:18 PM
Hi all,
I am trying to performance an XSL tranform using the code below:
The code below is the result of googling..but the transform method is giving
me errors. (ASP.NET 1.1)
'load navigation xml file
docXml.Load(strXmlUrl)
'load xsl stylesheet
docXsl.Load(strXslUrl)
'peform xsl t... more >>
Client-Side Validation
Posted by Andre at 12/9/2005 3:26:41 PM
Hi,
I try to check a Calendar Controls in my Client-Side Validation...
On Server-side it's easy with Calendar.SelectedDate
But how can i make this in Client-Side since we cannot put
ControlToValidate with a Calendar in my CustomValidator control..
Thank you
... more >>
Using Connection Class VS Connection Module
Posted by Dave Johnson at 12/9/2005 3:19:04 PM
Working on Asp.net with access database backend,a serious Question in
the Class design phase, for accessing the database;
Which is Better to make a Connection Class that handles all the ADO
Connections for all the other Objects,
OR
Just make a Connection Module to handle the Database Acce... more >>
is this possible
Posted by rodchar at 12/9/2005 2:01:02 PM
hey all,
i goto to this vendor's website each month and put in a from and to date and
hit the export button and I have my data.
is there anyway to automate this process in code like using the WebRequest
class or is this asking too much?
thanks,
rodchar
... more >>
Accessing NETWORK Drive through ASPNET_USER
Posted by dotnettester at 12/9/2005 1:55:03 PM
Hi,
I'm trying to read a network drive through ASP.net.
This is what I have done.
- Create folder on a network machine.
- gave ASPNET_User read permssion on the folder.
- Mapped a drive to the folder say ('j' drive)
- When I try to access 'j:/myfolder' I get Access denied error.
- Whe... more >>
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. - Help
Posted by jerminator NO[at]SPAM gmail.com at 12/9/2005 1:18:22 PM
Ok I need some help. Up until Tuesday my application was working fine.
It is an asp.net application written in VB. It is very data heavy and
makes multiple calls to a database. The application itself sits on an
IIS6.0 server. And the database is on an SQL2000 server with SP 3a.
On Tuesday we s... more >>
File Read Spanish characters
Posted by Chip at 12/9/2005 1:08:58 PM
There is surprisingly little information on the various encoding options for
reading a text file. I have what seems to be a very basic issue: I'm reading
a text file that includes Spanish characters such as "ñ". When I read the
file into a string, that character is missing. Encoding seems to b... more >>
Programatically change DataSourceID?
Posted by Brenden Bixler at 12/9/2005 12:57:02 PM
Using Visual Studio 2005 / ASP.NET 2.0.
Newbie to ASP 2.0.
I have a GridView and multiple SqlDataSource's on a single page. Each query
is vastly different, but the results share a similar column set. Without
going into details on the project constraints, I was wondering if it's
possible... more >>
'SQL Server does not exist or access denied
Posted by Gomathi at 12/9/2005 12:33:53 PM
I am getting a 'SQL Server does not exist or access denied. ' error when
trying to access a SQL Server Database from my local machine. I have the
code on the web server and it is working fine.
My connection string is fine and I am able to log into SQL Server via
Enterprise manager ok.
The c... more >>
Printing problem with aspx...
Posted by Smitha Nataraj at 12/9/2005 12:17:19 PM
Hello,
Please let me know if you have the solution for a similar kind of problem...
Background: I have an aspx page which is used as a report i.e. will be used
for printing some information. The page has some text fields, some bulleted
lists, 4 tables, a diagram. All the data is variable bas... more >>
master page problem
Posted by Support at 12/9/2005 11:40:23 AM
Hello:
I have a master page that contains a table with three rows
<table height="100%" width="100%">
<tr><td height="100"><td>header</td></tr>
<tr><td height="100%"><asp:contentplaceholder id="ContentPlaceHolder1"
runat="server"></asp:contentplaceholder></td></tr>
<tr><td height="... more >>
Server.transfer errors in .Net 2.0
Posted by Fred at 12/9/2005 11:34:53 AM
Why do server.transfer statements in my app. always generate runtime errors
like this:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll but was not handled... more >>
Populating User Control
Posted by Joe at 12/9/2005 11:19:02 AM
Hello All,
I have a UserControl wwhich consists of one Label and one DropDownList
control. I have written a Public methofd to allow me to set the Label's Text
property and populate the dropdownlist with listitems. Here's the code:
Public Sub PopulateDropDownList(ByVal ListCaption As ... more >>
How to redirect URL to new window?
Posted by ABC at 12/9/2005 11:04:59 AM
How to redirect URL to new window?
... more >>
Upload image and then resize it - A generic error occurred in GDI+.
Posted by David Lozzi at 12/9/2005 11:03:20 AM
Howdy,
I have a function that uploads an image and that works great. I love =
..Nets built in upload, so much easier than 3rd party uploaders!
Now I am making a public function that will take the path of the =
uploaded image, and resize it with the provided dimensions. My function =
is belo... more >>
Datagrid to Excel
Posted by monalisa at 12/9/2005 10:59:28 AM
I have a Datagrid in ASP.NET , Witch contains employee info and a
Dropdownlist and a calendar control.
For performance issue, the user wanted to fill this form in Excel, so I need
to export the Data to Excel file to be (offline), and create the drop down
list dynamically into the excel.
How ... more >>
passing the request object to the middle layer
Posted by Nalaka at 12/9/2005 10:54:25 AM
Hi,
From the "Default.aspx.cs" I call a "someCode.cs"......
What I need to do is have access to the "Request object" in this second
code.
in the aspx.cs I can access using Request....
Can I access "Request object" in the second file without passing it using a
parameter?
many thanks f... more >>
server unavailable error with no messages in event viewer
Posted by pphadke NO[at]SPAM gmail.com at 12/9/2005 10:33:30 AM
I have an application that was originally in asp but is now moved to
ASP.Net. To deploy it, I just changed the default file in IIS for the
web folder to point to the new aspx file. Occasionally I see a "Server
unavailable" error. There is nothing in the event log that suggests any
related error ... more >>
Writing to a file
Posted by jennifer1970 NO[at]SPAM hotmail.com at 12/9/2005 10:02:53 AM
I've got some code that uses FileSystem object to write to a file. I
am getting an error message that says:
Logon failure: unknown user name or bad password.
This doesn't make a lot of sense to me, because I have full permissions
to the folder I am trying to write to.
Code is:
If fso.... more >>
passing a label value from webform(.aspx) page to a vb6 form
Posted by Sridhar at 12/9/2005 9:41:03 AM
Hi,
I have a vb6 form which has a label on it. When they click on that label it
will display the new web form and ask them to fill details. Once they fill
details it will give confirmation number. Can i pass this confirmation number
back to windows form and display it using Message box?
... more >>
Large ASP.NET application architecture.
Posted by Wade at 12/9/2005 9:39:28 AM
Hi all,
Ok, we are an ASP for environmental tools, and over the last couple years
we've moved our systems from ASP to ASP.NET (1.1); in doing so, we decided
to create individual applications that can be re-used for different clients.
Each application is a project setup in IIS as both a virt... more >>
Get Total Number Of Pages
Posted by paulsmith5 NO[at]SPAM hotmail.com at 12/9/2005 9:22:09 AM
Hi,
Given that I have an two integers - firstly the total number of items
and secondly the number of items per page what is the syntax to give me
the total number of pages. For example if there were 10 items and a
page size of 3 then 4 pages are required.
Thanks,
Paul
... more >>
Beep
Posted by Arne at 12/9/2005 9:21:02 AM
I have noticed that my customer doesn't always read error my error messages.
How can I create a beep in the browser?... more >>
Sample usage of ClientScriptManager.RegisterForEventValidation
Posted by n33470 at 12/9/2005 8:58:21 AM
Hi all,
I have a dropDownList on a web page that is populated by client-side
script. I get an error on PostBack of the page. I've seen quite a few
posts about this, so I understand the issue, and why it's occurring. I
know that I need to remove the automatic event validation that ASP.NET
i... more >>
ASP.NET 2.0 References and compiled DLLs changes
Posted by WebMatrix at 12/9/2005 8:45:02 AM
Hello,
Just created my first ASP.NET 2.0 project with Visual Studio 2005. I see
they changed some very important things. So, I have the follwoing questions:
1. How can I view and remove project references. I can add references from
the project menu, but where is reference "folder" which us... more >>
Create pdf file through https problem
Posted by agusayala at 12/9/2005 8:24:32 AM
Hi folks.
I have an application that generates and opens pdf files generated b
crystal reports. In my machine works fine (I'm not working with http
here), but when I put this application in the production server (here
use https) with the physicalpath of the server and when I try to creat
th... more >>
help - ASP.NET Server Application Unavailable
Posted by s at 12/9/2005 8:21:03 AM
the admin moved the server to a different sub-network. The machine was
previously a domain controller and now it is not, therefore active directory
was removed and so was the user accounts. I ran regiis -i which created the
ASPNET user account but the application is still unavailable. What do ... more >>
Session timeout indefinite
Posted by Oleg at 12/9/2005 8:07:03 AM
can I have session timeout set to indefinite?
Minding that I run it on 2003 server.
Oleg... more >>
Eternal Debate: Cookies vs. Sessions vs. QueryString
Posted by Paul at 12/9/2005 8:03:03 AM
Here is a question that should get everyone going.
I have an ecommerce site where I need to pass the order_id to every page. So
which method is the best practice to pass this variable between pages:
Cookies or Session variable or by the HTTP header (either GET querystring or
POST form)?
... more >>
XMLHttpRequest on a MAC's IE browser?
Posted by Diffident at 12/9/2005 7:47:02 AM
I am trying to use XMLHttpRequest on the IE browser of a MAC machine. It
throws me a javascript error which reads as "Object doesn't support this
action" while trying to create an instance of the XMLHttpRequest object using
new ActiveXObject('Microsoft.XMLHTTP')
So IE/MAC does not support A... more >>
q: sites with flash
Posted by JIM.H. at 12/9/2005 6:40:02 AM
Hello,
Our web site is developed by someone else and I see they used macromedia
flash player. Now sometimes on some computers the text in the flash do not
show up, and sometime it asks to download macromedia flash and it starts
showing the text. How does everyone else handle flash in their we... more >>
Accessing components on other pages
Posted by CJ at 12/9/2005 5:55:15 AM
I have a page with a bunch of iframes (which make up a tab control).
At least one of these iframes contains an aspx page, which in turn
contains a .ascx component. This component then contains a datagrid.
Is there any way that I can access this datagrid from one of the other
iframes? The grid... more >>
ArgumentOutOfRangeException
Posted by arujgeorge NO[at]SPAM gmail.com at 12/9/2005 4:56:16 AM
hi
i am getting an error of ArgumentOutOfRangeException after deleting
record from the data grid. the code i written is
If GridRepair.VisibleRowCount > 0 Then
deleteConfirm = MsgBox("Do you want to delete the
selected Record", MsgBoxStyle.DefaultButton2 Or MsgBoxStyle.YesN... more >>
encoding nightmare
Posted by Danny at 12/9/2005 3:08:02 AM
I am working on a project in which a number of client applications will be
posting xml documents as a byte array to an ASP.NET page on our web server. I
am trying to simulate the process and run into problems.
Sending code:
ASCIIEncoding encoding = new ASCIIEncoding();
string lcUr... more >>
Is not a valid virtual path
Posted by Federico at 12/9/2005 2:58:02 AM
Hi all,
today I tried to migrate a website built with framework 1.1 and VS2003 to
framework 2.0 and VS2005.
When I try to build the site using VS2005, I receive this error message (and
the build fails):
'/sitename:8080/' is not a valid virtual path
Notice that:
1) my site has the follow... more >>
Why Redraw of the whole page when paginating?
Posted by urs NO[at]SPAM prismanet.ch at 12/9/2005 1:29:46 AM
Hi, please look at the ASP.NET 2 site
http://www.prismatest.ch/catalog/EM.ASPX
(user=prismashop, password=minicooper). Use the ">" Button to go to the
next pages.
You will notice that the page goes all white every time after pressing
the ">" Button, and redraws itself only after all parts of... more >>
is it fixed on realse version?
Posted by micky at 12/9/2005 12:58:35 AM
i think It's a bug...
is it fixed on realse version?
Failed to update database "C:\INETPUB\WWWROOT\WEBSITE\APP_DATA\ASPNETDB.MDF"
because the database is read-only.
... more >>
|