all groups > asp.net > february 2006
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
Ecommerce Server Requires Daily Reboot
Posted by dm1608 at 2/28/2006 11:40:47 PM
I have an Ecommerce application that uses mostly ASP and a bit of ASP.NET.
Monitoring the servers memory via SNMP every 5 minutes would indicate that
there is a memory leak somewhere within the application. Of course, the
vendor says its a "Microsoft IIS" issue and tells us to reboot the serv... more >>
GridView Column Color Change
Posted by dm1608 at 2/28/2006 11:30:07 PM
I have a GridView that is using an ObjectDataSource to populate.
One of my columns is named "Status" and can have a value of "Complete",
"Error", "Active", and "Unknown". I would like to have the text for the
word "Error" displayed in RED letters. How can I do this with a GridView
contro... more >>
Problem in running ASP.NET web application
Posted by David Dvali at 2/28/2006 11:23:58 PM
Hello.
I had installed Visual Studio 2005 and working on ASP.NET application, now
for supporting one of my old projects I need to install Visual Studio 2003,
so I need both VS2003 and VS2005.
But when I install Visual Studio 2003 I and run ASP.NET web application it
shows me error that it ... more >>
Gridview: Get the value in the cell
Posted by G. Whiz at 2/28/2006 10:29:53 PM
MsgBox(GridView1.SelectedRow.FindControl("FirstName"))
This doesn't work.
How do I get the value of
FirstName?????????????????????????????????????????????????????????????????????????????FKNA??
... more >>
Unable to re-enable a radio button if disabled server-side
Posted by xazos79 at 2/28/2006 10:23:42 PM
Hi All,
I've come across the problem of not being able to re-enable a radio
button with javascript if its initial state has been disabled in the
Page_Load() method of the code behind.
Might i add that it behaves fine in Firefox, but IE is unable to
re-enable the radio button. IE is fine if ... more >>
System.ExecutionEngineException problem
Posted by John at 2/28/2006 10:05:03 PM
I have a stable app developed on ASP.NET 1.1 that I'm porting to 2.0.
However, I've noticed that on one page, if I click a button to perform some
business logic (which runs fine), then click on a hyperlink to move to a
different page, I get a 'System.ExecutionEngineException' exception. There... more >>
Iterating through all the menu/child items in a menu control
Posted by Bryan at 2/28/2006 9:35:36 PM
How do I iterate through all the items and all child items in a menu control
in asp.net 2.0?
Thanks, Bryan
... more >>
spit out SelectCommand
Posted by G. Whiz at 2/28/2006 8:45:34 PM
How can I see what the
SelectCommand is sending, using a gridview?
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Deploying VWD Express App to IIS using SQL Express w/ Membership i
Posted by Carl M. at 2/28/2006 7:56:27 PM
Okay, I'm 18 hours into this now and am at a loss. What I've done is create
an application on my local workstation using VWD Express using the
membership/roles provider and SQL Server Express configured for local
authentication. I have an aspnetdb database in my app_data folder configured
... more >>
Supporting Languages - Welsh ?
Posted by Adrian Parker at 2/28/2006 7:38:30 PM
How do I add the Welsh language to IE6 ?
And what would the ISO code be for it ?
I've tried using the User Defined cy as some sites say, but the following
code just uses the catch block as it's not found.
Try
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(R... more >>
VWD: ID property on Textbox, label
Posted by G. Whiz at 2/28/2006 6:34:41 PM
I change the ID property on these guys and they immediately reset back to
Label1, TextBox3 etc.
What gives?
... more >>
ObjectDataSource's underlying data/schema
Posted by Dick at 2/28/2006 6:05:26 PM
How do I get to an ObjectDataSource's underlying data/schema. I thought it
would have a DataSet property but I can't find it. So how do you find out
about the data and/or the schema used to populate a bound control such as the
GridView?
Specifically I want to do something like this...
Fo... more >>
Avoiding & when adding a JavaScript event handler using Attributes.Add()
Posted by Nathan Sokalski at 2/28/2006 5:26:25 PM
I add a JavaScript event handler to some of my Webcontrols using the
Attributes.Add() method as follows:
Dim jscode as String = "return (event.keyCode>=65&&event.keyCode<=90);"
TextBox2.Attributes.Add("onKeyPress", jscode)
You will notice that jscode contains the JavaScript Logical And ... more >>
Combine results of two Dataset in memory
Posted by Imran Aziz at 2/28/2006 5:10:17 PM
Hello All,
I have a dataset that I populate using a SQL Server database, and the
second one that I populate using a mySQL Server database, I need to combine
the results in memory and then sort them, how do I go about doing that ?
This is a search query, so I do not want to create another ... more >>
Composite Control: Changes not being stored on postback
Posted by Mark Olbert at 2/28/2006 4:27:14 PM
This involves a family of related, databound ASPNET2 composite controls.
I've managed to arrange things so that the composite controls restore themselves from ViewState on postback after they're initially
configured during DataBind(). Thanks to Steven Cheng for pointing out that you have to set ... more >>
Hosting Advice
Posted by Jonathan Wood at 2/28/2006 4:26:44 PM
After hosting with Pair for some time with reasonable satisfaction, it looks
like I need to find another hosting service in order to host on .NET (2.0).
Does anyone have any recommendations or horror stories about companies that
provide .NET hosting? My current plan provides 4GB disk space/12... more >>
MultipleWebsites\Sessions
Posted by gh at 2/28/2006 4:23:33 PM
We have a static website created with dreamweaver and a database website
created in ASP.NET. Both sites have a the same url name, but one ends
with .org and the other is a .com. The user gets to the ASP.NET site by
ckicking a link on the static site. We have a grid that displays
images, w... more >>
Login, visual studio 2005, need help
Posted by Jarkko Turpeinen at 2/28/2006 4:18:55 PM
Hi,
can someone tell me how can I create login in visual studio 2005?
like a, when I try to access to some folder with browser it ask everytime to
login first to get in there before I can see the data within?
folder
login<- this comes like a popup when I want to see otherpage or
... more >>
Dynamically Populating a Gridview
Posted by Isoaxis NO[at]SPAM gmail.com at 2/28/2006 4:18:26 PM
On the page in question I have a gridview that displays the list of all
products in the Products table of the DB. That gridview is bound with a
sqldatasource using Visual Studio's "wizards". The gridview is paged at
10 rows. Anticipating the client entering in many, many products, I
want to allo... more >>
in search of asp.net super guide for the lazy man
Posted by neilmcguigan NO[at]SPAM gmail.com at 2/28/2006 4:12:48 PM
anyone know of a good article or book that answers stuff like this:
when to use COM+ or not
how to [and how to not] setup load balancing
how to localize/internationalize your site properly
smart folder setup
and other useful site admin/setup tidbits?
thanks a bunch
neil
... more >>
Dialog box
Posted by BobLaughland at 2/28/2006 3:07:19 PM
Hi All,
How do I show up a simple dialog box asking the user to make a decision
in an ASP .NET 2.0 web site?
Thanks,
Peter.
... more >>
Changing Provider for AspNetDB.MDF?
Posted by dm1608 at 2/28/2006 2:53:37 PM
I'm testing the login, profile, and other components within ASP.NET 2.0. I
see by default it uses SQL Server 2005 Express, which I have installed on my
PC. I also have SQL Server 2005 Developer. What do I need to change and
run in order to point the provider to my SQL 2005 server instead o... more >>
How do I restore state in a dynamically loaded custom control?
Posted by Alan Silver at 2/28/2006 2:50:37 PM
Hello,
I have a products page that takes a product ID in the query string.
Based on the product details (from a database), the page then loads up
one of a number of custom controls, calls a method in the control (that
displays product info) and then loads the control into a placeholder so
... more >>
scrollbar in treeview
Posted by bill at 2/28/2006 2:41:19 PM
I am using VS 2005 (VB.NET) web forms.
I have a webforms Master page, using a header and left side template.
I have a content form with a ASP 2 treeview control in the content
placeholder on the left side cell.
How can I have a scrollbar when the treeview expands beyond the bottom of
th... more >>
How to compile a Master page in a separate assembly?
Posted by Bob at 2/28/2006 2:40:19 PM
In ASP.NET 1.1, I had a class library with a bunch of base classes for all
my projects. One of the base class is a base page class. In .NET 2.0, how
can I compile a master page into a separate DLL? If I select class library
project type in VS 2005, it doesn't compile the code in the master pag... more >>
asp error handling
Posted by Rob at 2/28/2006 2:36:14 PM
I have the following code that works well when I run it on localhost,
but when I browse to it from another computer i get the error message
below.
Dim objUser As New DirectoryEntry("LDAP://cn=myName,ou=Tech
Support,dc=mydomain,dc=com")
Try
objUser.Invoke("ChangePassword... more >>
Problem with Table
Posted by DAL at 2/28/2006 2:31:52 PM
I have two tables side by side and have set the height and width properties
of both, hoping the borders would not move when I started typing in one of
the tables. It's not working. When I type in one of the tables, the other
table gets smaller. How can I get both tables to stay stationary. Tha... more >>
Shouldn't server validation always occur when CausesValidation is true??
Posted by dustbort at 2/28/2006 2:16:32 PM
I recently had a problem where my required field validator stopped working.
But, the page still posted back and tried to insert a record into the
database without performing server-side validation. I discovered that there
was no aspnet_client folder in the root of my IIS Web site, and when I ... more >>
VWD vs. Quartz
Posted by dejavue82 NO[at]SPAM yahoo.com at 2/28/2006 1:35:25 PM
Hello,
Could somebody please explain the difference between the features of
each application? Many people say that VWD's design features are
limited. If this is true, which features are lacking? Also, could one
program ASP.NET code with Quartz or do these programs work together?
Thank you f... more >>
Question on Page lifecycle...
Posted by Diffident at 2/28/2006 1:16:26 PM
Hello All,
I have a question which is pertinent to Page's lifecycle.
I declared a protected static object (global variable within that class)
whose value is set only once when the page is loaded. Will that object's
value be accessible
during consequent postbacks or is it set to null after... more >>
GridView Binding?
Posted by mateo at 2/28/2006 1:02:49 PM
Hello,
I have a GridView inside which i want to show 3 dropdownList (one for
each Column).
So i've created 3 TemplateField
Continent
Country
City
1 -In the item Template i've drop a dropdownList for each one with a
corresponding ObjectDataSource (Which return a TableAdapter) and bind's... more >>
What is dynamic web page ???
Posted by serge calderara at 2/28/2006 12:57:30 PM
Dear all,
Technically, what dynamic web page really means.
Is it simply due to the fact that the content can be change without
recompiling the web application by simply changing for example data base
fields ?
thnaks for your clarification
regards
serge... more >>
Posting Page
Posted by Alper ÖZGÜR at 2/28/2006 12:56:26 PM
In a page i have an iframe.. and there is a session timeout counter.. When
the session timeout the login page opens in the frame but i want to do that
in the main window... How must i change the code?
Here is the code that i use for...
If Not (User.Identity.IsAuthenticated) Then
Respons... more >>
SqlDataSource UpdateParameters
Posted by jkayne at 2/28/2006 12:50:26 PM
Can someone offer some insight of why parameters outside of those contained
in a SqlDataSource <UpdateParameters> section would show up in a profiler
trace?
I'm using:
<UpdateParameters>
<asp:Parameter Name="MerchID" Type="Int32" />
<... more >>
Setting Session Variable From Javascript
Posted by Alper ÖZGÜR at 2/28/2006 12:29:56 PM
Hi,
I'm using an external javascript file. When the user postbacks the form the
script below executes. I need to assign the value to a session object. How
can i do that?
this.GetGoToPage = function(index){
var gotoPageElement = this.GetGoToPageEditorElement(index);
if(gotoPageElement !... more >>
server transfer to another site
Posted by barryfz at 2/28/2006 11:43:13 AM
I need to be able to move from one web app on my server to another on the
same server and preserve the session state. I have played with
server.transfer but I get an error saying I can't do this. How can I
accomplish this. I don't think redirects with session state being passed in
the url... more >>
aspnet_merge error 'access to path denied'
Posted by bb at 2/28/2006 11:40:01 AM
when using the web deployment project to merge my aspnet assemblies i
get an unusual error 'access to path denied' i double checked path
looks ok, and gave everyone full perms on the folder and files, but
nothing.
anyone got anything to try?
Task "AspNetMerge"
Running aspnet_merge.... more >>
Bind to MembershipUserCollection Names?
Posted by xenophon at 2/28/2006 11:09:00 AM
I want to bind a DropDownList to the names in a
MembershipUserCollection. How can I do that, sorting the names
alphabetically?
Using ASP.NET 2.0. Thanks.
... more >>
error BC30001!! very strange!! please help me!
Posted by franz at 2/28/2006 11:04:11 AM
hello,
it's hard to me explain you this kind of error i have from .net.
i developed a script in asp.net with VS.NET.
in VS.NET (code behind) it's work perfect.
now i copied the code in an aspx page (code front) (because i need it
like that)
and it gives me back a really strange error!
Err... more >>
Tilde (~) not working in .NET 2 for HyperLink ImageURL
Posted by Nick Gilbert at 2/28/2006 10:55:34 AM
Hi,
I have just migrated my .NET 1.1 site to .NET 2.0. Most things are now
working except that a lot of my images aren't displaying if they
referenced the image path using ~.
eg:
<asp:hyperlink ID="searchLink" Runat="server"
NavigateUrl="search.aspx"
ImageUrl="~/images/search.gif"
... more >>
Compiling problems under visual developer express 2005
Posted by nospam NO[at]SPAM dein.dk at 2/28/2006 10:50:53 AM
Hi
Newbie asp questions:
I have problems running new website when its uploaded. It compiles
nicely
when running on my local machine, but when compiling on the server i
get the
error:
CS0246: The type or namespace name 'ByteFX' could not be found (are you
missing a using directive or an... more >>
Help combining SOAP and ASP.net
Posted by Tarun Mistry at 2/28/2006 10:36:45 AM
Hi everyone, im in a position to create what is basically a manually web
service, so instead of using the framework to auto generate SOAP messages, I
will load "templates" from file, populate these with data and then post to
external urls.
I have the code for this section completed, however... more >>
Inserting data from web form not working?
Posted by hfk0 at 2/28/2006 10:21:13 AM
Hi,
I'm using the following parameters in my web form:
cmdTest.Parameters.Add(New SqlParameter("@FirstN",
SqlDbType.NVarChar, 25))
cmdTest.Parameters.Add(New SqlParameter("@LastN",
SqlDbType.NVarChar, 25))
cmdTest.Parameters.Add(New SqlParameter("@Org",
SqlDbType.N... more >>
code signing in 2005
Posted by gerry at 2/28/2006 9:36:22 AM
when creating a web deployment project in vs2005, the authenticode options
that were available in vs2003 have been removed.
is this functionailty available elsewhere in vs ?
or is this now a completely manual process ?
Gerry
... more >>
DropDownList in DataList
Posted by Kevin at 2/28/2006 9:20:17 AM
Hi
I need to get the "ItemId" from the selected value of the DropDownList in a
DataList, but i don't known where tu put the <%#
DataBinder.Eval(Container.DataItem, "ItemId"), because if I try to put in
the ID of the DropDownList generate an error. I've used this code, i catch
the SelectedIndexC... more >>
how to parse changes to control attributes by javascript at post back
Posted by Jeremy Chapman at 2/28/2006 9:12:40 AM
I've created a custom control which outputs html at runtime like <span
id="controlid" value="myvalue"></span>. On my page I have javascript that
changes the value of the value attribute. On post back I want to parse the
html changed by the javascript and update a server side variable. I tho... more >>
ASP.NET Gridview control not supporting Sorting for Collection obj
Posted by ŘuGvEd at 2/28/2006 9:01:31 AM
Here is the error:
direct link to erro image :
http://img473.imageshack.us/img473/1666/untitled2pp.jpg
Hi,
I have a gridview control on the page which is bound to business object via
objectdatasource and i m using collection to bring all my data on page. This
used to work fine in beta... more >>
dynamic form not validating on server
Posted by Steve Bugden at 2/28/2006 8:55:28 AM
Hello,
I am trying to create a form dynamically. A very simple form with a textbox,
requiredvalidator and button.
Everything works fine on IE, but no server side validation occurs which
means the requiredfieldvalidator is ignored when using Netscape.
The code logic is:
'Declare a an ... more >>
asp:label updated via javascript does not get its value saved in the viewstate
Posted by ibiza at 2/28/2006 7:52:57 AM
Hi all,
I have a label on a webpage that shows the result of a calculation.
When the page is loaded, the label text is "", and is updated with
javascript via its innerText property. Once I click on a asp:button, I
try to check the value of the label and it is still "" in the button
click even... more >>
click event not triggered
Posted by samuelberthelot NO[at]SPAM googlemail.com at 2/28/2006 7:16:57 AM
Hi,
I have a linkbutton in a template column of my datagrid.
I've done the following to add event to each of the button in the grid:
For Each dgi As DataGridItem In GridView2.Items
AddHandler CType(dgi.FindControl("QueryGroupName"),
LinkButton).Click, AddressOf somefunction
Next
P... more >>
|