all groups > asp.net > december 2003 > threads for tuesday december 30
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
DataGrid problem
Posted by JL at 12/30/2003 10:46:50 PM
Hi all,
I want to highlight the date overdue row in datagid so that it will be easy
for user caution, how to change the specific row background color in
datagrid?
Thx a lot
... more >>
Datagrids and images
Posted by moondaddy at 12/30/2003 10:46:16 PM
Happy Holidays All! I want to load a datagrid with images and text (Image,
text, image, text, etc...). The data for this datagrid will be coming from
sql server and the images are stored as files on the server and not in sql
server, however, the name and path of the images are stored with the t... more >>
Response.CharSet Vs Response.ContentEncoding Vs responseEncoding property in web.Config
Posted by Calvin Lai at 12/30/2003 9:38:02 PM
Does anyone know the difference and usage of them? Great thanks!
... more >>
Form layout
Posted by Wes Jackson at 12/30/2003 8:05:03 PM
How do you anchor controls so that when the browser resizes the controls
move?
... more >>
switch(Request.QueryString("handler")) in .Net?
Posted by Davíð Þórisson at 12/30/2003 7:43:37 PM
hi
in my old Asp pages I used Jscript as below that is a single .asp page would
contain various subcodes. Is it the same in Asp.net?
switch (Request.QueryString("handler").Item)
{
case "load":
...
break
case "save":
...
break
}
... more >>
migrating asp to aspl.net: includes?
Posted by Davíð Þórisson at 12/30/2003 7:18:43 PM
hi,
I am getting really excited to start migrating so much less time it's going
to take to do my web projects!!
in my old Asp web I had a common frame for all pages which was simply
included at top of each .asp file. Actually all layout was done through
various strings (strFrame, strMain, str... more >>
String Manipulation
Posted by kuya789 NO[at]SPAM yahoo.com at 12/30/2003 5:40:48 PM
1. How do I remove non-alphanumeric characters?
Input: dEFD&*fdff/df;
output: dEFDfdffdf
2. How can I capitalize the first character of a word?
Input: remember
Output: Remember
Thanks... more >>
getting the value from ~ at run time
Posted by neverstill at 12/30/2003 5:30:53 PM
Hi-
I am creating a series of images in a datalist, I want to have rollovers on
them, so I am also spitting out some client side script via a Literal.
I have hit a hitch. I make extensive use of the '~' character to get to the
virtual root. I have nested controls so when I need to get to the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What C# book?
Posted by Karl at 12/30/2003 5:06:49 PM
I'm an experienced programmer and understand OOP but I've never used MS
tools. And I'm having a really difficult time getting started programming
ASP.NET using C# with VS .Net 2003.
What do you recommend?
I already have Mastering Visual C# .NET but it's not ASP centric enough.
I would b... more >>
Session - ASP and ASP.NET
Posted by Gustavo Pizzini Becker at 12/30/2003 4:40:10 PM
I have an entire site build with ASP, and so using GLOBAL.ASA .
Now I'm writing some codes with ASP.NET, but I need to share some SESSION
variables.
1. Is it possible using only my GLOBAL.ASA? Or I will need another
GLOBAL.ASAX?
2. What is the best way to share the SESSION?
Thanks,
Gustav... more >>
How to check the class variable is "new"(to object) or not?
Posted by JL at 12/30/2003 4:26:21 PM
Hi all,
I like to know that how to check the class variable is "New"(to object) or
not?
Thanks a lot
... more >>
how to add a Scroll Bar in CheckBoxList control in ASP.NET
Posted by Marshal Antony at 12/30/2003 4:25:11 PM
How to add a vertical scroll bar to a CheckBoxList Server control in
ASP.NET.
Any help is appreciated.
Thanks,
Marshal Antony
... more >>
Meaning of <%#
Posted by Frank at 12/30/2003 3:15:33 PM
I can't seem to find any mention of what <%# means in any
of my ASP.NET text books. Searching msdn and Goggle for
<%# also results in nothing. Can anyone offer a URL that
has some definition?
Thanks,
Frank... more >>
timeout
Posted by Richard Roche at 12/30/2003 3:11:05 PM
My application is timing out between 7 and 8 minutes of
inactivity. I'm using forms based authentication and have
sessionstate timeout="20". I've even displayed this value
on the web page.
There is also a httpRuntime executionTimeout="1200" for
long database queries. Both setting in we... more >>
Web Server running ASP.Net 1.0 error
Posted by Wayne M J at 12/30/2003 2:53:42 PM
I am not sure why I am getting this error when I try to use VS.Net 2003
especially when the target system is WinSvr 2k3.
Every other web application works fine, but I have one that complains that
ASP.Net 1.0 is running on the server, and yet I cannot find any reference
what so ever to ASP.Net ... more >>
how do I access the application object within another assembly?
Posted by SteveS at 12/30/2003 2:51:23 PM
Hello All. I have an asp.net application with 3 different assemblies. They
are like this:
1) Assembly: PublicSite (This contains the website UI)
Root namespace: PublicSite
2) Assembly: PublicSite.MyProfile.Business (This contains the business
rules)
Root namespace: PublicSit... more >>
SQL Query
Posted by kuya789 NO[at]SPAM yahoo.com at 12/30/2003 2:38:43 PM
My db table looks like this
FILENAME FILE_CREATED FILE_MODIFIED
test 9/12
test2 9/13 10/13
..
..
all FILE_CREATED field have value, only some FILE_MODIFIED have value.
I need to get the value of FILENAME column and this is what i have
SELECT FILENAME FROM REW_FILES ... more >>
running aspnet_wp.exe under a different user
Posted by Bruce Whitehouse at 12/30/2003 2:28:50 PM
I need to be able to run the aspnet_wp.exe process under a domain user,
rather than the ASPNET user.
I've tried changing the impersonation settings in the web.config and
machine.config files, but that doesn't seem to do change anything.
How do I configure my machine to get this process to ru... more >>
Panel position
Posted by simon at 12/30/2003 2:09:35 PM
I have panel on my page:
<asp:Panel Runat="server" Visible="False" style="Z-INDEX: 101; LEFT: 400px;
POSITION: absolute; TOP: 150px"
ID="pnlTimeSpot">
When this panel is visible, it has fixed position.
How can I move this panel on the page with mouse? Like if you open new
window.
I don'... more >>
validating portions of asp.net page.
Posted by ani at 12/30/2003 1:58:46 PM
I have two submit buttons in my form which need to
validate two different controls on the page . How do I
validate portions of the asp.net page. The two submit
buttons should validate their respective controls. If
anyone has got any articles or sample pages, please
forward..
Thanks..... more >>
Exporting
Posted by brian at 12/30/2003 1:58:25 PM
I am using vb.net and sql2000. What is the best way
using vb.net to export data to text file. I can retrieve
it through a dataset or reader. There are a lot of
columns. I perfer not to use the dts designer in
sql2000.
Does anyone have any white papers or other resources for
me to ... more >>
Open/Close Database Connection for each page
Posted by Michael at 12/30/2003 1:33:44 PM
Hello,
In my past ASP pages, at the top I used an include file to open an ado
connection for the entire page, then at the bottom, I would have another
include file to close the connection.
Now that I'm moving to .NET, and using ado.net as well, does anyone have any
ideas to accomplish this ... more >>
New request, new thread not always ?
Posted by Gawel at 12/30/2003 1:24:53 PM
Using Thread.CurrentThread.GetHashCode() and AppDomain.GetCurrentThreadId()
I observerd that a few requests are serverd by the same thread. Usually 3-5
requests.
Is it possible to force, that every request will be served by new thread ?
Gawel
-------------------------------
Pierwszy ³yk z... more >>
hiding browser toolbar and menubar
Posted by Jho at 12/30/2003 1:22:28 PM
Is it wise to do the following to hide html source and
other info.
I plan to do a popup window which would close my existing
web page and popup a window in its place without toolbar
and menubar.
are there any disadvantages of hiding browser toolbar and
menubar ?
thanks
... more >>
dynamic creation of user controls
Posted by Adie at 12/30/2003 12:59:11 PM
Hi, I wonder if anyone can tell me how to add user controls to a page
dynamically?
In context: I have a bunch of HTML tables which due to time
constraints can't be populated to a database, so I was planning on
cutting the HTML source and creating a user control from said source.
I will then p... more >>
How to draw a transparent gif in web
Posted by Minhua Fu at 12/30/2003 12:01:22 PM
Hi,
I have a problem when I draw a transparent gif picture. I have an existing
transparent gif picture, i want to modify the gif and save it to
reponse.outstream. But the picture always keep black backgroup. Can anyone
give me some suggestions?
Following is my code.
System.Drawing.Image ... more >>
webform data never changes
Posted by moid at 12/30/2003 11:56:48 AM
my webform doesnt seems updated on navigation buttons nor textbox values
from code behind i can see the values change on code behind but they are
aint effecting the webforms the webforms contains the data which was
initially loaded. and nothing happens when any button is pressed on server
side i... more >>
How to set focus to a control
Posted by kevin_dzy NO[at]SPAM hotmail.com at 12/30/2003 11:46:27 AM
Hi, all:
I have created some text box controls in one of my WebForm, now I want to
set focus to one of the text box by code (using server side script), how can
I do this?
I know it's easy to do this using client-site JavaScript + HTML tags. But
how to do this using Web Controls and Server s... more >>
Database not Found
Posted by Bernardo Heynemann at 12/30/2003 11:24:07 AM
The following block of code gives me an error.
MultiBD is my class for multiple databases.
connection= MultiBd.GetConnection(DataProviderType.OLEDB);
connection.ConnectionString = MultiBd.GetConnectionString
(1);
comand = connection.CreateCommand();
comand.CommandText = strSelectComand;
c... more >>
Application("AppPath")
Posted by dave at 12/30/2003 11:20:12 AM
I need to put the port for my server to get to my web site.
example: http://mysite:81
when I use Application("AppPath") , it dumps the :81
What can I do???
... more >>
Is it possible to share functions across aspx.vb pages?
Posted by Dan at 12/30/2003 11:19:26 AM
We have some session variables that need to be reset to their default values
at certain times throughout the application. Rather than repeating the code
on each page that requires it, is there a way to hold this server-side code
some place and have each page call it when necessary? I can alread... more >>
Performance of Xsl Transformations
Posted by George Durzi at 12/30/2003 11:02:11 AM
Folks, I'm running into some performance issues with my Xsl transformations.
I've done a ton of debugging and digging around, and have come to the
conclusion that the performance issues are NOT caused by slow stored
procedures, or bad XSL/Ts.
I came to this conclusion by doing a test transform... more >>
determine the mime/ContentType of a binary stream?
Posted by Alex Vincent at 12/30/2003 10:55:06 AM
HI all,
I'm storing images, jpgs/gifs/png/bmps and also some other binary files in a
SQL image field in a SQL 2k database.
Most of the images enter the database via a asp.net webform upload, here I
can use HttpPostedFile.ContentType to enter into the db the contenttype of
the file (because ... more >>
Cold Fusion to ASP converter
Posted by CB at 12/30/2003 10:23:00 AM
Is there a decent Cold Fusion to ASP converter out there.
I came across a pretty good PHP to ASP converter, but have had no luck with
CF.
... more >>
TreeView
Posted by Blood... at 12/30/2003 10:04:08 AM
why ASP.NET (c#) TREEVIEW component download free... ?????
:(
... more >>
OT: Finding a carriage return in an Access field and removing it....
Posted by D. Shane Fowlkes at 12/30/2003 10:03:51 AM
Sorry for the OT post but I've looked around for a bit and cannot find a
solution to what would seem a common problem. I considered posting in an
Access NG but they don't seem to have much traffic these days. I have a 3rd
party MS Access table and one of the fields in the table is littered with... more >>
running ASP.NET under a domain user
Posted by Bruce Whitehouse at 12/30/2003 9:56:01 AM
How do I get the ASP.NET processes running under a domain user, rather than
the standard ASP.NET user?
I have a COM dll that requires access to a network share. I'd rather run
the ASP.NET process under a domain user, rather than give the ASP.NET user
access to the share.
regards,
Bruce
... more >>
Inherited Page Always Calls Base Page Load Event
Posted by WFB at 12/30/2003 9:50:02 AM
Hi,
I have a base class from which all of my pages derive (ABCBasePage). For
example, ABCCustomerSelect Inherits ABCPasePage. I would now like to have
ABCPocketSelect which should inherit from ABCCustomerSelect. My problem is
that when ABCPocketSelect is loaded the Page_Load event in ABCBas... more >>
Server access to files on the LAN
Posted by Jerry J at 12/30/2003 9:48:50 AM
Hi,
My asp.net application must access a file that can be
anywhere on the server's LAN. I am having a problem
because the server, doesn't have access to files that are
not on the server's local disk. I have done similar
things using COM+ and COM dlls in older versions of asp.
I woul... more >>
problems with public properties
Posted by coyotes1 NO[at]SPAM yahoo.com at 12/30/2003 9:44:03 AM
I really dont know what I should do. I am asking for best practices.
currently I create my properties by doing this.
Context.Items.Add("Info", new Info(Request.QueryString["acct"],
Request.QueryString["option"]));
Info is a class that I call that places all data retrieved from a db
into p... more >>
Losing Session Variable
Posted by Stephen at 12/30/2003 9:41:37 AM
I have a .NET (1.1 framework) application that is losing a
session variable on only a few PC's. The main page is
loading up in a frame in a Portal application. On the
Page_Load it stores an object with the user id and
password into the session.
The web page includes a set of links. W... more >>
resources by customer (not culture)
Posted by Jon Paugh at 12/30/2003 8:54:22 AM
Hello!
Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.
Thanks,
Jon Paugh... more >>
'current custom error settings for application prevent details of application error from being viewed. '
Posted by grwghow NO[at]SPAM yahoo.com at 12/30/2003 7:54:47 AM
Hi everyone
I'm having an issue with one of our applications. I'm getting the
following error when attempting to log in to the site:
Server Error in 'xxxxxxxxxxxxxxxx' Application.
--------------------------------------------------------------------------------
Runtime Error
Descriptio... more >>
Error system.io.exception
Posted by Sammy at 12/30/2003 7:29:18 AM
Can anyone please explain me the cause and resolution of
this error.
TIA
Sammy
Server Error in '/' Application.
The device is not ready.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information ab... more >>
impersonating and LogonUser
Posted by Jason at 12/30/2003 7:09:52 AM
I have an ASP.NET application with forms authentication.
However, the login details correspond to a Windows account
(I cannot use Windows authentication). If I obtain a token
with LogonUser, can I store it in a session variable and
perform an impersonation on each page load? How long is
th... more >>
which best software for this?
Posted by - - Vivian - - - - - - at 12/30/2003 6:51:57 AM
which best software for work with ASP.NET ?
to design page join to programming
send your suggestions
Vivian
... more >>
Could not load type after copy/paste .ascx files into a directory set as application in IIS
Posted by bogo82 NO[at]SPAM mailcity.com at 12/30/2003 4:38:53 AM
I am working on an asp.net project.There is a subdir called
OSearch,with a few aspx pages in it which as all other pages on the
website use some controls.These controls are stored in a another
subdir as .ascx files.I made OSearch application in IIS ,because i
want all the pages in it with auth... more >>
Frames
Posted by cvg brown at 12/30/2003 3:39:54 AM
Hi guys,
I try to use frames on my ASPs. But nothing appears on the screen.
Below you can find the code.
<%@LANGUAGE="VBSCRIPT"%>
<% If Session("teUserName")="" or Session("teUserName")<>"admin" Then
Response.Redirect("index.asp") End If %>
<!--#include file="header.asp"-->
<tabl... more >>
How to dispaly corret URL in browser after Server.transfer
Posted by Shankar kalel at 12/30/2003 3:23:21 AM
Whenever Server.transfer is occcured in web pages , URL
shown in Address Bar of browser remainas unchanged.
Can we use HttpModules for changing this URL as per
actual page processed after Server.Transfer.
If not , do we have any other mean to reset this url as
per actul page being ... more >>
asp.net total number of sessions open for an application
Posted by Maziar Aflatoun at 12/30/2003 2:41:16 AM
Hi,
Is it possible using asp.net to see how many people are using a certain web
application. For example I have an application where 20+ users can log in
and use. Is it possible using C#.net to see how many sessions are open for
a particular application?
Thank you
Maziar Aflatoun
... more >>
LostFocus Event
Posted by Pratap at 12/30/2003 2:01:33 AM
Is there any way to Capture TextBox LostFocus Event in
ASP.NET Web Forms... more >>
Response.AddHeader corrupts Japanese/chinese characters when writing outputstrea
Posted by Joseph at 12/30/2003 1:54:01 AM
Hello. I have this problem. See I have a transformed XML
file and I checked its contents prior to outputting it to
excel file via responseset. here is the gist of the code:
XmlReader reader = myEsiCommand.ExecuteXmlReader();
reader.MoveToContent();
string myCSV = reader.ReadInnerXml();
... more >>
Stupid error - Radiobox list...
Posted by Child at 12/30/2003 1:26:29 AM
I am having errors capturing both the value and the text of my radio box
list selections:
the list looks like this:
<asp:RadioButtonList id="rblReferralFollowThrough" runat="server">
<asp:ListItem Value="Always">Always</asp:ListItem>
<asp:ListItem Value="Almost Always">Almost Alway... more >>
|