all groups > asp.net > august 2006 > threads for wednesday august 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 31
Configuring the Menu Control
Posted by clintonG at 8/30/2006 11:57:23 PM
I haven't learned this control yet but I do need to know if it can be
configured to drop down instead of fly-out?
// Like this...
-------------------
Static Root Label
-------------------
DropDown Item 1
DropDown Item 2
--
<%= Clinton Gallagher
NET csgallagher AT metromi... more >>
Running and debugging a website on http://www.mysite.com instead of http://localhost
Posted by craigkenisston NO[at]SPAM hotmail.com at 8/30/2006 10:55:31 PM
Running and debugging a website on http://www.mysite.com instead of
http://localhost
I need to test and debug a website using the full website name instead
of localhost.
So, I went and modified the hosts file by adding 127.0.0.1
www.mysite.com and I was able to view the website on my machin... more >>
exporting excel in asp.net
Posted by theheathergirl NO[at]SPAM hotmail.com at 8/30/2006 8:33:40 PM
I have a page that has a button and it exports fine on the laptop but
when I drop it on the server and hit it from a client machine on the
LAN (https) it gives me an explorer error that it cannot download the
page... The server has some certificates needs that my laptop does not,
not sure if tha... more >>
CSS Woes
Posted by Uriah Piddle at 8/30/2006 8:04:18 PM
Hi,
I'm new with ASP.NET 2 so please bear with me. I created a website with VS
2005 and enabled master pages and themes like this in WebConfig:
<pages masterPageFile="~/Template.master" theme="DefaultTheme" />
For several days I could edit the CSS file to format Template.master and
then... more >>
SqlCacheDependency and ObjectDataSource
Posted by J055 at 8/30/2006 6:41:57 PM
Hi
I've been trying out SqlCacheDependency using the ObjectDataSource and SQL
Server 2005. It all works quite well with the minimum of configuration, e.g.
<asp:ObjectDataSource ID="odsAccounts" runat="server" ...
EnableCaching="true" SqlCacheDependency="CommandNotification">
....
</asp:O... more >>
PDFCreatorPilot, Which is the NameSpace to import in Code Behind
Posted by fabrice at 8/30/2006 5:34:18 PM
Hello
Is it possible to use the .Net component library "Pdfcreator" ?
I'm under framework 1.1 / VB.Net and i work without VS.
I have copied the DLL file in my /bin directory : PdfCreatorLib.dll
But i don't know the name of the Namespace that i need to import in my
application to be abble t... more >>
<object> as server side HtmlGenericControl
Posted by Martin Eyles at 8/30/2006 5:28:31 PM
Hi,
I want to have an <object> tag in my .aspx file, so that it is shown as part
of my webpage. I want to add data to the "data" attribute using server side
code, so I thought I would add the runat="server" attribute. In order for
ASP.net to treat this as a generic html control, I have decl... more >>
User Controls & Validation
Posted by Kyle K. at 8/30/2006 5:20:05 PM
Environment: Visual Studio 2005 + WinXP Pro SP2 + .NET 2.0
I am new to creating user controls and have a (hopefully) simple question.
I have a series of personal questions (first/last name, address, phone
number, etc.) that is repeated on several different pages. I pulled
these question o... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET Web-Based Bulk Email System - HELP
Posted by David at 8/30/2006 5:05:07 PM
Hi!
I am looking to integrate a bulk emailing system into my web site. I am
trying to find a web-based solution but it seems difficult to find anything
relevant. There are lot of system available but they are all installable
softwares...
We are using the dot net nuke framework as our web s... more >>
Let and Set not supported under aspx
Posted by AbraAbraCadabra at 8/30/2006 4:41:41 PM
I have an ASP website that I am converting to aspx. I am getting an error
message telling me that the "let and set commands are no longer supported".
Apparently this is new to aspx. How do I fix these commands under .net?
... more >>
Base64 Decoding
Posted by Kuldeep at 8/30/2006 3:34:41 PM
Hi All,
Could you please give me some guidelines on dealing with
Base64 encoded string.
The actual purpose is to decode Base64 Encoded string
and stream the data to a browser so that it can be viewed
in a web application
Regards,
Kuldeep
... more >>
Better timeout mechanism?
Posted by MattB at 8/30/2006 3:18:06 PM
I'm using the old html method of creating timeouts for my asp.net (1.1)
pages. This apparently isn't working as well as I'd hoped because it
takes a postback to reset the timer. I've had complaints of people
typing into a dialog box and having the page time out while they were
typing.
Anyon... more >>
formatting problem with dynamic gridview
Posted by Ken Wigle at 8/30/2006 1:06:02 PM
All,
I would be very grateful for any help on this question. I have an
application in asp.net 2.0 where I dynamically create a datatable and then
bind that to a gridview. Unfortunately, the date column always shows the
date and time while I just want the short date. I have tried applyi... more >>
Inserting a new item in a dropdownlist which was binded with an ObjectDataSource
Posted by Hugo Flores at 8/30/2006 12:59:46 PM
I bound the items of a DropDownList with an ObjectDataSource, but I
also want to add a new item at top with an option that would say All,
and an emtpy value.
I tried this
Private Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
ddl.Items.Insert(0, Ne... more >>
Type ahead dropdown box
Posted by Peter at 8/30/2006 12:59:09 PM
Does anyone know of a good dropdown WebForm control that works like the
Windows Forms dropdown control with type ahead feature, Where user can type
in a value and it automatically displays the like values in the listbox, or
user can click on the down arrow to bring a list of all items? I hav... more >>
IS Typed DataSet an implementation of ORM ( Object relation Mapping)
Posted by pratham at 8/30/2006 12:47:17 PM
If i understand correct? is strong typed DataSet is ORM implementation
by Microsoft?
Expecting comments .. please
Praveen
... more >>
database roles
Posted by rodchar at 8/30/2006 12:22:01 PM
hey all,
is it possible in asp.net to check what database role a user is part of?
thanks,
rodchar... more >>
Problem almost solved - Sending Mail
Posted by AbraAbraCadabra at 8/30/2006 11:58:35 AM
Ok I think I've almost got my problem solved. I am using this code to send
mail.
I am simply pasting it into an .ASP page. Why doesn't this code work? I do
have
..NET 2.0 installed, but I haven't done any configuration to it. Am I
missing something?
'Create a new MailMessage object ... more >>
Web forms designer
Posted by S. Daum at 8/30/2006 11:47:10 AM
I have developed in vb6 for many years. I'm working on my first asp.net 2.0
application. I'm really having trouble just trying to layout a web form in
the designer - particularly with tables. Sometimes I can change a row
height, sometimes I can't. Getting things to align is challenging. It fee... more >>
Help with .NET
Posted by AbraAbraCadabra at 8/30/2006 11:45:44 AM
I found some sample code that instructs me to implement the following
code...
Does this code go directly inside an ASP file? It looks like it might be
something
special - I am new to .NET 2.0 but have used 1.1 for a while now.
<configuration>
<!-- Add the email settings to the <system... more >>
Dynamic Javascript in ASP button
Posted by Wayne Sepega at 8/30/2006 11:27:40 AM
I have inherited from System.Web.UI.WebControls and overrode the OnRender of
my new button. In the on render I generate some JavaScript and add it as an
attribute as follows:
this.Attributes.Add("onclick", javascript);
I have the following issues:
1) I have to add to the javascript the ... more >>
Build an autosave function on page?
Posted by Groove at 8/30/2006 11:24:57 AM
Hey guys -
I've used the Thread.Sleep(xyz) method before to trigger a pause in a sub or
function. I was wondering if anyone knew of a method to have a page
autosave itself after X minutes?
Here's the situation. I have a form with a lot of multi-line textboxes in a
site with the user is ... more >>
user control in datagrid
Posted by phil2phil at 8/30/2006 11:08:08 AM
Hi,
I wanted to know if there is any way to display a user control inside a
datagrid, I just need to display products on a website, 2 columns, 2
rows at a time, with a next prev links/buttons, thats why i was
thinking about using a datagrid. But I need it formatted a certain
way, display Image... more >>
role question
Posted by rodchar at 8/30/2006 10:59:03 AM
hey all,
if my app is using active directory for authentication how do i assign roles
to each user? do i need a database table to contain that information?
for instance, take a user does she have access to this program/field or not?
thanks,
rodchar... more >>
Using "Handles" vb vs. c#
Posted by sck10 at 8/30/2006 10:51:59 AM
Hello,
Is there an equivalent to using "Handles" in the codebehind for c#? Or do I
have to declare every event in the GridView control like the following:
<asp:GridView ID="gvSearchList" runat="server"
DataSourceID="dsSearchList"
DataKeyNames="ServiceIdea_ID"
OnSelectedIndexChanged... more >>
Validation with DetailView
Posted by bmayer NO[at]SPAM mnepilepsy.net at 8/30/2006 10:13:44 AM
I have a form that has two gridviews for displaying data, two details
view are associated with the gridviews. The details views are used for
inserting individual records, which are then displayed by the
gridviews. The records are inserted by using the auto generated insert
buttons in the details... more >>
Convert string to URL
Posted by randy at 8/30/2006 9:00:17 AM
Hi,
I have a url stored in a config file and when I retrieve it and store as a
string it does not look like the url (see below).
URL in config is:
https://test.com/test.cfm
Stirng output is:
"\https://test.com/test.cfm\"
I tried using URLPathEncode and it returns the same string. Wha... more >>
Checkboxes not saving state
Posted by arun.hallan NO[at]SPAM gmail.com at 8/30/2006 8:56:02 AM
Hi,
I have a datagrid whose datasource is a datatable which is saved to
viewstate on page_load.
I also have a cached string which handles what is shown on the
rowfilter of the dataview of this datatable.
I also have a cached string that holds the way the dataview is sorted.
Now, on my ... more >>
Can someone tell if Sitemap always require a starting root?
Posted by rlueneberg NO[at]SPAM gmail.com at 8/30/2006 8:19:57 AM
Can someone tell if Sitemap always require a starting root? Can it have
more than one root? I am having a problem trying to hide a root node
without hiding its children using a Treeview component. I know you can
do that if you use sitempadatasource. But instead I am forced to use
this tranformat... more >>
FileStream & StreamReader?
Posted by Arpan at 8/30/2006 8:02:36 AM
A file can be read using only the StreamReader object like this:
Dim sReader As StreamReader
sReader = New StreamReader(Server.MapPath("File1.txt"))
While(sReader.Peek > -1)
Response.Write(sReader.ReadLine)
End While
as well as using the FileStream object along with the StreamReader
o... more >>
Binding to property of property of object collection
Posted by TS at 8/30/2006 8:00:26 AM
when binding to a datagrid for example, is it possible to use databinding
syntax to bind to a property of a property? Say the datasource="Cars" which
is a collection of car classes and the DataValueField = "Driver.Name" which
is the Car.Driver property and then the Driver.Name property.
tha... more >>
Reading the MAC address of the client PC
Posted by Greg Smith at 8/30/2006 7:50:29 AM
We are trying to limit application access to curtain PCs. We are
considering using the IP address, which I know how to get but the MAC
address would be ideal.
Is there a way to read the client's MAC address?
Any help is greatly appreciated.
... more >>
Textboxes clear on postback
Posted by lanem at 8/30/2006 7:27:02 AM
I have an asp.net 2.0 page with a couple of textboxes and a gridview. On
postback from a rowcommand from the gridview, the textboxes are clearing out.
No other postbacks from the page are causing this. There is NO code
whatsoever that deals with these boxes. One of them is just a dummy I s... more >>
msg box for web development
Posted by frank at 8/30/2006 6:46:02 AM
Is it possible to popup a messagebox on a web page with .net code?... more >>
.NET 1.1 and 2.0 on same server
Posted by Tom at 8/30/2006 6:21:02 AM
I'm trying to run my .NET 1.1 web app and my .NET 2.0 on the same server and
I'm getting the following error:
"It is not possible to run two different versions of ASP.NET in the same IIS
process. Please use the IIS Administration Tool to reconfigure your server
now I added another applicati... more >>
gridview delete and update
Posted by tarscher NO[at]SPAM gmail.com at 8/30/2006 6:02:47 AM
Hi all,
I have a grid that contains 7 columns from 3 tables (3 unique keys, 4
normal fields). I show this 7 columns on the gridview. I now want to
add edit and delete functionality. This should be fairly easy cos it's
a build in feature of the gridview but alas...
When the user clicks dele... more >>
web.config
Posted by mocsoft at 8/30/2006 5:44:39 AM
I have an application that requires the dynamic changing of values in
the web.config file, I have code that seems to change the value:
WebConfigurationManager.AppSettings("database") =
DropDownList1.SelectedValue
However this seems to hold the value in IIS memory rather than actually
changi... more >>
Hashing and Encryption
Posted by Jayender at 8/30/2006 3:15:24 AM
Hi,
What is the difference between Hashing and Encryption ?
... more >>
passwords and viewstate
Posted by Mike P at 8/30/2006 2:47:19 AM
I have an Add User page where I want to enter details such as password
in a text box with textmode set to 'password'. However, one of the
fields required to have data entered into it is a dropdown which
repopulates other dropdowns on the SelectedIndexChanged event. This
event has the effect of... more >>
OutputCache?
Posted by Arpan at 8/30/2006 2:38:49 AM
I am using the following code to cache the page output for 60 seconds:
<%@ OutputCache Duration="60" VaryByParam="*" %>
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
lblOutput.Text = "Welcome, " & Request.Params("id") & " The
time now is " & D... more >>
Why deny webservice
Posted by ad at 8/30/2006 12:00:00 AM
When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message :
"Access deny"
The port 80 is open in my firewall.
What's happen?
... more >>
Getting the first day of the month
Posted by Patrick.O.Ige at 8/30/2006 12:00:00 AM
I have a calendar and i'm getting the first day of the month by doing so
below
calendarstartdate.SelectedDate =
Convert.ToDateTime(String.Format("{0:yyyy/MM/1}",DateTime.Now));
Are there better ways to do this?
Any ideas
... more >>
Problem: "Does not exist in current context"
Posted by Jeff at 8/30/2006 12:00:00 AM
hey
asp.net 2.0 (C'#)
In the code behind file I have this method:
public String AddBR(Object param) {
String text = (String) param;
return text;
}
(( I know this method does nothing, but when I've fixed the compile error
then I will add more code to this method ))
Here I'm ... more >>
Tables
Posted by Peter Morris at 8/30/2006 12:00:00 AM
Newbie here.
I'm hasving trouble with tables in Visual Web Developer Express.
I've set cellspacing and cellpadding to zero, but there's spaces around
objects in my table.
Any idea what's going wrong?
... more >>
|