all groups > asp.net > april 2006 > threads for wednesday april 19
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
.NET Questions
Posted by Baren at 4/19/2006 11:28:03 PM
Hi! All,
in one of the interviews I got these question. Anyone has any answers to
these?
1. Whis is stateless asp or asp.net?
2. Difference between Response.Expires and Expires.Absolute
Thanks in advance,
Regards,
Baren... more >>
Using Windows API to FTP files in dot net
Posted by aparnasinha26 NO[at]SPAM yahoo.com at 4/19/2006 11:14:45 PM
Hi All,
Can some one give me the details of how to FTP files that is upload and
download files using Windows API in Vb.Net..
Thanks..
... more >>
Atlas
Posted by Brian Henry at 4/19/2006 11:10:39 PM
Few questions
1) Does atlas need to be installed on the web server or will it work if I
just copy the runtime DLL's for atlas into the BIN folder? or is it required
that the file types be registered in IIS?
2) There was a video on the atlas site last month that showed them making an
exam... more >>
Multiview and browser back button
Posted by Liming at 4/19/2006 10:09:00 PM
Hi,
I have a multiview (with 10 views inside). Now on View2, I ask the
user to uplaod a file and click Save to go to View3 and once they get
to view3? If the user hits my "previous" button, View2 needs to display
the filename of the uplaoded file.
Here is the problem.
1. In Firefox 1.5,... more >>
Issue in applying themes to Webparts in ASP.net 2.0
Posted by Ashok at 4/19/2006 10:06:01 PM
Hi
I have some issues in applying Themes to controls programatically, when
controls are inside WebpartZone.
I have put some Webparts inside WebpartZone, i want to apply themes and skin
to those programatically.
When i am trying to set the SkinId for the controls in Page_PreInit( ... ... more >>
Using VS 2005 Express Edition side by side with VS 2002
Posted by den 2005 at 4/19/2006 6:00:03 PM
Hi everybody,
Can VS 2005 Express Edition run side-by-side without affecting each
others projects and applications, new and existing ones? Can you provide info
link where it is stated? Can I install any or all express edition without an
affect on existing applications and new application... more >>
How can I change position of an image dinamically by code in asp.net 2.0 with c#
Posted by yasin at 4/19/2006 5:56:04 PM
I wanna create mobile images in my website. I have to refresh the position
of the image whitout refresh all page also.
... more >>
application pool missing from iis6
Posted by dave at 4/19/2006 5:44:02 PM
I am running windows xp pro with iis installed.
I was looking to see what account my web app was running and noticed that i
do not have any application pools. Why? (is this only a feature of windows
server 2003?) I am guessing this is so.
I noticed that in iis , properties of vdir i noti... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Localization still a pain?
Posted by CMM at 4/19/2006 5:30:06 PM
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on
everything... and of course, everything is explained in cursory softball
terms- not any "real-world" usage way.
I hope someone can give me a clue...
Questions:
1) Do my eyes deceive me or is it true that localiza... more >>
Autopostback Confusion.
Posted by kevin.j.hutchison NO[at]SPAM gmail.com at 4/19/2006 5:11:59 PM
I want to conditionally enable a textbox based on the selection of a
dropdown.
I have 2 entries in the dropdown: Nothing (value 99), Enabled (value
1), Disabled (value 0). Autopostback on the dropdown and textbox are
set to true.
The code in Page_Load is ...
private void Page_Load(obje... more >>
send file (upload) - asp
Posted by Cimento Cola at 4/19/2006 5:03:46 PM
Hello all.
Hope anyone can help me!
I have this form, with:
Please choose your file: (browse)
The main purpose is the user to select a local file and then when he submits
a mail should be sent with that doc as attachment!
When the user submits i have a new asp from where the mail is se... more >>
Formview Question about Dates and Formatting
Posted by David Hearn at 4/19/2006 4:48:43 PM
I have a formview control in my project (VS2005/ASP.NET 2.0) and I have one
field that is a date. I have it formatting correctly as a short date
(MM/dd/yyyy) but when I click the edit link to edit the record, it is
showing the long date/time format. How do I force the thing to only show
shor... more >>
How to reset the colors of a Label to Default
Posted by Peter Kellner at 4/19/2006 4:17:04 PM
How can I set the controls of a Label in asp.net 2.0 back to what ever they
were to start. That is, the foreground and background colors.
Thank
... more >>
How to control what gets returned by command.ExecuteNonQuery()?
Posted by keithb at 4/19/2006 3:49:43 PM
What can I put in a stored procedure to control what gets returned by
command.ExecuteNonQuery()? I already tried this:
param = comm.CreateParameter();
param.ParameterName = "@Success";
param.Value = Convert.ToInt32(1);
param.DbType = DbType.Int32;
param.Direction = ParameterDirectio... more >>
ASP.NET 2.0 FormView with
Posted by sck10 at 4/19/2006 3:49:21 PM
Hello,
I have two FormViews that I am using. One is used just to show some data,
so it is always in ItemTemplate view. The second FormView is used as an
approval section for the first FormView. In the first FormView I am showing
the name wrapped in a html email tag coming from SQL Server. ... more >>
custom membership provider
Posted by Axford at 4/19/2006 2:50:02 PM
Hello,
I am trying to implement my own custom provider for memberships, basically
only id/pwd (no roles). I use the new login web control (I am using asp.net
2.0 and VS2005).
In web.config I followed the examples like:
<membership defaultProvider="AspNetSqlMembershipProvider2">
... more >>
Loosing CSS styles after authenticating
Posted by spelunka at 4/19/2006 2:46:47 PM
Hello, does anyone know why one would lose their styles after
successfully authenticating against forms auth? I'm using asp.net 2.0
and the page that is being redirected to after authenticating is a
content page created from a masterpage.master. Styles are lost on all
controls on all content p... more >>
Caching button data
Posted by BobLaughland at 4/19/2006 2:39:34 PM
Hi There,
Is there a way to cache button images in ASP .NET 2.0.
What I have are buttons on my site which have 3 different images for 3
states,
1) Normal
2) Hover
3) Selected
What the issue is though is that the first time I hover over a buttton
it takes a few seconds to show the hov... more >>
ASP.Net controls & AJAX
Posted by Sharon at 4/19/2006 1:46:21 PM
Hi all,
I was wondering if anyone had experience using ajax with asp.net controls.
What i'm looking for, are ways to implement and possible problems.
A way to implement could be rendering the control on the server side,
and send the html string back to javascript.
A possible problem is the cont... more >>
Missing ASP.Net tab in IIS
Posted by xaviero NO[at]SPAM gmail.com at 4/19/2006 1:41:03 PM
I am missing the ASP.Net tab in the properties section of a virtual
directory in IIS 5.1. I have been doing some research and have not been
able to find a solution that works for me.
Most of the solutions that I have found deal with problems arising from
installing VS05 Beta. I have not installe... more >>
Autopostback and onkeyup event issue
Posted by Brad at 4/19/2006 1:04:08 PM
The first text on my form is a numeric field. I have a javascript that
runs on this field for onkeyup (validate the key strokes and modifies
fields on the screen) but when I do this and have the autopostback on,
the autopostback does not trigger. The autopostback will trigger if I
hit the ente... more >>
Login control can't fire the button event by hitting enter
Posted by sowencheung NO[at]SPAM gmail.com at 4/19/2006 12:35:26 PM
Hi, all
The scenario is like this:
I have a master page, contains two user controls, one is a search
control, another is a login control.
The server-side <form> is in the master page, that's of course.
It seems the search control is rendered first, when I stay in the
search textbox, in... more >>
Validators work on dev box but not in production
Posted by Mark Abbott at 4/19/2006 11:50:55 AM
For several Validators on different pages in my app, they work fine on
my dev box (localhost) but not when the app is deployed to production.
How can I troubleshoot this?
For example, one page has a bunch of RangeValidators. On localhost, the
error text shows up as soon as the bad data is ... more >>
Pop-up Calendar with masterpage
Posted by warrengo NO[at]SPAM gmail.com at 4/19/2006 11:45:38 AM
I have a 2.0 asp app and i'm trying to implement a pop-up calendar. I
can get the calendar to pop-up and select a value, but can not get the
value to pass back to the calling page. Here is the code i'm using:
code linked to an html button
function Button5_onclick(evt) {
//OBTAIN CURR... more >>
Missing Enable Editing checkbox in GridView and DetailsView
Posted by K B at 4/19/2006 11:18:56 AM
I just installed VS 2005...both GridView and DetailsView, I'm using a
SQLdataSource and both controls do NOT have a checkbox for Enable
Editing.
Help please!!!
Thanks,
Kit
*** Sent via Developersdex http://www.developersdex.com ***... more >>
LDAP AD type query
Posted by johnnyG at 4/19/2006 11:07:02 AM
Greetings,
Is there a simple way to get this to work from an ASP.NET 2.0 vb.net page?
I just want the firstname and surname values for a userid and this script
works quite well. I've researched for a while but can't quite find an example
that produces the same result in ASP.NET...
Note: I wan... more >>
Error Inserting Uniqueidentifier Type with ASP.NET 2.0 and SQL Server 2005
Posted by dawg1998 at 4/19/2006 11:01:41 AM
I am attempting to create a record that has a uniqueidentifier
datatype. I am receiving the following error each time I attempt the
Insert:
Incorrect syntax near '-'
The following is the code I am using to execute the Insert:
Dim strSQL As String
Dim objConn As SqlConnect... more >>
customvalidator clientsidescript?
Posted by Dabbler at 4/19/2006 10:52:02 AM
I'm trying to use a custom validator but it seems to trigger no matter what I
do. I'm not sure i'm referencing the controls involved correctly from the js.
My FormView is named fvRegDetail. I've tried both just the control name and
the formview name appended with the control name as I find it i... more >>
How to disable a GridView delete button depending on a value in the datasource?
Posted by keithb at 4/19/2006 10:26:20 AM
I have a GridView control that has a delete button (hyperlink) in one
column. The datasource table contains a column that has a true/false
indicator showing whether or not the record can be deleted. How can I
enable/disable the delete button depending on the value of the indicator?
Ideally, ... more >>
Need help with N-Tier construction (Business layer)
Posted by Paul at 4/19/2006 10:24:01 AM
Hello, and thanks for listening.
I have a Stored Procedure as follows:
--
PROCEDURE [PaoloPignatelli].[GetOneStoreByUserName3]
-- Add the parameters for the stored procedure here
@UserName Nvarchar (50)
AS
SELECT StoreID
FROM dbo.Stores
WHERE (StoreOwnerUserName = @UserName)
... more >>
Datagrid: Old data after update
Posted by marty at 4/19/2006 10:22:34 AM
I did some searchs, but can't find the answer to my problems.
I have a editable DataGrid.
I do an update of one of the rows.
Postback "OnUpdateCommand"
Call Oracle proc to do that actual update, which in turn creates a new
row (effective dating).
Call BindGrid which retrieves the rows and bi... more >>
namespace confilct....
Posted by Jéjé at 4/19/2006 9:03:19 AM
Hi,
I'm using the ADOMD.Net 9 in my web site + a third party web control which
used the ADOMD.Net 8.0.
Everytime I compile my web site in VS 2005, a referecne to the 8.0 library
is added this cause a namespace conflict.
So I must remove the 8.0 reference in the web.config and the site wor... more >>
Treeview Controls without a <table>
Posted by James Coleman at 4/19/2006 8:29:02 AM
I am using the TreeView control in ASP.NET 2.0 and like it. However, our
sitebuilders aren't too pleased with the idea of the table that gets
rendered. They are big into avoiding <table> tags when it comes to site
build.
So is there a way I could have the following html be rendered from t... more >>
Help with DBNull issue when displaying images
Posted by mosipenko NO[at]SPAM hotmail.com at 4/19/2006 7:14:07 AM
I have a website that has articles and images. The articles are stored
in one table, and if they have an image associated with them, it's
stored in another table with a common id linking them. I can pull all
the information fine into labels, and if the ImagePath field is NULL,
then it just doesn... more >>
Gridview / Form View Question
Posted by John Daly at 4/19/2006 6:44:03 AM
I am using a Gridview to display a phone directory, with paging on. I have a
link button that a user clicks to add a new record, which reloads the page,
sets the visble property to false on the gridview and shows the form view in
insert mode. Upon saving, the process is reversed. All is well a... more >>
extending Datagrid - problem
Posted by CharlesA at 4/19/2006 6:32:01 AM
Hi folks,
first off, I'm using Framework vs 1.1 with ASP.net and C#
I'm trying to extend the System.Web.UI.Webcontrols.DataGrid, and the only
thing I want to extend is the Render method (in order to add <thead> and
<tbody> elements)
so far so good
I've placed this code into another pro... more >>
ObjectDataSource and DataSets
Posted by Chris Fulstow at 4/19/2006 6:22:03 AM
Hi all,
I'm investigating the best approach for building an n-tier web
application with ASP.NET 2.0. I want to separate my data access layer,
so an ObjectDataSource seems the natural choice, but I can't decide
whether to supply it data from a custom business object, or a DataSet
created with... more >>
Use a DAL ?
Posted by Larry R at 4/19/2006 5:51:47 AM
Ok, I *should* know the answer to this but...
I am working on a fairly simple intranet Asp.Net 2/SQL2000 project. On
90% of the functions, the data is basically one-to-one table updates
handled by a gridview.
I was planning on creating a DAL and accessing it via ObjectDataSource
controls, but... more >>
dynamically adding buttons to an ASP page
Posted by Patrick at 4/19/2006 5:46:42 AM
Hello,
I have an ASP page, where I want to add buttons dynamically.
I used C# and a for-loop do to this. The button generating code looks
like this:
Button bt1 = new Button();
bt1.Text = "Download";
bt1.ID = "" + id;
bt1.Click += new EventHandler(download_Click);
Placeholder1.Controls.Ad... more >>
Need help for counting records in asp.net
Posted by joshimahen NO[at]SPAM gmail.com at 4/19/2006 4:46:16 AM
I have created 4 datagrid in different controls and these controls I am
calling in home page. Now I want that if there are more than 20
rows(for all 4 controls or it may be 1 or controls also) in that screen
then one more button should display and remaining recored and controls
should display in... more >>
Selecting a file on an Editpage
Posted by Nenefta at 4/19/2006 4:43:21 AM
Hi all,
How would I go about creating an editpage where the user can select a
file (e.g. using the UploadFile Control)? The selected filename will be
stored in a DB. However, I need the page to show this filename in that
same control when the user comes around this page a second time to edit
... more >>
Listbox dropdown SelectedIndex resets after postback
Posted by devNorway at 4/19/2006 2:08:17 AM
I have been struggling with a problem for days now, and searched for
related problems and solutions but had no luck.
I have two dropdown listboxes where the first is populated in page load
and the second is populated based on the input in the first. The first
dropdown is inside a "If Not Page... more >>
Proper permission
Posted by mamin at 4/19/2006 12:28:38 AM
Hi,
I have web application running under IIS 6.0 on Windows 2000 Server.
The application is not publicated as Default Web Site, but I've created
another instance of IIS, especially for this application. As my
application have to manage some windows service, I have to use
<identity impersonate... more >>
cacheing static parts of a ASP.NET page on the client
Posted by urs.eichmann NO[at]SPAM gmail.com at 4/19/2006 12:25:48 AM
Hello,
several parts of the pages of my ASP.NET 2.0 site are mainly static,
such as a treeview with all the product categories, a menu bar, the
company header and so on. But they also have a dynamic part, such as a
product list. If I look at the rendered HTML, the static parts are
roughly 60%-7... more >>
Short Question on Performance
Posted by Christian Döring at 4/19/2006 12:00:00 AM
Hi,
Is it ok to create a new instance of a class on every Page_Load?
Given the following code behind a form:
protected void Page_Load(object sender, EventArgs e)
{
myclass= new MyClass(myControl);
}
protected void btnStart_Click(object sender, EventArgs e)
{
... more >>
Time Selecting
Posted by Alper Özgür at 4/19/2006 12:00:00 AM
Is there anyway to add a time selector in asp.net 1.1
... more >>
@ How to change Password in Active Directory with ASP.NET 2 ?
Posted by moi at 4/19/2006 12:00:00 AM
Hello,
Could you show me a sample of asp.net 2 code that change the password of an
user in Active Directory (windows server 2003) ?
What about security ? Shoud i use Https ?
Thanks a lot !
... more >>
2.0: infinite page load
Posted by R.A.M. at 4/19/2006 12:00:00 AM
Hello,
(Sorry for my English...)
Could you help me please? I have little experience.
I have a page with a hyperlink to another one. When hyperlink is
clicked the second page is not displayed because progress bar in my
browser continuously runs (first I see long process of page load, then
I s... more >>
|