all groups > asp.net > april 2007 > threads for wednesday april 11
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
AspNetSqlMembershipProvider connection string changing at runtime
Posted by Larry Neylon at 4/11/2007 10:51:59 PM
Hi there,
We are in the process of implementing Membership and Role Management and
have a problem with the connection strings in our web.config.
We currently have a system that on Application_Start set the
Application["connection_string"] to the relevant ConnectionString from the
web.con... more >>
Ajax : dynamic control creation at client side
Posted by Kursat at 4/11/2007 10:50:28 PM
Hi,
I want to add new collapsable panel items using java script at client side.
Is this possible to create Ajax components like collapsable panel without
server round trip?
Thanks in advance.
... more >>
Object reference not set to an instance of an object.
Posted by psychomad at 4/11/2007 10:30:53 PM
Can some1 please help me???!!!!!!! Please....
Server Error in '/' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of
the ... more >>
Session State
Posted by Tam OShanter at 4/11/2007 8:47:21 PM
Greetings,
I understand that MS State Server can be used for session management, with
many IIS applications using the same state server.
Is there a high availability solution for managing state via. State Server
(clustering, session server farm etc...)?
Like to know my options with MS b... more >>
Membership API Controls - Manage Roles and Users
Posted by Steven Nagy at 4/11/2007 8:39:24 PM
Hi all,
I'm getting across the membership API stuff.
However it seems that we would have benefitted from some extra
controls for "Manage Users" and "Manage Roles".
Is there some additional controls for this somewhere? Perhaps some 3rd
party free ones?
Seems like the login toolbox is a litt... more >>
Need help displaying file structure
Posted by BW at 4/11/2007 7:54:59 PM
We have a directory on our network where we keep pictures for all of our
customers. They utilize a directory structure to keep them organized. I
would like to have the clients be able to log onto a webpage and view their
files. What is the best way to accomplish this? Each client could ha... more >>
FormViews - ASP.NET 2.0
Posted by Just Me at 4/11/2007 7:51:46 PM
OK, im really struggling with something which sould really be simple I
think.
Ive created an SQL Datasource on a web form and dragged a formview, editted
the Insert Template to make it look nice in a table etc. The table itself
has lots of fields ( About 20 ) and I have set up an Insert st... more >>
question about CommandType TableDirect
Posted by Chris at 4/11/2007 6:19:19 PM
Hi,
this code is for stored procdure:
comd = New SqlCommand()
comd.Connection = connection
comd.CommandText = "mysp"
comd.CommandType = CommandType.StoredProcedure
My question: i also saw when choosing the comd.CommandType in VWD:
"TableDirect". What's the purpose of this and how to use ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How-to: Keep grid header from scrolling off
Posted by GaryDean at 4/11/2007 6:01:48 PM
I know this has been mentioned before on these forums but....
Has anyone come up with a good way to keep the heading row of a datagrid
from scrolling out of sight when scrolling a grid in a div? I saw someone
recco rendering the header separately above the div but I recall this had
problem... more >>
Where might be the problem
Posted by JIM.H. at 4/11/2007 5:46:01 PM
Where might be the problem
I have a web site that is working fine. When I add a new string key into
windows registry such as “testâ€=â€abc†in
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Accepted Documents†this create a problem in the web site an... more >>
I cannot understand this???
Posted by L.W.C. Nirosh at 4/11/2007 4:05:11 PM
Hi All,
I just need to develop a site that allow scrolling different part of the
page seperately, the required template is a one to one map of this
http://msdn2.microsoft.com/en-us/library/aa581778.aspx
Just like this I want my page to be devided into three section, where top
part is st... more >>
Save Webparts layout
Posted by Michael at 4/11/2007 3:34:02 PM
Does anyone know how I can save the layout on a page that uses webparts?
What I have is a web page that the user can personalize after logging in.
Once they personalize it I want to retain the layout so that when other "not
logged in" user come to see their personalized page, it is the way t... more >>
Keeping random background
Posted by Jim in Arizona at 4/11/2007 3:33:00 PM
I created a public application based variable not within any procedure,
like so:
Partial Class lobbytimes_lobbytimes
Inherits System.Web.UI.Page
Public BackgroundImage As String
Protected Sub Page_Load(ByVal ..)
I then created a background image randomizer subroutine and p... more >>
DataList ImageUrl Syntax
Posted by scota NO[at]SPAM metrohealth.org at 4/11/2007 3:00:08 PM
I am using Visual Studio 2005.
I have the following code in my DataList:
<asp:Image ID="Image1" runat="server" ImageUrl='<%#
DataBinder.Eval(Container.DataItem, "PIN") %> ' />
This brings up the following graphic: http://localhost/PhysicianDirectory/017871
How can I write the ImageURL s... more >>
Javascript function called from code behind file
Posted by moni at 4/11/2007 2:15:40 PM
Hi..
I am trying to use javascript for google maps display.
If I call the javascript function from my aspx file I use:
<input type="text" id="addresstext" value="Huntington Avenue,
Boston, MA" name="yourName" style="width: 287px" />
<input type="button" id="addressclick" value="... more >>
3.0 FW includes 2.0?
Posted by darrel at 4/11/2007 2:13:47 PM
Maybe a dumb question, but we're trying to set up a MOSS demo server. We
haven't gotten to installing MOSS yet, but one of the prerequisites in
ASP.net framework 3.0. the server has 1.1, and 3.0 installed fine. Do we
still need 2.0 on there or does 3.0 include 2.0 already? My understanding is ... more >>
RenderControl not writing complete markup
Posted by Ralf Ziller at 4/11/2007 1:31:08 PM
I have a GridView which I want to send via email. I have overriden
VerifyRenderingInServerForm to allow this.
But if I call RenderControl to write the html markup in a memory stream I
only get part of the markup. If I do a subsequent call to RenderControl the
missing markup is rendered and th... more >>
html meta tags!
Posted by Abid at 4/11/2007 1:14:31 PM
Hi,
I need to parse out the META Tags in any HTML document or can say any
webpage...specifically I am interested in META keyword and META
description tags...can anyone please let me know the Regular
Expression for that...I will really appreciate it.
Thanks in advance.
... more >>
Add Delete button to GridView
Posted by pargat.singh NO[at]SPAM gmail.com at 4/11/2007 1:00:05 PM
I want to add delete button to grid view and pass all the clicked row
parameters. Can someone please tell me how can i do this? Below are my
codes.
Thanks in advance.
<asp:GridView ID="GridView2" EmptyDataText="No Data Found"
GridLines="None" CssClass="gridview" AlternatingRowStyle-
CssCla... more >>
Serious issue: parts of my page render as not logged in, parts as logged in. Help!
Posted by pcloches NO[at]SPAM gmail.com at 4/11/2007 12:58:02 PM
I'm having a very difficult time with some of our new pages. We've
moved to a web farm, and it seems in spurts it will come where parts
of my page think the user is logged in, and parts think the user is
not logged in. It seems to happen to an entire control. (None of the
controls have OutputCac... more >>
The current configuration system does not support user-scoped settings
Posted by Steve Kershaw at 4/11/2007 12:54:13 PM
I have a problem in which I'm trying to access a method in a .DLL from
an ASP.Net web page (written in C#). I keep on getting the error "The
current configuration system does not support user-scoped settings".
I've done some research into this problem and I've found out that the
solution has... more >>
SmtpFailedRecipientException/s - how it works?
Posted by Fabio Visin at 4/11/2007 12:18:24 PM
Hi! I'm studing SmtpFailedRecipientException to trap errors when I'm sending
e-mail.
I modified a sample code founded on MSDN so:
public static void errorMail()
{
MailAddress from = new MailAddress("fabio.visin@xxx.it");
MailAddress to = new MailAddress("webmaster@xxx.it");
Mai... more >>
How to find which button was clicked in a repeater itemtemplate and find the value of textbox
Posted by AlecL at 4/11/2007 12:17:44 PM
Hi All,
I am trying to capture the value of a textbox as a result of a button
click event in a repeater, but it can't find the textbox.
Here is what I am trying to do in the code for the click event:
Dim prodkey As String = CType(FindControl("txtProductkey"),
TextBox).Text.ToString()
... more >>
OT : LOOKING FOR A REALLY GOOD SENIOR DEVELOPER IN LONDON
Posted by smnbss at 4/11/2007 12:10:20 PM
We're looking for a very good ASP.NET developer in London, but it's so hard!
We tested a lot of people and noone is so good.
We're having a lot of exiting projects in WEB 2.0, so,
if you want to work in london, please, contact us at frank@media-burn.co.uk
--------------------------------------... more >>
Menu Control Caveats
Posted by Evan M. at 4/11/2007 11:14:04 AM
Hello there,
I'm trying to put a Menu Control onto my website, as I like its
ability to figure out and display which item is selected. However, I'm
hitting two caviets trying to use it.
Firstly, I don't want the second half of the menu to be display if a
session variable isn't set. Secondly... more >>
Access Value of a control on another page
Posted by RSH at 4/11/2007 11:06:01 AM
I have a situation where I have a page called "HiddenFrame.aspx" that
contains a public property exposing the value of a textbox called "TextBox1"
that is in a hiddenframe.
Loaded in the main frame is a page called "Page1.aspx" in which from the
code behind I need to set the value of "Text... more >>
Uploading files
Posted by Gerhard at 4/11/2007 10:42:02 AM
I have a file type input on my page in a VB.Net version 2 web application:
<input id="AddReport" type="file" name="AddReport" runat="server" />
Is there anyway to set the default directory in code that it goes to on
Browse?
Thanks.
... more >>
focus to button control on enter
Posted by camelean NO[at]SPAM shaw.ca at 4/11/2007 10:14:00 AM
I have a webform that has multiple text boxes and 3 buttons ( Clear,
Close, Search). After test is entered in one of the textboxes I want
the Search button selected if the user presses enter. Currently the
clear button is engaged upon enter.
I have entered the following code in the textchang... more >>
need to install crystal reports on server?
Posted by Paul at 4/11/2007 9:34:04 AM
Hi I am running .net framwork 2.0 on a server and after installing a web ap
that has crystal reports in it there is an error, cant find crystal report
dlls that are in the web.config file. Just wondering is there a crystal
report installation that needs to be done on the server? vs.net is no... more >>
Which one of the following is NOT a valid state management tool?
Posted by cmay at 4/11/2007 9:17:02 AM
The question is:
Which one of the following is NOT a valid state management tool?
And the possible answers are:
1. Hidden Form Fields
2. Cookies
3. Query State
4. Application State
5. Session State
The correct answer is Query State. Can someone explain to me why this
is c... more >>
.NET 2.0 Redist errors
Posted by AF at 4/11/2007 9:14:10 AM
I recently added the .NET 2.0 Redist to a web server and am constantly
getting the following:
..NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error
(7A05E2B3) (80131506)
Message: Faulting application w3wp.exe, version 6.0.3790.1830, stamp
42435be1, faulting module mscorwks.dll, ... more >>
Constants and thread safety
Posted by Paul at 4/11/2007 8:45:49 AM
Hi all,
All of the classes in my DAL are static, with constants defining the
stored procedures and parameters. I've been having some problems with
my site which makes me wonder if there's a thread safety issue.
Are consts thread safe? Would the following example create any thread
safety iss... more >>
Hide/Show Controls during a callback
Posted by Sridhar at 4/11/2007 8:34:05 AM
Hi,
Is it possible to Hide/Show controls during a callback? I have a radio
button list that does the callback. When it does the callback I need to
refresh the grid to reflect the selected value in the radio button. Also I
need to hide some check boxes based on the selected value. The chec... more >>
Browser History and Partial Page Rendering
Posted by Stuart Ferguson at 4/11/2007 8:23:15 AM
I am currently working on an ASP.Net Querying application which uses a
menu control with all the links going to the same page. Before I
implemented AJAX on this page the end user was able to browse through
the application using the back and forward buttons on the browser
toolbar as each full po... more >>
How do I get rid of the select button in a gridview?
Posted by Kat at 4/11/2007 8:08:56 AM
This is my grid and my datasource. I cannot seem to find where the Select
button is coming from, I even tried in the databind event to remove it, but
column 0 apparently is the edit/delete field (
"gvClientStreetAddresses.Columns(0).Visible = False"). Thanks for your
help.
... more >>
deployiment, security, aspnet
Posted by rodchar at 4/11/2007 7:30:04 AM
hey all,
i just deployed a simple web app that writes temp files to the application
root. i'm getting the following error:
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
i can do what is says and i... more >>
Formatting GridView
Posted by nice.com NO[at]SPAM gmail.com at 4/11/2007 6:58:09 AM
Hi,
It it possible to alter properties of a gridview control based on the
data it holds?
Specifically, I would like to alter colours held in the data. For
example....here's the data
Surname Forename Registered RecentContact
Smith Henry no no
Jones ... more >>
SmartClient - ASP.NET Issue
Posted by Mike at 4/11/2007 6:02:20 AM
Greetings, I have an aspx page where on it is a link that calls my
smartclient (a windows form) that opens up. When the user is done in
the form, he or she hits a button that saves data and closes the
form. I want the smartclient to call the opened browser (IE6 and
maybe 7 down the line) and r... more >>
How to get a ID into a tablerow of a datagrid
Posted by rwerkhoven NO[at]SPAM gmail.com at 4/11/2007 5:42:56 AM
Not sure if the subject covers the story to well, but I hope someone
can help me with this little problem. I have a div that turns switches
to visible and invisible when going over a row in a datagrid. I shows
some information about the hightlighted product. For every row there
is a div generate... more >>
Using PagedDataSource with a Repeater
Posted by jazzart NO[at]SPAM mail.com at 4/11/2007 3:20:06 AM
Hi there,
I'm fairly new to programming with Asp.Net 2.0 so I'm finding myself
regularly fumbling around in the dark a bit, so to speak.
I'm currently using Visual Web Developer and have been following the
www.asp.net data access tutorials to create a DAL and BLL to connect
my web site (a s... more >>
utterly defeated by Emailing from .net
Posted by CharlesA at 4/11/2007 3:20:03 AM
Hi folks,
I'm using WinXP Pro svc pack 2, I'm the admin, I have VS2005 and .net
framework 2.0 and I'm using ASP.net 2.0
I've never ever ever over the years had any luck (over the years) in
re-creating any examples from books where an email gets successfuly sent from
a .net app.
I'm pri... more >>
aspnet_wp.exe event 1007 and 1084
Posted by RedLars at 4/11/2007 12:51:38 AM
Hi,
Read many posts online regarding problem with aspnet_wp and event 1007
\ 1084 "aspnet_wp.exe 1.143220 could not be started. This error can be
caused when the worker process account has insufficent rights to read
the .NET framework files...." - "aspnet_wp.exe could not be launched
because ... more >>
component to download a webpage with the images, css & js files?
Posted by nospam NO[at]SPAM nospam.sss at 4/11/2007 12:00:00 AM
I am looking for a component which I can use in my app to download a web
page with all its associated files like images, css and Javascript files.
Any recommendations?
John Dalberg... more >>
Create Excel file using asp.net
Posted by Rahul at 4/11/2007 12:00:00 AM
I want to create an excel file for report in asp.net 2.0 ...
without having office installed on the server.
Rahul
... more >>
Problem with System.Guid and duplicate key
Posted by Jeff at 4/11/2007 12:00:00 AM
ASP.NET 2.0
This problem occur using the basic version of SQL Server 2005 which get
installed when installing Visual Studio 2005!
I have inserted a record in the Test table. But when I try to insert a
second record I get this error:
{"Violation of PRIMARY KEY constraint 'PK_Test'. Cannot ... more >>
Can web references "break" if changes are made to an already installed web application?
Posted by Toni at 4/11/2007 12:00:00 AM
Hello! I have a problem that I hope someone could help me with. Recently a
web application was ordered from a software developer and installed on the
server of my working place. This application uses a web service that runs on
the same server. My job was to make changes to a couple of forms wh... more >>
|