all groups > asp.net > february 2005 > threads for monday february 28
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
Object Moved to here
Posted by Ganesh Ramamurthy at 2/28/2005 11:45:03 PM
Hi Experts,
I am getting the following error when I do a Response.Redirect from an aspx
page to another aspx page. I am using the following code in my global.asax
Application_Error event to redirect to an error page.
Session["Error"] = Server.GetLastError();
Response.Redirect("Err... more >>
Using SQL TimeStamps in datagrid
Posted by Craig G at 2/28/2005 10:23:30 PM
im not too sure how i should be storing the SQL2000 timestamps
basically i return a dataset which is used to populate an editable grid.
this dataset contains the timestamp. how should i be storing the timestamps
for each grid row? is it possible to hold them in the grid in someway? or do
i nee... more >>
Height of checklistbox
Posted by Vikram at 2/28/2005 10:22:33 PM
I want to fix the height of checklistbox control so that
when items exceed the height, than vertical scrollbar
should be displayed.... more >>
using VS.NET ASP1.1 and Visual Web Developer ASP2.0 on the same PC
Posted by Patrick Olurotimi Ige at 2/28/2005 10:22:19 PM
I have ASP.NET 1.1 (VS.NET 2003)
But i'm thinking of installing Visual Web Developer which i think it
comes with ASP 2.0.
If i install both VS.NET 2003 and Visual Web Developer on the same PC
can i run ASP.NET 1.1 and 2.0 on the same PC with no hassles???
*** Sent via Developersdex http://w... more >>
3-tier data layers seperation
Posted by Mike at 2/28/2005 9:41:53 PM
Dear people ,
I have a question about seperating data code from presentation code for,
like in client server applications. The example i am looking for goes
about the topic data layer. In my server code i often use the same code
for connecting, calling the data adapter and the dataset, and the... more >>
Problem with Web.HttpUtility.UrlDecode
Posted by Lloyd Sheen at 2/28/2005 9:29:25 PM
I have a file name which will not decode correctly with the
Web.HttpUtility.UrlDecode routine.
The original file name is :
"G:/MyMusic/iTunes/iTunes%20Music/38%20Special/Rock%20&%20Roll%20Strategy/01%20Second%20Chance.mp3/"
The file name after the routine is:
"G:/MyMusic/iTunes/iTunes ... more >>
Displaying images from a DB using a Repeater control.
Posted by Jim at 2/28/2005 9:23:02 PM
I am trying to display images that are stored in a database, and I am using a
repeater control. What I still use the Response.BinaryWrite method with a
binding expression, if so, what with the code look like?... more >>
configuring application folders
Posted by gh0st54 at 2/28/2005 9:21:01 PM
Hi
I would like to know how to configure an application folder from .net code
I would like for my site ( asp.net in c# ) to be able to
create a folder from asp.net (this part i know)
configure the new folder as an application folder (this is what i'm looking
for )
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ListItems as checkbox in a listbox
Posted by Vikram at 2/28/2005 9:12:05 PM
Can we have a listbox containing checkboxes in asp.net.
I do not want to use checkbox list control as it does not
have scrollbar facility.... more >>
DateTime Instance problem
Posted by I am Sam at 2/28/2005 7:45:02 PM
I have created this DateTime object and instanced it I think correctly
DateTime myClubNow1=new
DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day,DateTime.Now.Hour,DateTime.Now.Minute,DateTime.Now.Second);
I keep getting the below error:
Object reference not set to an instanc... more >>
Adding new records to a grid dynamically
Posted by AnandaSim at 2/28/2005 7:17:09 PM
Hi All,
I've read about the standard asp.net controls and other general info.
I'm puzzling out how to make a "register new member" webpage - with the
ability to allow for at least one interest. That is, I'm thinking of
having a drop down list which allows one area of interest, and if the
par... more >>
Navigating to page position on post back...
Posted by Jim at 2/28/2005 7:11:03 PM
I have a drop-down list that posts back to the server, but on post back the
page scrolls all the way to the top and I would like to have it go to a
certain anchor. Does anyone know how to accomplish this without having to
Response.Redirect?... more >>
RedirectFromLoginPage not redirecting to RedirectUrl
Posted by jjjooooohhnnn NO[at]SPAM mail.com at 2/28/2005 7:08:50 PM
Greetings,
I have encountered what appears to be a fairly common problem:
RedirectFromLoginPage is not redirecting to RedirectUrl. I have tried
all the advice that I could on the 'net, and nothing has worked yet. My
problem is very simple. I want to redirect from a login page to the
default p... more >>
ASP.net -> Mozilla
Posted by cmk128 NO[at]SPAM hotmail.com at 2/28/2005 7:08:03 PM
Hi All
website written in ASP.net cannot run in mozilla. But now, hotmail
can, how can we do that? How can we make sure the asp.net code is
mozilla compatable during coding?
thanks
from Peter (cmk128@hotmail.com)... more >>
Updating a texbox with Javascript
Posted by Denise at 2/28/2005 5:55:04 PM
I am working with some pre-written code that dynamically builds a page with
user controls based on data. I need to attach my Javascript to one of the
controls on the form - I do not have access to the code of the master page.
Because of this my <javascript> ends up inside the <form> tag. I ... more >>
how to dispose and object nicely.
Posted by Asha at 2/28/2005 5:29:04 PM
hello,
i wants objects to be clean up after a page close, either by a button or by
clickingon the x on the top right of the browser.
so in vb.net i would use the finalize method... but how can this be done in
c#? i want a finalize a methond. thanks... more >>
IP Address Question
Posted by hecsan07 at 2/28/2005 3:57:04 PM
How do I find out the IP Address from of a server for which I only have the
physical path. My company sends financial email messages to its subscribers.
The messages are delivered from different servers. I am logging each sent
message, but I can't figure out how to log the IP address of the se... more >>
Help on Error - Unable to detect the web server!!!!
Posted by sikkavarun NO[at]SPAM gmail-dot-com.no-spam.invalid at 2/28/2005 3:48:40 PM
hi,
im a just a starter in the .net.I have to make a project on asp.net.Im
using windows XP and have IIS 5.0 Installed on it.I have configured
all the properties of a web server.But when i compile my code in
asp.net it alwaz shows an error Unable to detect web
server or u r denied access on th... more >>
Fire Custom Validator on AutoPostback
Posted by tshad at 2/28/2005 3:48:04 PM
I am trying to fire the CustomValidator when I leave the Email field.
Following is the code. It does PostBack, but the CustomValidator doesn't
seem to be firing.
<asp:TextBox AutoPostBack="true" Columns="45" ID="email"
runat="server" TextMode="SingleLine" />
<asp:CustomValid... more >>
sending inline image in email via .net smtp mail
Posted by Ersin Gençtürk at 2/28/2005 3:47:03 PM
Is it possible to send images as inline images via asp.net send mail ? I
don't want them to appear as attachments in the email.
... more >>
Image viewer with a twist
Posted by Troy at 2/28/2005 3:37:02 PM
Hi all,
Im a little new to ASP.NET.
I'm looking to create an image viewer that zooms in, pretty common. But I
need to draw a box on the 1:1 scale image and 'zoom in' on another picture
box. The box outlining the zoom area would change in size according to the
level of zoom of course.
... more >>
Reading UC variable from page. (Again... ;o)
Posted by darrel at 2/28/2005 3:14:57 PM
Karl has helped me in the past in regards to communicating between controls
and pages:
http://www.openmymind.net/communication/index.html#3.1
I ended up going down the interfaces path and actually got that working
fairly well, but, then, in the end, decided that was overkill and that it
wou... more >>
ASPNET User on Win Server 2003 Domain Controller
Posted by SL at 2/28/2005 3:13:35 PM
How do I set up access to a file on a Windows Server 2003
Domain Controller that also has IIS? The file sits on
another server. The Domain Controller / IIS server
connects to this file through a share. Domain controllers
have no local users so ASPNET user is not available.
Microsoft ... more >>
Write to webpage from code behind
Posted by Ben at 2/28/2005 2:44:27 PM
Hi
I have a string variable which is populated in the Page Load sub of my vb
code behind for my webpage.
I cannot seem seem to write this text to the webpage.
What is the best method of achiving this.
Thanks
B
... more >>
Writing errors to the Event Log
Posted by MattB at 2/28/2005 2:18:28 PM
I'm writing some code to log errors in a web app (vb/asp.net). I found a
straightforward-looking example here:
http://www.c-sharpcorner.com/Code/2002/May/CustomErrorHandlingASPNEt.asp
But mine doesn't seem to be working.
If I step through the code I put in global.asax.vb it seems to get to ... more >>
How to secure my webserver
Posted by Raghu Raman at 2/28/2005 2:12:49 PM
Hi
we maintain the .net app in our webserver.
It is assigned a public ip,so that our client could easily see and work
with the project we design.
simply by typing the Ip address followed by the virtual dir name ,they
could open our .net app running.
**
Is it possiable to the intruders t... more >>
creating property in web services
Posted by ypul at 2/28/2005 2:07:06 PM
How to use properties in webservice ?
if I want to create a webservice as my middle tier and want to create
public properties so that the presentation layer can assign values to the
property and then call insert() method in webservice. how should I do that I
web service does not allow pub... more >>
Unable to open ASP.NET Project using VS .NET 2003
Posted by Srinivasan Vasudevan via DotNetMonster.com at 2/28/2005 1:58:00 PM
Dear All,
I am having windows 2003 server as Operation System and iam using Visual
Studio .NET 2003, my problem is if i open the ASP.NET project the
application showing the below given error.
"The Web was created successfully, but an error occured when trying to
configure the applicati... more >>
Seeing the source code created for an ASPX page...
Posted by Patrice at 2/28/2005 1:56:18 PM
What is the easiest way to see the code created by ASP.NET for an ASPX page
?
In 1.1, I use i/i to get a compile time error so that ASP.NET shows the
code. In 2.0, it runs fine showing NaN (Not a Number).
The code seems temporary and I guess the file is deleted almost as soon as
compiled.
... more >>
Filepath lookup from id
Posted by Andreas Zita at 2/28/2005 1:32:15 PM
Hi
The code below takes an id and return the corresponding image-stream. My
Album-class scans the provided dir for images and tags them with id and
filePath on server. In my current approach the m_album is re-generated each
time a request is made. However I would like it to be generated only o... more >>
Dispose called twice
Posted by Sharon at 2/28/2005 1:28:22 PM
Hi.
I put a message box in the form designer, Dispose method.
Clicking the form close (X) button, i noticed that the message,
appears twice.
My code does not call Dispose.
What is happening here?
Thanks.
Sharon.
... more >>
xslt, multiple transforms
Posted by Random at 2/28/2005 12:52:43 PM
Can anyone provide a good example of the simplest way to do multiple
transformations on an xml file? I start out with an xml string and three
physical xslt files, and want to transform the xml using all three
stylesheets, one at a time, and end up with a result xml string.
All the examples I ... more >>
Latest .Net 1.1 patch causes aspnet_wp.exe not to work
Posted by John Blair at 2/28/2005 12:31:44 PM
Hi,
I updated the latest .Net patch on my system this moring and now my SQL Web
Data Administrator application is not working. I get the following error:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hi... more >>
Distinguishing Between IE Windows
Posted by Nathan Brady at 2/28/2005 12:15:05 PM
Does anyone know of a way on the server side to distinguish between browser
windows on the client's computer? Any help would be greatly appreciated.
Thanks,
Nathan... more >>
Sorting and Paging in a repeater
Posted by mattcur NO[at]SPAM gmail.com at 2/28/2005 12:07:58 PM
I am creating an app that lists clients of a company for management of
different attributes for that company. The first page is a listing of
the companies currently in the database. I have my repeater working,
and paging/sorting works, but there is a small bug that I can't seem
to figure out.
... more >>
Help - Server Control Hierarchy Built Twice
Posted by robotalphaomega NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/28/2005 12:02:04 PM
I'm sure this is a design question that is commonly encountered, but I
can't find any resources which explain how to solve it. I would deeply
appreciate any advice.
Basically, when building a composite server control, I'm trying to
avoid having to build the control twice. Here's why this happe... more >>
ASP.NET text in image
Posted by marko at 2/28/2005 12:01:29 PM
I have created a small script in ASP.NET using VB.NET for creating pictures
with text inside. Now I have a problem how to use my own font directory, and
not Windows system fonts directory.
How to read available fonts an put on of them into the objFont? Thanks!
m.
... more >>
Datagrid update command
Posted by siaj at 2/28/2005 11:59:05 AM
Helo All,
If some one has faced a similar issue..
My datagrid Update command is not getting fired in fact it seems that the no
event fires on clicking the update link. Although the cancel and the Edit
Commmand are getting fired properly.
The One difference I have seen is that in the task ba... more >>
Let User Drag to Re-Size Image
Posted by ACaunter at 2/28/2005 11:55:03 AM
Hi there,
I was wondering if there is a way to allow the user to resize an image by
clicking and drawing on of the four corners of the image..
thanks
--
AdamPC@hotmail.com... more >>
Looking for Web Server of XP Home Edition
Posted by Wayne Gibson at 2/28/2005 11:49:26 AM
Hi,
I'm looking at deploying my website to run on workstations/notebooks. Some
of these are running Windows XP Home Edition, which doesn't have IIS or
PWS..
So was wondering if anybody could suggest a Web Server that will run on XP
Home for ASP.NET 1.1 and possibly ASP.NET 2.0..
Any Id... more >>
Problem with lengthy process
Posted by atefshehata NO[at]SPAM hotmail.com at 2/28/2005 11:36:00 AM
hi all,
i'm using iis6 installed on win2003 , dotnet framework 1.1 .
My problem is..
a page on my application have a lengthy process which takes about 4
minutes (performing database transactions ..) to completes.
user click on the transaction button to start this lengthy process.
after... more >>
"Downloading" datagrids
Posted by spammy at 2/28/2005 11:30:22 AM
Hi all,
I have developed a pretty straightforward web app which displays the results
of a query in a datagrid.
I want to provide a "Download as csv" link, but want to generate this
without having to requery the database.
What's the best way to persist the underlying datatable? It's runnin... more >>
where should I dispose the connection ?
Posted by ypul at 2/28/2005 11:15:03 AM
the code below given is connection class ... now I want to use the
connection in another class , by using the getConnection method.
where should I call con.dispose() ?
in connection class or in the caller class ?
if I call con.dispose in connection class as given below ..will I be able to
... more >>
DataFormatString with euro as currency?
Posted by news.wanadoo.nl at 2/28/2005 11:10:15 AM
Hi,
Is there a sollution for a DataFormatString as currency that shows always
the euro sign: ?
<asp:BoundColumn DataField="UnitCost" HeaderText="Prijs"
DataFormatString="{0:c}"></asp:BoundColumn>
<%# DataBinder.Eval(Container.DataItem, "UnitCost", "? {0}") %>
Both gives when I put t... more >>
Websites with Audio Features?!?!
Posted by ACaunter at 2/28/2005 10:49:05 AM
Hi all,
I am in desperate need of being able to have the users of my asp.net site to
be able to make a recording from their computer mic, and save that audio on
my server.. the user should be able to play back the recording with fast
forward, rewind, and pause features...
If you can provid... more >>
DataGrid edited row and jScript
Posted by SergioT at 2/28/2005 10:35:21 AM
Hi
I wanna to create a jscript function that sets the value of a textbox into a
datagrid, But the problem is How can I obtain the name of the textbox and
send it to my jscript function???? The textbox is in a TemplateColumn
The Idea is sent to the funcion the name of the control and then... more >>
can Cached read only data hurt performance?
Posted by Julia at 2/28/2005 10:29:50 AM
Hi,
I have basic questions regarding ASP.NET site
I am going to use Microsoft application configuration block and I wonder
1.does caching read only data in the application can hurt performance when
multiple request arrived?
(multiple pages read the cached data)
2.Instead of caching... more >>
SQL Parameter question
Posted by hecsan07 at 2/28/2005 9:55:03 AM
I am writing some code that passes two parameters to a store procedure. One
of the parameters is an output parameter. I am querying the DB using the
input value and returning a field from the result using the output parameter.
The issue is that when I run the ExecuteNonquery command I get the ... more >>
Asp.net to excel export format cells
Posted by gontierj NO[at]SPAM hotmail.com at 2/28/2005 9:18:44 AM
Hi,
I'm actually trying to export a repeater to excel, everything seems ok
but the problem is that the cells are not validated
This means that for example date, it is left-centered instead of been
right-centered when it is correctly validated, apprently excel doesnt
recognize the numbers with c... more >>
global function in asp net
Posted by ray well at 2/28/2005 9:09:59 AM
hi,
i have a function i need to use in various aspx pages and would like to keep
it in one place instead of duplicating it in every page i want to use it.
i tried puting it in 'Global.asax' declaring it as public, thinking it would
have a global scope, but when i called the function in a asp... more >>
Problem with Metabuilders combo
Posted by Craig G at 2/28/2005 9:09:54 AM
i've emailed metabuilders themselves but was just wondering has anybody =
else ever had this problem?
I am populating the combobox using a SQL2000 table. The combobox =
populates successfully with the required values but for some reason the =
SelectedIndexChanged will not fire, and it always h... more >>
Help with a Web Page
Posted by psmith NO[at]SPAM mcwy.com at 2/28/2005 8:55:52 AM
Hi I am new to this game and I have finally managed to create my first
ASP.Net application, where users from my company log IT related
problems over the local intranet\internet via IE.
I can get everything to work using my machine, but when I put it onto
a different machine (ISAServer), or eve... more >>
Container.DataItem or DataBinder.Eval
Posted by JohnZing at 2/28/2005 8:54:22 AM
Hi,
Should I use
<%# Container.DataItem("Author")%>
or
<%# DataBinder.Eval(Container.DataItem,"Author") %>
What's the difference between both?
Thank You... more >>
space between controls
Posted by Alejandro Penate-Diaz at 2/28/2005 8:39:56 AM
hi. perhaps a silly question, I have several textboxes, each in a new line,
problem is that the space between them (vertically) is to much, how can I
reduce that space?
tnx, Alejandro.
... more >>
nested usercontrol not calling LoadViewState method.
Posted by Peter Rilling at 2/28/2005 8:04:29 AM
Okay, I am probably missing something simple so here is my problem.
I have a page. On this page I have a usercontrol. On this user control I
have another usercontrol. On each usercontrol I override the LoadViewState
and SaveViewState methods.
Now, the first time the page loads (non postba... more >>
Could not load type 'helpdesk.WebForm1'
Posted by Lucas Ponzo at 2/28/2005 7:55:05 AM
In my local server, the deployed application works fine. But on the
production server (on the internet), I'm getting the Could not load type
error message.
The application was previously deployed (via standard FTP) sucessfully and
worked, but now, I get this strange error.
I'm using A... more >>
"Bit" field in SQL Server
Posted by bijoy at 2/28/2005 7:48:05 AM
I am in the process of upgrading my application db from Access to SQL
Server.
With the Access backend, I had queries such as "UPDATE table SET
fieldName = True". SQL Server doesnt seem to like TRUE as a bool value,
instead it requires 0 and 1.
My queries are based on user input, so if a che... more >>
piggy-back on Forms Authentication cookie?
Posted by Paul W at 2/28/2005 7:46:11 AM
Using Forms Authentication, I'd like to 'piggy-back' a small piece of
information onto the authentication cookie.
I tried the following, but this seems to invalidate the cookie, so
IsAuthenticated becomes false:
System.Web.Security.FormsAuthentication.SetAuthCookie(Username, False)
Di... more >>
Link button Problem
Posted by easyboy52 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/28/2005 7:45:48 AM
I have a table called Student in my Database
StudentID, Firstname, Lastname, Email, City
Now I have created a webpage to retrieve all students. First I have a
datagrid that only display the student firstname and lastname
Secondly, when I click on any of the student, the information about
... more >>
create csv and zip file from dataset
Posted by blarfoc NO[at]SPAM yahoo.com at 2/28/2005 7:37:07 AM
Hi, I have a question that should be easy to do. I need a user to be
aable to get the contents of a dataset to a csv file in a zip file.
Here is my example. The user will run a store procedure that is to
return 12 datatables. Each data table is the same schema and each is
for each of 12 month... more >>
C# Lang Question
Posted by Raed Sawalha at 2/28/2005 7:09:09 AM
I still beginner in C# and i wondering what below line (*) means
public abstract class DataCollection : ICollection, ISerializable,
IDeserializationCallback
{
private const int defaultCapacity = 8;
protected DataCollection() : this(defaultCapacity)
//(*) This Line why... more >>
error on the server when trying to run PowerPoint from asp.net cod
Posted by viktor9990 at 2/28/2005 6:33:05 AM
I have an application in asp.net where from code I open a powerpoint
presentation and save it to html. It is working well when running on my
computer (after editing in the DCOM locally) but when I deployed to the
server(and changed in the DCOM as I did locally) I got this error Message
below... more >>
Differentiating a normal window from a popup window.
Posted by Suma at 2/28/2005 6:19:04 AM
Hi all,
Is there any way from which we can find out if a window is opened as a modal
window or as a normal window?
I have a screen which opens as a normal window in one case and in other case
it opens as a modal window.
I want to differentiate these two conditions.
TIA.... more >>
WSE352: The size of the record uuid:... exceed its limit
Posted by acoulson at 2/28/2005 6:01:38 AM
I'm trying to use DIME to transfer a large attachment via webservices,
but can't get around a "WSE352: The size of the record
uuid:ba1c20b5-8a6c-4675-96d3-191258cdcc1e exceed its limit" error.
I've installed SP2, set the maxRequestLength to 2097151 in
<httpRuntime> and <microsoft.web.services... more >>
Create read-only document from generated ASP.NET page (aspx)
Posted by Fredrik at 2/28/2005 5:05:02 AM
How to I solve the following requirement on my application?
On a generated aspx page, there should be a
button "Create Document". When the user clicks
this button, the application creates (on the server
side) a read only document of the current page
and returns this do... more >>
.Net setup/debug issues
Posted by geodev at 2/28/2005 4:53:04 AM
Hello,
I’m attempting to develop an asp.net application.
I have the following installed on my workstation: XP SP2 with all the latest
updates; IIS version 5.1 as part of the XP install; MS Visual Studio .Net (MS
development environment 2002).
After I have typed out some basic code I ... more >>
Save state when create image
Posted by Mango at 2/28/2005 3:50:46 AM
Hi there, I will be very happy if someone helps me. I need to create dynamic
image, and save the state between the postback. I mean I've got 5 buttons
and when I click on one of them, the image is creted with:
System.Web.UI.WebControls.Image Img1 = new
System.Web.UI.WebControls.Image();
Img... more >>
web access failed - argghh
Posted by Microsoft at 2/28/2005 3:47:36 AM
Hello all,
Here's the setup:
I've got VS.NET 2003 installed on a Windows 2003 Server. I've got multiple
sites configured as listed below using host headers:
dev.mydomain.com
ip: 127.0.0.1
host headers: dev.mydomain.com, empty (as in no value)
root directory: e:\web sites\dev.mydomain.... more >>
Export and Import from Excel into a Web page
Posted by Siu at 2/28/2005 2:59:05 AM
Hi,
I use the following code to export and import a file Excel from resp. into a
Web page with the following code:
//EXPORT
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/vnd.ms-excel";
Response.Charset = "";
this.EnableViewState = false;
System.IO.String... more >>
Getting selected text values
Posted by Hassan Bassam at 2/28/2005 1:37:02 AM
I am having a problem. How can I get the selected text from a text editor.
I am using ASP.NET and VB as language.
Thanx... more >>
Changing text box value
Posted by John at 2/28/2005 12:30:22 AM
Hi
I have users entering dates in a text box. Is there any way I can change the
year to two digits (like 1/1/05) if they enter only one digit (like 1/1/5)?
Thanks
Regards
... more >>
Out of Memory, how to monitor?
Posted by Olav Tollefsen at 2/28/2005 12:16:24 AM
I'm getting Out of Memory exceptions in my ASP.NET application.
Which perfmon counters should I monitor to see what my current memory usage
is vs. the limit?
Olav
... more >>
|