all groups > asp.net > january 2006 > threads for friday january 27
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
Daily Calendar control
Posted by guy at 1/27/2006 11:24:48 PM
hi
I am looking for Daily calendar control for my ASP.net project. (c#)
Where can i download it?? (prefereble ,for free...)
The daily calendar or diary suppose to look like the daily task scheduler in
OUTLOOK.
My project deals with task scheduling, and i have my own task object ...
thanks ... more >>
asp?
Posted by Coach at 1/27/2006 10:12:57 PM
hi
not sure if i am in the correct newsgroup, sure someone will place me in the
right direction if not.
I ahve a little vb6 knowlege and i will probbly look at .net for this and
needed some help
basically i have a network windows 2000 in work.
i want to build a page, a master, that conne... more >>
Can not clear the cookie form another application
Posted by ad at 1/27/2006 10:10:25 PM
I use the codes below to clear the cookie["us_id"]:
HttpCookie myCookie = new HttpCookie("us_id");
myCookie.Expires = DateTime.Now.AddDays(-1d);
Response.Cookies.Add(myCookie);
It do well when the cookie is from the web application itself,
But fail to clear when t... more >>
xmlhttp server side object assignment
Posted by CsaaGuy at 1/27/2006 9:50:32 PM
I have a general question. There is a javascript object called xmlhttp
that can be used to callback into you webpage and run server side code
without a postback (submit). I have got this to work just fine and it's
cool. But of course there's an issue. When i bring the data back from
the server (... more >>
What is different between Request.Cookie and Response.Cookie
Posted by ad at 1/27/2006 8:24:22 PM
What is different between Request.Cookie and Response.Cookie?
Are they independent?
... more >>
asp.net 2.0 master pages
Posted by Jon Spivey at 1/27/2006 6:54:40 PM
Hi,
Using VS 2005/VB.net. I need to add a meta description tag and change a
stylesheet link from a page based on a master page. Found this article
http://msdn.microsoft.com/asp.net/reference/design/default.aspx?pull=/library/en-us/dnvs05/html/masterpages.asp#masterpages_topic8
Which seems to su... more >>
Microsoft .NET Framework Version vs. ASP.NET Version
Posted by Shadow Lynx at 1/27/2006 6:25:46 PM
At the bottom of the default Error page that appears when Unhandled
Exceptions occur, what exactly is the difference between the "Microsoft
..Net Framework Version" and the "ASP.NET Version"?
I understand that the ASP.Net version is the version of ASP.Net that
the current site is running under... more >>
Weird Compile Errors Continues
Posted by Andy Sutorius via DotNetMonster.com at 1/27/2006 6:04:13 PM
I am getting this error when I compile a VS2005 web project: The name
'dgdANSI835' does not exist in the current context. This web project has been
compiling fine. All of a sudden the code behind cant see the datagrid. The
aspx has the datagrid in it. Just for kicks if I explicitly declare the
d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error: Validation of viewstate MAC failed
Posted by Sergej Grickov at 1/27/2006 5:10:29 PM
Hello, all!
I started to develop my application with ASP.Net 2.0 and got the strange
behavior with pages, where user change any form control (i.e. checkbox,
button, etc.).
Ex.: when I clicked on button - page is not submit (postback);
if I create dropdown box with AutoPostBack = true, or ... more >>
Weird Compile Error
Posted by Andy Sutorius via DotNetMonster.com at 1/27/2006 5:07:40 PM
When I compile my VS2005 website I get this weird compile error. The line it
points to a constructor for a class that is used throughout the website. Even
more bizarre when I click on the underlined method (WebUser) VS2005 opens up
a file called WebUser [from MetaData]. Can you advise?
The typ... more >>
Possible Bug In the Calendar Control on web forms.
Posted by Mariano Padilla at 1/27/2006 4:20:27 PM
The calendar control only has the event of SelectionChanged to detect if the
user clicks on the calendar. I have 2 calendars on a form, one for arrival
date one for departure date. Every time a use clicks on the calendars, the
proper date gets filled in the text boxes below the calendars.
... more >>
set default schema on connection string
Posted by Nalaka at 1/27/2006 3:04:23 PM
Hi,
We have a aps.net 2.0 web application and sqlserver 2005.
We keep the connection string in the web.config file.
We need to set the for the web application...
so we do not have to hard code the default schema in every call.
Is it possible to set default schema in the connection string?
... more >>
<asp:ListItem> in v2
Posted by Mark Rae at 1/27/2006 2:51:11 PM
Hi,
Has the <asp:DropDownList> - <asp:ListItem> functionality changed in v2? In
v1.1, the following works as expected:
<asp:DropDownList ID="cmbStatus" Runat=server EnableViewState=False>
<asp:ListItem Value=0> </asp:ListItem>
<asp:ListItem Value=1>Awaiting</asp:ListItem>
... more >>
Beginner questions
Posted by Chris at 1/27/2006 2:50:38 PM
Hi all,
I've recently started learning ASP.Net and have a few questions mostly
regarding best practice.
As postback uses JS is it normal practice to check if the browser
supports/has JS enabled to ensure the site functions correctly? I know the
vast majority of browsers probably have JS... more >>
Avoiding @Register, cannot instantiate controls registered in web.config (2.0)
Posted by richard.tallent NO[at]SPAM gmail.com at 1/27/2006 2:32:24 PM
I'm fond of web controls in ASP.NET, but the need for <@ Register%>
blocks at the top of each page is a pain.
ASP.NET 2.0 has a way to centrally register controls in the web.config
file, but it is poorly documented and appears to be broken.
I have added my standard user controls to my web.co... more >>
How to maintain affinity in webgarden (multi CPU)?
Posted by SevDer at 1/27/2006 2:07:44 PM
Hi,
I would like to know, if it is possible to maintain affinity by having a
webgarden for our ASP.NET application in multi CPU server?
And of course if possible without or minimal code change :)
Thanks in advance,
--
SevDer
http://www.sevder.com
A new source for .NET Developers
... more >>
CheckboxList problem
Posted by Jeppe Jespersen at 1/27/2006 1:48:07 PM
Checkout a little 3-minuter video i made, illustrating my problem.
http://www.netkoder.dk/cl/
Any ideas?
Jeppe
... more >>
Caching objects
Posted by Joel Barsotti at 1/27/2006 1:44:13 PM
My website has different products and I've developed a nice little object
oreinted class library for them. I then use the objects for products and
such on many different pages. Especially with some products inheriting from
other objects and many of them needing to access the database to init... more >>
Do you have to rename ASPNETDB.MDF for ASP.NET 2.0 Web Hosters?
Posted by VB Programmer at 1/27/2006 1:41:23 PM
My web hoster says that I have to rename my ASPNETDB.MDF SqlExpress db for
my 2.0 site to work. Is this accurate?
If so, how can I rename it without breaking anything on my site?
FYI: This is the error I'm getting after I publish my site to their
servers...
An attempt to attach an auto-n... more >>
Problem with cell width (100%)
Posted by Hiwj at 1/27/2006 1:33:27 PM
I am having a problem with a cell in a table in ASP.NET which used to work OK
in classic ASP. I have one cell in a row where the width should be 22 pixels
and the other cell should take up the remainder of the width available. In
ASP.NET the 2nd cell (when set to 100%) is 500 pixels wide (henc... more >>
How to do onmouseover/onmouseout events on asp.net button
Posted by Rob Roberts at 1/27/2006 1:26:11 PM
I'm using .NET 2.0 and C# on a web site, and I'm trying to use the
onmouseover and onmouseout events to do a rollover effect on an asp.net
button. I've tried manually adding the events to the asp:button tag. The
events I added look like this:
onmouseover="this.className='btnNormal'"
onm... more >>
Publish Website - Any way to remember URL? (multi post by accident)
Posted by HTML at 1/27/2006 1:16:13 PM
Hi,
When I publish a web site with VS.Net 2005 it always asks for the URL under
Target Location. Is there a setting I can check to have VS.Net 2005
remember my last entry? Thanks!
P.S. The multi post was an accident, I forgot to include this group in my
original post.
... more >>
question on .net calendar control
Posted by Paul at 1/27/2006 1:12:27 PM
Hi, I have a calendar control for a .net web application and was wondering if
it is possible to change the appearance of some of these days when the page
loads? The application loads date information of available dates and would
be nice to make these dates show up as bold in the calendar. Th... more >>
how to reset a control to pre-viewstate state
Posted by Andy Fish at 1/27/2006 1:06:59 PM
Hi,
Given a control on a form with viewstate enabled, is there any way to reset
the control to it's default values (i.e. undo any viewstate settings).
I guess I could disable viewstate programmatically and then do a
response.redirect(myself), but I want to do this without a round-trip.
... more >>
conversion from type 'DBNull' to type 'float' is not valid
Posted by ibiza at 1/27/2006 12:51:05 PM
Hi all,
I'm using a business logic layer as described in this source code :
http://www.asp.net/QuickStart/util/srcview.aspx?path=~/aspnet/samples/data/GridViewObject.src&file=GridViewObject_cs\App_Code\AuthorsComponent.cs&lang=C%23+Source
It works very well until I encountered a small probl... more >>
declaritive or code behind eventhandler assignment?
Posted by Phil at 1/27/2006 12:38:27 PM
Is it better to assign eventhandlers in codebehind:
this.Button1.Click += new EventHandler(Button1_Click);
or delcaritive:
<asp:button id="Button1" runat="server" onclick="Button1_Click"
text="Button" />
Or does it matter either way; and if so, why?. I've been doing it in
codebind, but ... more >>
How Does It Work In 2005?
Posted by Jim Heavey at 1/27/2006 12:15:27 PM
I was using VS 2003 and I installed VS 2005. It appears that VS 2005
installs it's own web server. Does this mean I no longer need IIS (Win XP
Pro version) on my machine? Should I uninstall the new Web server and go
back to IIS or uninstall IIS?
When I create a simple web site with a sin... more >>
Using two stored procs instead of two queries?
Posted by Roy at 1/27/2006 11:51:18 AM
Hey all,
Here's a small VB codeblock that connects to a database and uses 2 SQL
queries then forms a relation for a master/detail view on the aspx side:
Private Sub Binddata(ByVal name As String)
Dim myconn As New
SqlConnection("server=localhost;uid=ser;pwd=none;database=et")
Dim mycom A... more >>
Include page - not a user control
Posted by PCK at 1/27/2006 11:35:02 AM
I have a web page that will have a header. This page will be used by many
clients each who will want their own custom header. My web page is hosted on
my server. Each client has their own server.
So I thought that it would be beneficial to our clients if they created
their own custom hea... more >>
I need to make me a specification list for outsourcing purposes, please help..
Posted by Edwin Knoppert at 1/27/2006 11:29:44 AM
For near future specifications to place our ASP.NET software on a server not
being ours i have to ask you a few rather simple questions.
It's for professional use.
We would not like to intervene with the installation that much, a simple
copy to folder should be enough.
Eventually we point the... more >>
Is server cache reloaded everytime when web.config changes?
Posted by WebMatrix at 1/27/2006 11:16:28 AM
Hello,
My web app is reading data from web.config and cache it right away. I was
testing it on production server, but I noticied that every time I change
..config file it reads new data, rather then pulling it from cache. Is it by
design or my caching is not working correctly? Thank you... more >>
DataTable (or CSV) into Binary Data
Posted by stockblaster NO[at]SPAM gmail.com at 1/27/2006 11:13:35 AM
Hello all..
Is it possible to convert a DataTable (i create the DataTable from a
CSV file) into binary data and save it into an sql 2005 table (into
binary field).
After that I want to have the ability to add a row to the beginning of
the to the binary data..
And ability to remove a row..
... more >>
How to/Help: Creating a Tabular Display in ASP.NET Page
Posted by tolaskram at 1/27/2006 11:11:54 AM
We're developing an ASP.NET 2.0 (C#) application that needs to display array
data in a tabular format. Some might say "simply use the GridView control,"
which might work for us. But, we have a couple of specific things that the
GridView may or may not be able to do (we don't know).
We need t... more >>
question about ActiveX and Java Applet within Web Broswer
Posted by david at 1/27/2006 10:55:26 AM
I have the following question about them and need your help.
1. Can ActiveX control open a socket in client machine to connect to a third
machine other than web server?
2. Can ActiveX control invoke a client side application? I remember it can
before. Any restriction on it?
3. Same question... more >>
web forms flow
Posted by c676228 at 1/27/2006 10:31:28 AM
Hi all,
In traditional asp form, there is an action field in a form, any time the
page is valid, after click the submit button, the next page comes up based on
the value in the action field.
In asp.net, in the sumit_click sub, after validating the all the fields in a
form, do you always use ... more >>
Validators and client side script
Posted by Mike Surcouf at 1/27/2006 10:20:24 AM
Hi
I have some regex validators on my page set to dynamic and like the way they
appear after you tab out of a field and also when you try to postback the
form.
All OK so far
When I register for the client side event of a textbox using ...
textBox.Attributes.Add("onKeyUp","javascriptfu... more >>
Session.Abandon()
Posted by Mike McDonald at 1/27/2006 10:10:03 AM
I am trying to free up some memory by forcing a session.clear and a
session.abandon. When I startup the application, it starts at about 80,000
KB of memory in the aspnet_wp.exe. I am able to load a huge data table into
a session variable and watch my aspnet_wp.exe (w3wp.exe on 2003 server) ... more >>
Possible to paginate/sort datalist in ASP.NET 2.0?
Posted by VB Programmer at 1/27/2006 9:39:20 AM
Is it possible to paginate or sort a datalist in ASP.NET 2.0 easily (as it
is with the amazing datagrid)?
Thanks!
... more >>
Figuring out which form button was pressed
Posted by darrel at 1/27/2006 9:22:36 AM
On my vb.net page, I have 4 sets of inputs + form buttons.
example:
Search: [___________] (GO)
Zip: [____________] (GO)
County: [select a county | \/ ] (GO)
County: [select a building | \/ ] (GO)
The problem is if I go to the page, type in a zip code, and hit enter.
What happens is t... more >>
dll getting locked in referencing project's bin
Posted by TS at 1/27/2006 9:12:34 AM
in my web project's bin folder, the dll, that comes from a project reference
of a class library in same solution, can't be deleted. it says it has a
sharing violation. i also cannot delete the .projdata file in the class
library's obj directory. This is causing updates to the class library not... more >>
where is debug/release toolbar
Posted by VB Programmer at 1/27/2006 9:01:03 AM
In VS2005 I can't seem to be the configuration toolbar that has the
debug/release dropdown. Anyone know where this is? Thanks!
... more >>
Hyperlink in a Gridview
Posted by Arne at 1/27/2006 8:51:03 AM
Ho do I put a hyperlink in a Gridview?... more >>
Help Pls - declarative data binding
Posted by Bill44077 at 1/27/2006 8:47:02 AM
Hi,
I am trying to do something like this in html:
<% if(user.isBrowseActive()) { %><td nowrap="nowrap" class="browse"><a
href="swzBrowse">Browse</a></td><%}%>
except I want to replace the user.isBrowseActive() with a declarative
databinding statement like:
<%# myProperty %>
any i... more >>
New IIS setup for Source Code with 1.1.4322 Framework
Posted by BookerW at 1/27/2006 8:23:03 AM
Ok, I am about to install IIS, but I wanted some guidance. I noticed that
out of the box, my W2k3 server box has a folder in the microsoft.net
framework directory for ver 1.1.4322. When I go through the IIS setup, I
also see a box to check for asp.net. I see that IIS has support for regula... more >>
form posting
Posted by VJ at 1/27/2006 7:58:18 AM
I have:
page one
<form runat=server>
<asp:TextBox ID="fTime" runat="server" Visible="true" Text='<%#
DataBinder.Eval(Container.DataItem, "fTime", "{0:h:mm tt}")%>'/>
<asp:Button ID="Purchase" runat=server Text="buy" Heigh="3mm"
Width="15mm" PostBackUrl="page2.aspx"/>
</form>
and i'm tr... more >>
Can't run ASP.NET 2.0 App
Posted by Mike Robbins at 1/27/2006 7:53:19 AM
Just installed Visual Studio .NET 2005. Created a new Web App. Added
nothing to default.aspx and simply tried to run it. Got an error.
The XML Page cannot be displayed
Invalid at the top level of the document
Error processing resource 'http://localhost:3795/Website2/Default.aspx'
Line 1..... more >>
ASP.NET 2.0 Login control
Posted by Glen at 1/27/2006 7:47:02 AM
Does anybody know a way to make the button on the Login control be the
default button on the page? I have a master page with an ImageButton and a
content page with a Login control. When I enter the id and password and
press the Enter key, the ImageButton (on the master page) fires instead of... more >>
user control caching
Posted by fernandezr at 1/27/2006 7:46:15 AM
I have a navigation user control built using a sqlsitemap in our site's
master page. After a user logs in the control doesn't refresh the data
in the leftside navigation links. I found I can force it to refresh if
I simply resave one of the files in my project. These links then cache
after I ... more >>
Simple asp.net programing question
Posted by Support at 1/27/2006 7:22:23 AM
Hello:
I have the following code that currently needs to go in every page.
QUESTION 1) Can Page_Preinit go somewhere else more global like Global.asax
so that I dont have to copy this code in every page
QUESTION 2) How can I externalize this code, ie, can I create a class ?...
some ext... more >>
ASP.NET 2.0 Databind during Client Callback
Posted by jslaybaugh NO[at]SPAM gmail.com at 1/27/2006 7:17:36 AM
I am trying to bind to a GridView or DetailsView after a callback using
the ClientCallback Manager in the new .NET 2.0 framework. See below
for the HTML followed by the VB code:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script t... more >>
How to create a treeview like this?
Posted by staeri NO[at]SPAM gmail.com at 1/27/2006 6:55:34 AM
I want to have a treeview 2.0 look like this:
Selection 1
Selection 2
Selection 3
- subselection 3.1
- subselection 3.2
- subselection 3.3
I can't figure out who to do. I'm grateful for help!
Regards!
... more >>
Change Control Access Modifers in ASP.NET 2.0
Posted by Nuno at 1/27/2006 6:54:02 AM
How can i change the access modifier of a control from protected to public if
the designer code is not visible to the developer? I tryed declaring it on
the page but it throws a compile error saying that the control has already
been declared as protected.
Nuno... more >>
Bind nested datalist to objectdatasource
Posted by Phil at 1/27/2006 6:22:01 AM
I have a datalist (DataList1)...
with an itemtemplate...
then a table - server side (Table1)...
then another datalist (DataList2)...
another itemtemplate...
another table - server side (Table2)
DataList1 is bound to an objectdatasource (ObjectDataSource1), and has a
datakey (CategoryId). ... more >>
IsPostBack
Posted by Alex C. Barberi at 1/27/2006 5:08:01 AM
Why does the page "post back" in ASP.NET? What is this for?
--
Alex C. Barberi
Chief Executive Officer
VisionForce
http://www.visionforceweb.com
... more >>
ViewState
Posted by Alex C. Barberi at 1/27/2006 5:06:03 AM
I saw this code (ASP.NET/VB.NET):
ViewState("strSite") = strSite
ViewState("strCaseMgr") = strCaseMgr
What is this ViewState?
--
Alex C. Barberi
Chief Executive Officer
VisionForce
http://www.visionforceweb.com
... more >>
IFRAME and transparency problem
Posted by purkka at 1/27/2006 4:05:54 AM
Hi
I have IFRAME on a main page having a background picture (bg.gif). A
page of the IFRAME does NOT have background picture, only white
bgcolor.
FireFox: I can see the main page's background picture in iframe
(inherited from main page nicely) , but IE does not show background in
the ifra... more >>
Databindings property - I want to disable true values rather than false values
Posted by Steve at 1/27/2006 3:26:00 AM
As you know there is a databindings property 'Enabled' for fields in
the gridview.
In the custom binding section I have used the expression:
Eval("myfield"). 'myfield' is a boolean field I have in my database.
This (obviously) leads to all 'False' fields being disabled and 'True'
ones bein... more >>
IIS Hell
Posted by CharlesA at 1/27/2006 2:17:01 AM
ok folks, I'm standing on the ledge here.
I'm running XP pro (service pack 1) in a corporate setting with a domain
logon that has local admin rights to the machine I'm using
my machine was rebuilt yesterday with a plain XP pro Os and all the hotfixes
from MS up to service pack 1
I (an MCS... more >>
Help on sizing datalist ??
Posted by serge calderara at 1/27/2006 2:06:02 AM
Dear all,
What is the best way to properly size a datalist item template in order
that any datatype fiits properly in ?
I have 5 columns inmy template, but could nit find proper rules for
dimension it properly.
How to use percent or pixel ?
Any help would be appreciate
regards
ser... more >>
Help: grid Paging trouble ???
Posted by serge calderara at 1/27/2006 12:00:02 AM
Dear all
I have a datagrid on which I have impement paging
I set proper properties for the grid and add following code in
dbGrid_PageIndexChanged event:
dbGrid.CurrentPageIndex = e.NewPageIndex
dbGrid.DataSource = ds.Tables(0)
dbGrid.DataBind()
When I run my a... more >>
READING EMAILS
Posted by Savas Ates at 1/27/2006 12:00:00 AM
How can i read email files by using vb.net. Any referance web site or code
sample?
... more >>
DB_SEC_E_AUTH_FAILED(0x80040E4D
Posted by mkhmer at 1/27/2006 12:00:00 AM
If anybody know how to fix the error "DB_SEC_E_AUTH_FAILED(0x80040E4D)" ???
I store the VB.Net connection string in the session variable and should be
expired with 20mn, but this error mostly appear faster than 20mn.
You help is appreciated.
Thanks,
Mkhmer
... more >>
Event Handling Structure
Posted by mkhmer at 1/27/2006 12:00:00 AM
May anyone give me the URL or explaint me some about how ASP.net handling
all the event provided?
I mean the event handling life cycle, step by step.
I'm appreciate your kindly help.
MKhmer
... more >>
How to add FormsAuthenticationTicket to URL
Posted by ad at 1/27/2006 12:00:00 AM
The codes below is copy from msdn about FormsAuthenticationTicket.
It add FormsAuthenticationTicket to cookie.
How can I add the FormsAuthenticationTicket to URL not to Cookie?
//////////////////////////////////////////////////////////////////////////////////////////////////////////////... more >>
How to use membership provider with login control
Posted by ad at 1/27/2006 12:00:00 AM
I have created a custom Membership Provider, and set it as default
membership provider in web.config.
I have also set deny users ="?" in web.config.
When I use a login control with it, it work fine. but now I want to valid
with code like:
MyMembershipProvider myProvider = new My... more >>
|