all groups > asp.net > november 2007 > threads for friday november 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
Error: "Column 'InvariantName' is constrained to be unique. Value 'MySql.Data.MySqlClient' is already present."
Posted by Carmine [www.thetotalsite.it] at 11/30/2007 11:49:46 PM
Hi,
I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2.
I added these lines to the web.config to make the connector.net able to
handle the SqlConnection object (and so to bind it to a grinview/formview
etc.):
<DbProviderFactories>
<add name="MySQL Data Provider" invariant="... more >>
Caching Output HTML
Posted by Smithers at 11/30/2007 8:20:58 PM
Just wondering what it would take to cache a copy of the output HTML from a
dynamically constructed aspx page before it is sent to the browser.
Reason being: the page is constructed of a few user controls, each of which
queries a SQL Server database for their content. The content is not likel... more >>
Connections strings being automatically created?
Posted by B. Chernick at 11/30/2007 6:25:01 PM
I'm getting a little confused here. I'm creating a demo in ASP.Net 2.0.
I've had to shift databases a couple of times and apparently Visual Studio is
automatically adding new connection strings.
I'm a bit new to 2.0, so what's the best way to keep everything in the
system on the same st... more >>
FormView and FindControl behaviour
Posted by J055 at 11/30/2007 6:17:08 PM
Hi
I can't figure out what the difference is here. Sometimes I have a simple
FormView control in a page and I can use the FormView.FindControl method to
get a Label or TextBox with in it during the DataBound event. Then I can use
a FormView somewhere else and the FindControl method can't fi... more >>
Creating SelectCommand at page load time
Posted by James R. Davis at 11/30/2007 6:03:54 PM
I have a need to change the select command based on user input (dropdown
lists 1 and 2). I'm using a GridView command that is tied to a
SqlDataSource command as follows:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:MTT.mdfConnectionString %>" S... more >>
PageHandler and events order
Posted by Michal Valent at 11/30/2007 4:50:47 PM
this is ProcessRequestMain
from
System.Web.UI.Page
Assembly: System.Web, Version=2.0.0.0
the question is how can one custom server control make its events fired
earlier than Page_Load event ?
private void ProcessRequestMain(bool includeStagesBeforeAsyncPoint, bool
includeStagesAfter... more >>
.NET Runtime 2.0 Error - ID Event 5000
Posted by Bernard Borsu at 11/30/2007 4:39:46 PM
Hi !
I have a big problem with a asp.net 2.0 website. I've just upgrade it from
asp.net 1.1. In this previous version, no problem at all.
Now, i've a recursive error .NET Runtime 2.0 Error - ID Event 5000.
Here ise the description in the Application log :
EventType clr20r3, P1 w3wp.exe... more >>
Checkbox and Checkboxlist Question
Posted by KA Kueh at 11/30/2007 3:35:24 PM
Dear all,
Does any one know why on earth does MS leave out validator for checkbox and
checkboxlist? Even the newest VS 2008 is left without one. Thanks.
Regards,
Kueh.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
viewsource not showing html sometimes
Posted by rodchar at 11/30/2007 1:19:00 PM
hey all,
i have a user control on my web page. the user control dynamically builds
some controls.
when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the page
all the time.
can someone please this ... more >>
Attributes.Add by id
Posted by Tom at 11/30/2007 12:31:47 PM
I have to change a value in an input tag for a PayPal form. The name of the
input is "return" and I can't change it.
I can't use return.Attributes.Add
Is there a way to use Attributes.Add by the element id rather than name?
Thanks...
... more >>
web.config error
Posted by jack at 11/30/2007 11:48:41 AM
Hi all
every time i run and aspx page i get the bellow error
<compilation debug="true">
Line 31: <assemblies>
Line 32: <add assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/
>
Line 33: <add assembly="System.Design, Version=2.... more >>
web applications do not work after installing .NETFramework2.0
Posted by david at 11/30/2007 11:19:01 AM
my server os: windows server 2000
Error message: failed to access IIS metabase
Exception details: system.web.hostingEbvironmentException: failed to access
to the IIS metabase
Thanks for any help
David... more >>
25 MOST FREQUENTLY ASKED QUESTIONS ABOUT ISLAM
Posted by aassime abdellatif at 11/30/2007 11:09:18 AM
1. What is Islam?
The word "Islam" means peace and submission. Peace means to be at
peace with yourself and your surroundings and submission means
submission to the will of God. A broader meaning of the word "Islam"
is to achieve peace by submitting to the will of God.
This is a unique religi... more >>
div woes
Posted by rodchar at 11/30/2007 11:06:01 AM
hey all,
i have 4 divs on my page and i'm trying to use css to lay them out. i'd like
to have div1 and div2 side-by-side and div3 and div4 side-by-side.
is there a way to do this thru css?
thanks,
rodchar... more >>
Timeouts (testing) for AJAX Web service calls
Posted by Lloyd Sheen at 11/30/2007 10:43:58 AM
It seems that debugging AJAX Web services is about impossible. I have
googled and found the Sys.Net.WebRequestManager.set_defaultTimeout call. I
set the value to 15000 which is supposed to be 15 seconds but I cannot
perform anything in my webservice without timing out.
I have a logging we... more >>
Intelissense when debugging
Posted by SimonZ at 11/30/2007 10:37:06 AM
I have Visual Studio 2005. When I debug my web page, in my command window
intelissense doesn't work.
Any idea what could be wrong? In any other window intellisense works.
Thanks,
Simon
... more >>
Session State
Posted by Rob Thomson at 11/30/2007 10:36:00 AM
Hi
I have a web site, with 2 virtual directories under it. All share the same
app pool, and have session set to StateServer via the machine config level.
I want to manage state timeouts and do this via an HTTPModule which
registers an event handler for the session start. My problem is I get a... more >>
VS 2005 - why cant i debug when using a querystring param?
Posted by SpaceMarine at 11/30/2007 10:14:02 AM
hello,
i am attempting to attach a debugger to the "aspnet_wp,.exe" process.
this is how i normally debug my ASP.NET apps, and i dont have a
problem debugging at any other time.
however, when i am hitting a page in IE that has a querystring
parameter attached to it, such as:
http://lo... more >>
Text prefilled but cleared as soon as somebody enters it.
Posted by Mufasa at 11/30/2007 9:54:19 AM
I want to have a box filled in with text that when the person clicks in to
it for the first time it will clear. I'd also like to have it ( like to
google search box ) so that it's greyed text when they first see it but as
soon as they go in to it it's normal text.
I assume that what I need ... more >>
Can't set value to the property "Width" of my custom webcontrol
Posted by Brook at 11/30/2007 9:33:14 AM
=20
In webform.aspx: <cc:ctlB ID=3D"ctl1" runat=3D"server" Width=3D"200px" =
/>
If set value to width property, I will get a error that say ctlB.Page is =
null. This control will be fine with no width property, why?
Could anybody help me ? thanks
ctlA.cs
---------------------------... more >>
How Much Data to Provide?
Posted by Kevin Frey at 11/30/2007 9:29:52 AM
At our work a bit of a "philosophical" debate is underway as to how much
data (in terms of number of rows of data) should be considered "enough" data
for presenting to a user, via web application. This is not a web-based
report (an entirely different issue) but a UI that allows a user to pi... more >>
NT AUTHORITY/NETWORK SERVICE
Posted by GaryDean at 11/30/2007 8:54:37 AM
We typically access sqlserver 2005 databases from our asp.net applications
by usine the NT AUTHORITY/NETWORK SERVICE user account on Server2003. It
works fine and keeps us from having to put a UID and PWD in a
connectionstring.
I'm working on a client's server2003 system now that is ru... more >>
Repeater control
Posted by SAL at 11/30/2007 7:40:00 AM
I have a web form that use the Repeater control on it. Here is what the code
snippet looks like:
<table class="collector" style="width: 870px">
<asp:repeater id="repeaterItems" runat="server">
<itemtemplate>
<tr>
<td class="l... more >>
DOwnloadFilesFromSiteToLocalPC\ASp.net
Posted by gh at 11/30/2007 7:38:00 AM
I am looking for a control that will allow the user to click a link,
that will open up and display files and subfolders, from a predeifined
rppt folder. I don' t want the user to be able to navigate outside of
the root folder and only be able to download files to their PC. Does
anyone know... more >>
Using IsPostBack in Page_Load of dynamically added control
Posted by DC at 11/30/2007 7:00:19 AM
Hi,
I am dynamically adding a usercontrol that uses "this.IsPostBack" in
Page_Load to decide whether it must populate some of it's inner
controls or not. Since I am adding the usercontrol to the page at
runtime (on response to a click event), IsPostBack is always false and
the inner controls ... more >>
aspx page cannot found
Posted by Claudia Fong at 11/30/2007 6:26:59 AM
I got this error after creating the virtual directory
The page cannot be found
The page you are looking for might have been removed, had its name
changed, or is temporarily unavailable.
------------------------------------------------------------------------
--------
Please try the follow... more >>
Server Side Notifications and a Javascript Application...
Posted by Spam Catcher at 11/30/2007 5:17:43 AM
Hello Everyone,
I'm building an application which requires server side events to be pushed
to clients.
Typically I build these applications with a think client, but the machines
I'm deploying this particular application have a very slim image - no .NET,
Java, or any other runtimes.
I ... more >>
textbox not recognized in client side
Posted by Claudia Fong at 11/30/2007 4:43:11 AM
I have a textbox name txtBC but I was trying to check if this textbox is
empty or not.. Jscript gave me this error:
txtBC.value is null or not an object
what should I do?
Cheers!
Claudi
*** Sent via Developersdex http://www.developersdex.com ***... more >>
position a cursor in a textbox using code in client side
Posted by Claudia Fong at 11/30/2007 1:29:02 AM
How can I position a cursor in a textbox on page load?
I need this code in client side...
Cheers!
Claudi
*** Sent via Developersdex http://www.developersdex.com ***... more >>
|