all groups > asp.net > september 2006 > threads for tuesday september 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
aps.net can't run in window2003
Posted by Agnes at 9/19/2006 11:26:35 PM
I find that my asp.net can't run in window2003, I had already install .net
framework 2.0 (x 64 bit), but the program still cannot be run.
html ->> login.aspx
When I click the button in html, it said "The Page cannot be found"
Please help
... more >>
Error in global.asax
Posted by David Lozzi at 9/19/2006 11:02:42 PM
Hello,
Writing a web app in asp.net using vb. Just created a new page, added a few
minor controls and now blamo, the below error: HELP
Server Error in '/newsite' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: ... more >>
Using the DataTextField and DataValue Field in a ListBox
Posted by l7alabeh at 9/19/2006 10:45:56 PM
Hi,
I am trying to take from a database 3 values, concatenate the first two
of them and insert them in a ListBox (in the DataTextField) and the 3rd
value in the DataValueField.
The problem is that I am able only to add the first two values
concatenated (using the DataReader) but the DataVal... more >>
How to write a control that doesn't require a closing tag
Posted by Paul at 9/19/2006 9:14:34 PM
Hi all,
I've built a custom control that won't contain any inner content. If I
derive the control from Control, then the VS editor will always add the
closing tag when I use the control. I can derive from UserControl and
it doesn't do this, but I'm not sure whether is the best way to do
this.... more >>
How to removing Run time generated controls id.
Posted by sanjib.prasad NO[at]SPAM gmail.com at 9/19/2006 8:21:13 PM
Hi,
I am working with new web based control tool. To make a new tool of
accordion of mulitpanel. What happen when i creating any sub panel
under top panel. then system create a run time generated contraol id .
with My given given Id Like Ctrl01_subAccordionPanel11. The
subAccordionPanel11 is... more >>
How to keep state of treeview control
Posted by Peter Afonin at 9/19/2006 8:01:07 PM
Hello,
I've created a web application using Visual Studio 2005. I have a treeview
control there. When the user expands it and clicks on the link, the treeview
collapses automatically.
Is it possible to keep it expanded to the level the user expanded it? In
other words, to keep the state ... more >>
How do I debug a Class Library?
Posted by Steve Kershaw at 9/19/2006 7:58:14 PM
Hello,
I have created a class library (.DLL) and there seems to be no way to
debug it. How do I run it in debug mode (setting break points, etc)?
Once I include it into my ASP.NET application the executable code is in
the /bin directory.
Thanks in advance for your help.
Steve
... more >>
Diff. B/w Imports & Inherits?
Posted by Arpan at 9/19/2006 7:55:17 PM
What's the difference between "Imports" & "Inherits"? For e.g. both the
codes below work without any errors:
Imports System
Imports System.Data
Imports System.Web.UI
Namespace Constructors
Public Class Constr : Inherits Page
Public Sub New()
Response.Write("Constr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET using My.Settings
Posted by JamminJimE at 9/19/2006 7:33:46 PM
I dunno if it's too late at night to be coding without the caffeine,
but I am sure trying.
I have a web app that I am working on and am trying to set some of the
custom My.Settings values. Each of my settings that I created show up
fine in intellisense, but when I execute the app, I get...
... more >>
My ViewState is huge! What can I do?
Posted by Gummy at 9/19/2006 7:31:30 PM
Hello,
I have an ASPX page on which I place a UserControl 15 times (they only need
to be static controls on the page). This UserControl is a set of two
listboxes with radiobuttons above the listbox (to select between viewing a
code or description in the listbox). There are also left and rig... more >>
Download method
Posted by ianyian NO[at]SPAM gmail.com at 9/19/2006 6:22:49 PM
Hi expert,
i try to search some info regarding this topic, but some how
i donno what is the main key word for this, i cant get the exact info.
i'm going to handle a project which need to download some big
size file ( like 1GB ), bcos we have consider different user require,
a... more >>
Response.Write In Class?
Posted by Arpan at 9/19/2006 6:16:07 PM
Consider the following class named "Constructor.vb" which exists in
C:\Inetpub\wwwroot\ASPX:
Imports System
Imports System.Data
Imports System.Web
Imports System.Web.HttpResponse
Imports System.Web.UI.Page
Namespace cons
Public Class Constructor : Inherits Page
Public Sub He... more >>
Edit Web.Config from within Site?
Posted by xeroxero at 9/19/2006 4:31:22 PM
I have several web.config values that I would like to change via a web
page within my ASP.NET 2.0 Web Application Project. Is it possible to
do so, assuming the ASPNET user has filesystem permissions to write to
the file? I thought I could use an XmlTextReader to slurp the file in,
make accept... more >>
ADODB to ADO.NET conversion
Posted by sck10 at 9/19/2006 4:30:50 PM
Hello,
I am using the following in ASP.NET 2.0 VB using ADODB (which is working).
I would like to convert this to csharp using ADO.NET.
To build the connection, I am trying to convert:
LDAP_CONN = CreateObject("ADODB.Connection")
LDAP_CONN.Provider = "ADsDSOObject"
LDAP_CONN... more >>
Color Picker Post RGB Values?
Posted by xeroxero at 9/19/2006 4:29:20 PM
Has anyone seen a control that will show any kind of color picker
(gradient wheel or boxes or etc) that on postback pushes RGB values?
... more >>
RadioButton in DataList
Posted by David Lozzi at 9/19/2006 4:21:50 PM
Howdy,
Using ASP.NET 2.0 with VB. I have a datalist that is listing out options.
Ecah option has a radio button for which the user has to select only one
option from the list. It displays properly but it appears to be not working
properly. They can select all of the radiobuttons at once. No... more >>
databing in webform
Posted by JJ_ at 9/19/2006 3:55:01 PM
It's possible binding a dataset and use dataset's haschange property in
webform?
Thanks... more >>
Menu Control - current node
Posted by AG at 9/19/2006 3:52:23 PM
Using the new ASP.NET 2.0 menu control on a master page.
Is there any way to NOT have the current page be a live link and ideally
also have it appear in a different style?
Similar to the sitemappath control's RenderCurrentNodeAsLink property.
TIA
--
AG
Email: discuss at adhdata dot ... more >>
Could not load file or assembly *
Posted by John Bailey at 9/19/2006 3:30:02 PM
I have checked around and could not find anything here that exactly matches
my issue, which is odd since I have found numerous posts on this in other
news groups. I have a ASP .Net 2.0 site that is distributed as code (the
pages are not precompiled, but code behind is used). From time to tim... more >>
ASP.Net conversion projects 1.1 to 2.0 CLR
Posted by SenthilVel at 9/19/2006 3:28:18 PM
Hi All
During the migration of my web project from 1.1 to 2.0 we found a web site
to have a download for a MS patch for the conversion of the web projects to
happen.
The link is :
http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx
http://www.microsoft.com/downl... more >>
NavigateUrl mailto relative URi error
Posted by Ron at 9/19/2006 3:04:04 PM
I have the following control in mailtowebmaster.acsx
<%@ Control Language="VB" AutoEventWireup="false"
ClassName="MailtoWebmaster" %>
<%@ Register tagPrefix="Club" Namespace="ClubSite" %>
<div id="MailtoWebmaster">
<asp:HyperLink ID="Mailto" runat="server" NavigateUrl="mailto:x@y.com" ... more >>
Span vs. DIV for asp:Label Control
Posted by pagates at 9/19/2006 2:26:01 PM
Hello All--
I have a number of <asp:Label CssClass="someclass">Text</asp:Label> controls
on my page. I would like them to be shown as
<div class="someclass">Text</div>
rather than
<span class="someclass">Text</span>
When it uses a span, it doesn't seem to use all th... more >>
Asp.Net Menu control and Firefox
Posted by William LaMartin at 9/19/2006 12:48:33 PM
I have been experimenting with the menu control in VB.Net and find that it
displays well in Internet Explorer. But when viewed with Firefox, using
what Firefox terms the normal font size, the first item in the menu is not
clickable. If I decrease the font size by one, then it is clickable. ... more >>
Get the exact URL host name
Posted by Stephane at 9/19/2006 12:47:02 PM
Hi,
Is there a way to know what exactly a hostname is?
Per example, we can have the domain « domain.qc.ca » and it could come in
one of those forms:
www.domain.qc.ca
sub.domain.qc.ca
domain.qc.ca
And so on...
I'd like to have only the name « domain.qc.ca ». Same thing for any ... more >>
non-existent non-aspx file requests not getting passed to ASP.NET?
Posted by Les Caudle at 9/19/2006 12:19:29 PM
If a non-aspx file is requested, like "domain.com/school", IIS is not passing
this on to ASP.NET 2.0 so that urlMappings can take place in Web.Config.
IIS is simply returning a 404 and not passing the request on.
<urlMappings enabled="true">
<add
url="~/school"
... more >>
Atlas build error on server
Posted by lanem at 9/19/2006 12:03:02 PM
I installed atlas on my dev machine and everything works great. When I try
to get it working on the server, I get this error when building the page:
"Request for the permission of type 'System.Web.AspNetHostingPermission,
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e... more >>
Dynamic Controls, Postbacks, ViewState, Oh My!
Posted by Gummy at 9/19/2006 11:58:37 AM
Hello,
I am loading several user controls dynamically in OnInit() like this:
ucListBoxSelections ucLocation =
(ucListBoxSelections)LoadControl("UserControls/ucListBoxSelections.ascx");
ucListBoxSelections ucDept =
(ucListBoxSelections)LoadControl("UserControls/ucListBoxSelections.... more >>
Filling a String variable with a single entry from a database
Posted by Jim in Arizona at 9/19/2006 11:56:47 AM
Is there an easy way to just get a single value from a database and put
it into a string?
This is as far as I can get:
Dim TKEY As String
TKEY = dlShowRequests.DataKeys(e.Item.ItemIndex)
Dim strConnection, strSQL, strADName As String
strConnection = Configura... more >>
dumb down version
Posted by rodchar at 9/19/2006 11:31:02 AM
hey all,
i've read wikipedia's version and still kinda fuzzy, can someone please give
me a dumb down version of imperative vs declartive programming?
thanks,
rodchar... more >>
Please help: "Specified cast is not valid" error when binding the Visible propery of a hyperlink control
Posted by keithb at 9/19/2006 11:14:41 AM
Using a GridView, I get a "Specified cast is not valid" error when binding
the Visible propery of a hyperlink control to a DataTable text field. The
error goes away if I replace the data binding statement with "true" or
"false". This code causes the error:
<asp:HyperLink ID="HyperLink1"
... more >>
Can my links and linkbuttons have two different css styles?
Posted by gwen.lister NO[at]SPAM gmail.com at 9/19/2006 10:40:09 AM
Hi! I'm trying to make it so that my basic links have the default style
(blue text, underlined) and my asp link buttons always be white. I need
this because I am only using linkbuttons in my sidebar which is dark so
they need to be white. Can this be done by only making changes to my
stylesheet?... more >>
Datagrid and SQL Count
Posted by Jl_G_0 at 9/19/2006 10:33:19 AM
Hey all.
I have one question here regarding a datagrid. I have a datagrid with
one hyperlinkcolumn and some boundcolumns. I want to add one more
column, filled by how many subprojects are under that project. To find
out this information, I can use 'SQL Count' and with executescalar() I
shoul... more >>
password not reappearing, what's the best practice?
Posted by ThunderMusic at 9/19/2006 10:21:48 AM
Hi,
I have an asp.net page where people can register. In this page, the user
must enter a password. Actually I user this form so the user can modify it's
data either... What is the best practice for making the password reappear? I
mean, the password is hashed, so I can't make it appear correc... more >>
Which control caused cross-page postback?
Posted by Jason Wilson at 9/19/2006 10:07:00 AM
I have a page that has two seperate buttons that have the same
PostbackUrl. How can I tell which button cause the cross-page postback?
... more >>
replacing strange quote with standard quote
Posted by Stimp at 9/19/2006 10:06:51 AM
I have a function to replace the strange quotes (Chr(8220) and
Chr(8221)) with standard quotes...
e.g. Public Shared Function TextFormat(ByVal InputString As String) As
String
InputString = InputString.Replace(Chr(8220), """")
InputString = InputString.Replace(Chr(8221), """... more >>
Different colors in a DropDownList
Posted by tshad at 9/19/2006 9:40:39 AM
Is there a way to set one item in a dropdown list to a different color?
I have a case where I might have 15 items and one is a default and would
like to set the default as green where all the rest are black.
I looked at the examples from
http://www.c-sharpcorner.com/Code/2003/July/ColorFul... more >>
Out-of-memory error: sample app
Posted by George1776 at 9/19/2006 9:24:23 AM
I'm seeing some unexpected behavior in Framework 2.0 / IIS 5.1 in high
memory usage situations. The first problem I had is that the default
machine.config for Framework 2.0 does not include a memoryLimit entry -
Framework 1.0 was set to 60% by default. But even after adding a
memoryLimit = 60 ... more >>
Input Form
Posted by Austin Phillips at 9/19/2006 9:13:33 AM
Does anyone know how to ensure that my textbox edit mask is set to
Uppercase?
When a user types in a certain textbox, I want the case to be Upper.
Is there a setting for this?
Thanks,
Austin
... more >>
ATLAS, Gridview, EditCommand event not firing
Posted by bill at 9/19/2006 9:09:52 AM
I have an update panel that contains a gridview.
There are 2 triggers: one for a search button that is outside the panel
and one for the gridview EditCommand Event.
The search works fine, the button click event fires, no problem.
But the event for the EditCommand does not fire. Any Ideas? Any o... more >>
can't create web app in visual studio
Posted by moverdear NO[at]SPAM farmerstel.com at 9/19/2006 8:29:49 AM
I have seen several post with people with the same problem, but nothing
fixes my problem. I have a web app on my desktop and I want to
transfer it to a laptop to travel to the customer site. I have loaded
IIS 5.1, visual studio 2003. When I try and create a project, I get
the error,
The ... more >>
Webparts dll?
Posted by brianroisentul NO[at]SPAM hotmail.com at 9/19/2006 7:15:52 AM
Hello,
I'd like to know which dll I have to reference when I use the
System.Web.UI.WebControls.Webparts namespace.
Thanks,
Brian
... more >>
Mixing ASP Controls in .Net Projects
Posted by Jose Manuel vilomar at 9/19/2006 7:02:01 AM
Hi and thx for take a litle time to reply me.
My question is:
Supposing that i have a Control built in ASP 3.0 (a Calendar Control in this
case) and I want to make it work in a .Net project Built with ASP .net (
FrameWork 2.0), could it be posible to run the control in the same page and
... more >>
Dowload File
Posted by rony_16 at 9/19/2006 7:00:05 AM
Hi,
I have problem with downloading a file using WebRequest and
HttpWebResponse.
Inorder to download this file i need to call to url that tells to
prepare the file for download,
and then i call to another url that downloads the file.
I have a problem with that because:
1. i do not know when... more >>
Populating data in classes
Posted by Nemisis at 9/19/2006 5:51:04 AM
Hi all,
I have 2 classes, for example. I have a Company class and a contact
class.
each class has the following properties
Company
ID
Name
Town
Ref
Contact
CompanyID
FirstName
LastName
Email
Now if i am retrieving the data from my database and filling the
contact class, is ... more >>
Forms Authentication and MasterPage
Posted by Lav KG at 9/19/2006 12:48:45 AM
Hi
I'm trying FormsAuthentication on various ContentPages of a MasterPage.
It's being validated but only the contents of the ContentPage is
getting displayed.
Is it because I'm not validating MasterPage ?
Thanks
Lav KG
... more >>
newbie: allow deny vs deny allow
Posted by Jeff at 9/19/2006 12:23:41 AM
asp.net 2.0 security:
Below are 2 authorization blocks. I wonder what is the difference between
them from a security point of view?
I guess this can be a standard question on a asp.net 2.0 certification exam,
so i'm very interested to know the difference between these settings.
<authori... more >>
Problem recieving the html code via email body.
Posted by divya at 9/19/2006 12:17:05 AM
Hi,
Yesterday I mailed a piece of code to my yahoo acount and my
office account .
This is only small part of the entire code.
<script language="JavaScript">
function SendToWebServer(sendto)
{ document.frm.action=sendto;
document.frm.submit();
}
</script>
The problem is that when... more >>
newbie: asp.net 2.0 security question
Posted by Jeff at 9/19/2006 12:12:50 AM
Hey
asp.net 2.0
Below are some settings from my web.sitemap file and my web.config file.
With the current settings unathenticated users cannot view the Default.aspx
page. But I want unathenticated users to be able to view the Default.aspx
page.
web.sitemap:
<?xml version="1.0" encodi... more >>
newbie: security & themes!
Posted by Jeff at 9/19/2006 12:00:00 AM
Hey
asp.net 2.0
I have a webpage which get it's layout data from a theme. Using the theme
works without problem until I added these settings to the web.config file:
<authorization>
<deny users="?"/>
</authorization>
With this new settings in web.config the theme isn't applied to the pa... more >>
control que permita buscar texto dentro de PDF?
Posted by jb at 9/19/2006 12:00:00 AM
Buenas,
Conoceis algun control para asp.net 2.0 (si es gratis mejor, sino tampoco
pasa nada) que permita buscar texto dentro de PDF's de forma rapida? (para
un search engine)
Gracias!
Jesús Bosch Aiguadé
www.jbmixed.blogspot.com
... more >>
How to set a row of gridview different color
Posted by ad at 9/19/2006 12:00:00 AM
I set a row of gridview different color when one value in the first column
if greater the the value in the second column.
How can I do?
... more >>
|