all groups > asp.net > march 2007 > threads for wednesday march 28
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
Learning ASP.NET 2.0 - Having trouble creating master page
Posted by Dave at 3/28/2007 11:45:27 PM
It seems that if I put just html inside a master page, everything
works fine. But if I put other controls (such as WebControls and/or my
own custom controls), I can't seem to access the content area in the
designer (on the master page or the content page that uses the master
page). The designer ... more >>
Only Firefox asks for authentication
Posted by Zeba at 3/28/2007 11:39:05 PM
Hi guys,
I've turned my anonymous logon off in IIS in myDefaultWebsite->mySite-
>Properties->Directory Security->Edit. and I have turned Integrated
Windows Security on. However only Firefox asks for the
authentication(windows userid & password) when I try to access the
page. Why is this ?
... more >>
extending MembershipUser, need help!
Posted by Jeff at 3/28/2007 11:34:49 PM
Hey
ASP.NET 2.0
I'm trying to extend the MembershipUser class, and have encounter a problem:
<< See in the middle of this post for info about why I do this >>
<< See below of this post for the source code of Contact class >>
public class Contact : MembershipUser
{
public Contact(s... more >>
ThreadAbortException on Redirect
Posted by Zeba at 3/28/2007 11:15:04 PM
Hi !
I am using a httphandler to perform some url rewriting in my
application. My web.config contains the following entry to direct all
urls containing /App/*.ashx to my class AppHandler.cs in namespace
mySite.Web
<httpHandlers>
<add verb="*" path="App/*.ashx"
type... more >>
Path error
Posted by rcoco at 3/28/2007 11:01:09 PM
Hi everybody,
I'm having a problem with my website. This website works well but when
I deploy it on the server and try to use it on another computer I get
this error: "The network path was not found".
what could be the problem?
Thanks.
... more >>
CSS equivelant of width="*"
Posted by Nathan Sokalski at 3/28/2007 10:22:01 PM
I am trying to convert <td width="*"> to CSS, but all the sources I could
find that give the syntax for the CSS width property say that you must
specify a length, percentage, auto, or inherit. I also noticed that the
Style Builder dialog in Visual Studio 2005 does not let me enter an * for
t... more >>
WINDOWS VISTA AND .NET
Posted by Morys at 3/28/2007 10:18:02 PM
I am trying to install .NET and when I start the installation I get a
message stating that I need Front Page Extensions.
I am using windows vista business version.
Where can I get these extensions? Do I really need them for windows
vista?
Thank you in advance.
... more >>
ObjectDataSource - possible to bind to indexer or indexed property?
Posted by KJ at 3/28/2007 6:15:09 PM
Hello all,
I have several objects which use indexers, such as (in C#):
public string this[string FieldName]
{
get
{
return BaseEntity[FieldName];
}
}
Is it possible to bind to these values, or, alternatively, those of... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Failed to load viewstate HttpException after calling FormView.UpdateItem(true);
Posted by J055 at 3/28/2007 6:08:50 PM
Hi
I need some help with this one. If I add this LinkButton Command event I get
an 'System.Web.HttpException: Failed to load viewstate' on the second
postback. It only occurs when FormView1.UpdateItem(true) is called. The page
posts back OK. When I do a second PostBack I get the error.
... more >>
using radio button option in a repeater control
Posted by Milsnips at 3/28/2007 6:04:58 PM
hi there,
i have a repeater which returns me a list of addresses in each repeaterItem
row.
at the end of each row i have a radiobutton, which i want the user to select
the "active" address.
However when i try selecting a radiobutton it does not deselect the others
in the repeater. I tri... more >>
Loading SQLserver database with ASPNET user ID
Posted by Jeffrey at 3/28/2007 5:36:02 PM
How to configure the IIS, ASPNET userID, Windows or SQL Authentiation, std or
integrated security for SQLserver database?
The VS.net 2002 web server and SQL Server client are at the same PC, while
the SQL Server database is at another PC. The dataset and DataGrid were
created success... more >>
Daily automated process
Posted by bmjnine NO[at]SPAM hotmail.com at 3/28/2007 5:24:17 PM
Hi all,
I am trying to setup a daily task in my .NET (1.1) application. The
application is a project management tool, and the daily task I am
trying to set up will check for overdue project deadlines, and send
out email reminders.
I have setup all the logic that checks deadlines & sends the... more >>
CSS equivelant of the td tag's nowrap="nowrap" attribute
Posted by Nathan Sokalski at 3/28/2007 5:08:41 PM
I am working on making my pages as xhtml compliant as possible (even though
I am still using XHTML 1.0 Transitional). On the following page:
http://www.w3schools.com/tags/tag_td.asp
it says that XHTML 1.0 Strict no longer supports the td tag's
nowrap="nowrap" attribute. I am assuming that ... more >>
Resize image in asp.net
Posted by Tomo at 3/28/2007 4:01:37 PM
I have some code for resizing image (create thumbnail) but there is no
compression. Thumbnail image is smaller in pixels, but in kilobytes is
bigger. How can I create smaller file? I need code in VB or C#.
// Get the path of the original Image
string displayedImg = Server.MapPath("~") + "/... more >>
Quick question
Posted by PokerMan at 3/28/2007 3:47:42 PM
Hi
In a session key add such as:
Session.Add("CustId", userId);
if i then called that again so say i did this
Session.Add("CustId", userId);
Session.Add("CustId", userId);
Would it overwrite the first one with the valaue of the second one, or does
it somehow add the sessi... more >>
IIS/ASP.NET not recognizing writes to web.confg
Posted by John Gonsalves at 3/28/2007 3:39:02 PM
I'm experiencing problems related to IIS/ASP.NET not recognizing writes
to web.config that my web application performs.
Specifically I have a web application that provides an interface
allowing authenticated domain users to be written to the "authorization"
section of the web.config file. Si... more >>
Using images with the ASP.NET 2.0 menu control
Posted by Carl Gilbert at 3/28/2007 1:50:34 PM
Hi
Could someone please advise on the best method to achieve the following.
I want a flat menu which uses images rather than text for each menu item.
All items will have the same image regardless of selected page or hover. To
the left of the menu item I want to display another image (a 6p... more >>
How to force run an asp.net app as 32 bit on Vista 64?
Posted by Peter at 3/28/2007 1:29:52 PM
Hello,
Our asp.net 2.0 application uses Microsoft JET provider. This driver
is not available under Vista 64. However, this driver is avalable if
a .NET application is forced to run as 32 bit application.
Visual Studio 2005 has compilation settings to fix Windows and Console
executables to r... more >>
DATASET wrong :(
Posted by Marcos Galaviz at 3/28/2007 1:24:46 PM
Hi, i create a DataSet but i want that Visual Studio 2005 create the Insert,
Update and Delete method, but it only creates the Insert :( i did it before
with another aplication and it works well, but now i cant do it :( ¿somebody
can help me a little? thanks and have a nice day.
... more >>
Window.print not working in Internet Explorer 7.0 but works in fir
Posted by Diffident at 3/28/2007 1:24:10 PM
Hello All,
I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"
This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everyth... more >>
GridView generated programmatically
Posted by NKaufman at 3/28/2007 1:02:27 PM
<asp:GridView ID="Basic" runat="server"
DataKeyNames="QuestionID,isHeading" AutoGenerateColumns="false"
AllowPaging="true" PageSize="100">
<Columns>
<asp:BoundField Visible="false" DataField="QuestionID"
HeaderText="QuestionID"></asp:BoundField>
... more >>
HOW TO Refresh a Drop Down List Box ???
Posted by Brad Isaacs at 3/28/2007 12:44:38 PM
ASP.NET 2.0 / SQL Server 2000 db / Visual Basic Code behind
On my .aspx page I have added an SQL Datasource that contains the SQL query
to retrieve the list for my Drop Down List Box.
Using this SQLDataSource I can retrieve my drop down list data.
SELECT DISTINCT responsibleMinister
FR... more >>
Generic List to String
Posted by shapper at 3/28/2007 11:13:30 AM
Hello,
How can I transform a Generic List(Of String) to a string as follows:
"value1,value2,value3,value4, ..."
Thanks,
Miguel
... more >>
HttpRequest Question
Posted by Anthony Sullivan at 3/28/2007 10:34:36 AM
I'm working on a quick and dirty little app that will go out to a website
and scrape an xml response.
So far its working fine with one exception. The xml response has an xsl
stylesheet tag at the top so that when a browser hits it the xml is
transformed. When I use the code below I get the ... more >>
How do I connect to my database when I'm using IIS (connecting via http://localhost/...)
Posted by mark4asp at 3/28/2007 10:28:52 AM
How do I connect to my application via http://localhost/..., using
IIS.
I've developed an application via the File System (using the VS Web
server). When I deploy it I change the <appSettings> From
MyAppConnString_localhost to MyAppConnString_live (see config settings
below).
Up to now con... more >>
File name problem
Posted by tshad at 3/28/2007 10:21:08 AM
I found that if I do a select from .csv file, it won't work if the filename
has "." or "-" in them such as:
PAYROLL.ALLOC.RPT_8511_3-15-07.CSV
I am doing the following:
Dim ConStr As String = _
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
path & ";Extended Properties="... more >>
Windows Authentication Problem Between localhost-server
Posted by Mike at 3/28/2007 9:54:01 AM
Hi. I have an ASP.NET app using <authentication mode="Windows" /> and
<identity impersonate="true" />. The program creates files in a network
share using the Create method of System.IO.FileStream.
I run the program locally and it works. But when ran on the server, I get
an access is deni... more >>
JavaScript Forums?
Posted by David Lozzi at 3/28/2007 9:29:39 AM
Hello All,
What's a good JavaScript forum?
Thanks,
David Lozzi... more >>
gridview add rows
Posted by John at 3/28/2007 9:18:56 AM
I need to create a gridview thats shows a drop down, and 4 textboxes for
inputs and I also need a button that will allow the user to add more rows to
the gridview for input. Then the user hits a save button and the dropdown,
and textbox values are passed to a stored procedure to be saved into ... more >>
Status of ASP.net wikis? Any good ones?
Posted by darrel at 3/28/2007 9:16:40 AM
We have a rather large set of legal documents that are currently maintained
as Word files. This is tedious and a pain.
I've built a mini-CMS to allow them to maintain these documents as
structured files stored as XML. this works, but is still a bit tedious for
them to update. THe main probl... more >>
Unable to add app_code directory
Posted by gf at 3/28/2007 8:14:02 AM
I have a project which was upgraded from 1.1. When I try to add the app_code
folder, it does not display when I select the Add ASP.Net Folder menu option.
Any ideas as to get the folder created?
Gary... more >>
Is there Any orkut API
Posted by Soby at 3/28/2007 7:44:31 AM
Hi,
Is there any orkut api for .net users .Plese send reply its very
urgent
Soby/-
... more >>
Change Asp.Net app path
Posted by Cubaman at 3/28/2007 7:22:02 AM
Hello:
Is it possible to dinamically change asp.net application path? I have
two versions of my application, and based on the request i want it to
point to one app or another. I'm thinkin in implement IHttpModule
interface, but all the path related propertys of HttpRequest are
readonly.
Thank ... more >>
System.Directoryservices being not recongnized
Posted by aamirghanchi NO[at]SPAM gmail.com at 3/28/2007 6:58:23 AM
Hi,
I recently converted an ASP .net 1.1 project to 2.0 in VS 2005.
Even though System.DirectoryServices reference has been added to the
project, still for some reasons the Imports System.DirectoryServices
is not being recognized and there is a build time warning on it
stating:
Namespace or ... more >>
httpHandler not redirecting in IE
Posted by Zeba at 3/28/2007 4:48:04 AM
Hi !
My web.config contains the following entry to direct all urls
containing /App/*.ashx to my Apphandler located in wwwroot/mySite/Web/
AppHandler
<httpHandlers>
<add verb="*" path="App/*.ashx" type="mySite.Web.AppHandler,
App_Code"/>
</httpHandlers>
This works perfectly fine in F... more >>
editing PDF with form fields
Posted by Mike De Petris at 3/28/2007 4:25:54 AM
I am using itextsharp to fill in and flatten some fields from data
filled in a web form field and all works quite well.
The question now is how to manage the pdf template that has the fields
to be filled, changing it in acrobat is slow and difficult as there
are no word processing tools. I try... more >>
Adding Controls to a page via external code
Posted by jwwishart NO[at]SPAM gmail.com at 3/28/2007 12:25:35 AM
The following class implements an interface which is in an assembly in
the GAC
The assembly that this class is in is loaded dynamically upon session
start into the Current AppDomain. It is stored in a folder within the
web application. (Not in the bin directory!)
My Problems are these...
1... more >>
Gridview
Posted by Gunawan at 3/28/2007 12:00:00 AM
Hi,
I have a gridview inside a table <table>...</table>
I have define explicitly wide of the table, for example 800px.
If we need gridview which is inside 800px table wider than table wide, how
can I show horizontal scroll bar on it?
I do not want to change the wide of main table. Thank you.
... more >>
setting DIV content programmatically, how??
Posted by Jeff at 3/28/2007 12:00:00 AM
Hey
ASP.NET 2.0
In my webpage (.aspx) I have this tag:
<div id="test" class="pageTitle">Hello World</div>
I'm wondering how I in Page_Load event can change the "Hello World" text to
something else...?
First I need to get a reference to this div tag, so I'm trying this code,
I'm NOT su... more >>
Formatting data in Gridview
Posted by Gunawan at 3/28/2007 12:00:00 AM
Hi,
I have a datetime field (boundfield) in gridview.
I have tried to set DataFormatString to {0:dd-mmm-yy} but it won't work.
What wrong and how can I display datetime in dd-mmm-yy.
Thank you.
Regards,
Gun
... more >>
|