all groups > asp.net > november 2007 > threads for friday november 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
Acceptable level of page faults
Posted by none at 11/9/2007 11:31:17 PM
I have an ASP.NET application, hosted on two web servers. I am looking
for advice on what should be an acceptable level of page faults on
these production servers. If the acceptable level is zero, then where
should I begin reducing page faults in code? What should I look for in
code to reduce pa... more >>
aspnet.mdf file still is created even though i created a custom provider?
Posted by Sunfire at 11/9/2007 10:37:47 PM
How do you make it so the aspnet.mdf file doesnt get created even though I
created a custom provider?
... more >>
ASP.NET web designer bug???
Posted by brian@coldmail.com at 11/9/2007 8:55:51 PM
Hi.. I am very new to .net. Working on my first web app and suddenly
i can no longer move any "NEW" controls I add to my form. For all
existing controls i can move them fine.
Appreciate any help you can give.
thanks
--
--------------------------------- --- -- -
Posted with NewsLeech... more >>
AJAX is acting CRAZY
Posted by Cirene at 11/9/2007 8:52:49 PM
When I drag an AJAX control from my toolbox to my webform it told me that a
"file with that name already exists. Do you want to replace it?"
I hit yes.
In my Bin folder it added about 20 folders (looks like languages) each with
an AjaxControlToolkit.resources.dll file in it. Any ideas wh... more >>
Why can't I set the GridView column width?
Posted by at 11/9/2007 6:12:49 PM
OK, I have now gone through lots of posts, and there are lots, looking
for a anwer as to why I can't set the width of the columns in my
gridview. So far I have tried the following methods to set the width
and nothing works.
1. <asp:BoundField HeaderText="fieldName" ItemStyle-Width="300px"
Dat... more >>
asp:SqlDataSource with parameters
Posted by E. Kwong at 11/9/2007 6:03:35 PM
I just want to select records with a certain date field > today's date:
<asp:SqlDataSource ID="src1" runat="server" ConnectionString="<%$
ConnectionStrings:xyz %>"
SelectCommand="SELECT * FROM [Events] WHERE [Startdate] > ? "
OnSelected="src1_Selected">
<SelectParameters>
<asp:Parame... more >>
GridView and FormView
Posted by Paulo at 11/9/2007 3:53:48 PM
Hi, I have a aspx with a a FormView on left wich opens insert template as
default containing all the TextsBox, Combos, etc, and on right a GridView
listing the stored itens (ID column key)... When the user clicks on
gridview, it must open the formview in edit mode with all the objects
filled... more >>
Your advice please. I am using the membership system. Works well. However I want to log someone in automatically. How?
Posted by anonymoushamster@gmail.com at 11/9/2007 3:53:33 PM
I am using the built in membership system and its great.
However I need users to be able to login via another page , and for
the session to be initialised for a user ( basically so they dont have
to log in again).
I sthere anyway I can do this? anyway ? So if I have a username,
password I ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Session and Database Connection, Which Is More Costy?
Posted by gnewsgroup at 11/9/2007 3:32:07 PM
I am just curious about this issue.
I have a few buttons on a single aspx page. Each time one of the
buttons is clicked, I need to know if a customer has an unpaid
balance.
I only know of 2 ways to handle this:
1. Open the database connection only when the page is loaded the first
time,... more >>
How to create a SubDomain
Posted by Tina at 11/9/2007 3:03:09 PM
Our company domain, say, wombat.com needs to create several subdomains:
support, training, and purchase are three of the subdomains needed. So when
someone browses to //training.wombat.com they will be directed to the IP we
have assigned. I have two questions:
1. how can I do this at desi... more >>
Populate an Array with DB records
Posted by Guilherme Grillo at 11/9/2007 2:35:21 PM
Hi Friends,
How can I populate an Array with the information of an Table in SQL?
Thanks... and sorry my english...
Grillo
... more >>
Loop in SQL Part II
Posted by Guilherme Grillo at 11/9/2007 2:18:15 PM
Thanks for all.
But my problem is a little different.
Example:
The system SELECT COUNT the table "QUESTIONS" on DB
commCountQuestions = new SqlCommand("SELECT COUNT(*) AS total FROM
Questions", conn);
Then,
int t = readerPerguntas.GetOrdinal("total");
Then I do a SELECT to Sele... more >>
Want to know about sessions,veiwstate,querystring,cookies
Posted by hawks26 at 11/9/2007 1:35:54 PM
Hi,
I'm new to Asp.net. can any one tell me what is viewstate and how to
use this concept in program. plz give a demo example.
Regards,
Sam
... more >>
Testing if URL exists and then redirecting to another page if fail
Posted by Noremac at 11/9/2007 1:24:01 PM
I have had no luck with the following scenario:
One of our requirements for a particular business scenario is to test the
existance of a URL before sending the client there. If the URL does not
exist, then we send them to another page.
To test the destination page, I use this code:
bool... more >>
Troubleshooting Timeout expired. All pooled connections were in use and max pool size was reached.
Posted by jobs at 11/9/2007 1:05:09 PM
Re: Troubleshooting Timeout expired. All pooled connections were in
use and max pool size was reached.
New webservers. win2003. IIS6. asp.net 2.0/ sql server 2005 and Oracle
9i through a 64 bit Oracle client. Everything working fine until this.
I started getting these errors as the new websi... more >>
Disabled radio buttons and checkboxes are hard to see
Posted by BillE at 11/9/2007 11:45:39 AM
Users of a VS2005 asp.net web forms application can complete questionnaires,
and when they are completed the questionnaires can be viewed but not
modified.
Once completed, the controls in the questionnaire are disabled (enabled =
false).
Many users have complained that the grayed-out app... more >>
using custom database for membership and rolls ?
Posted by Sunfire at 11/9/2007 10:18:12 AM
I need to use a custom database for all of the user membership and rolls.
How do you do this?
... more >>
Do I have to use ViewState?
Posted by rockdale at 11/9/2007 8:16:37 AM
I have a page that doing editing for 2 things, add/edit a group and
then populate the member list for this group.
the member list is a user control that can add new member in or edit
existing member info.
Currently, whenever the user click a delete/save button, I will
postbace and write th... more >>
Passing info between pages.
Posted by Mufasa at 11/9/2007 7:45:50 AM
Are the only two real options for passing info between pages using
QueryString and Session Variables?
Am I missing any other viable way?
TIA - Jeff.
... more >>
Expert advice needed!
Posted by Smith at 11/9/2007 6:40:08 AM
Hello,
My code below create a .CSV file and compress it with the new GZipStream
class.
My problem, is how to set the extension of the uncompressed file to .csv.
Users have to manually do this and it is not quite convenient. Any help will
be highly appreciated.
File: handler.ashx:
publi... more >>
"ASPCompat" attribute
Posted by Sergio Martins at 11/9/2007 6:40:01 AM
Hi.
I have an ActiveX DLL, developed in Visual Basic 6.0 and I need to use that
DLL inside an ASP.NET application, developed in Visual Basic .Net 2003.
My problem is that in my machine I get the error "QueryInterface for
interface ... failed" when I try to use same method of the ActiveX DLL.... more >>
Template Engine for E-mail or other stuff.
Posted by Spam Catcher at 11/9/2007 5:10:39 AM
Hi all,
Are there any good template engines for e-mail?
NVelocity looks dead, CastleProject has a port, but it seems to be missing
files from the source code distribution (2 properties files?)
There is a project on CodeProject but it seems to be mickey mouse?
StringFormat requires an a... more >>
How can I access a Master Page Public Property from a Base Page
Posted by Jay Pondy at 11/9/2007 3:03:01 AM
I am trying to access a Public property on a Master Page from a Base Page.
On the content pages I have the MasterType Directive set up as follows:
<%@ MasterType virtualpath="~/Master.master" %>
On the Master Page I have a public property exposed:
Public Property ErrorMessage() As St... more >>
|