all groups > asp.net > september 2006 > threads for friday september 22
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
window.showModalDialog() works perfect, but returning to parent-page doesnot
Posted by Curious Trigger at 9/22/2006 11:47:09 PM
Hi there,
programming with Visual Studio 2005 and ASP.NET 2.0 I want to open a modal
dialog from Default.aspx.
I searched the net and many newsgroups but I couldn't find any solution.
First I tried using two aspx pages with standard controls and all those
post-backs and their attributes O... more >>
newbie: need help with this css/html code
Posted by Jeff at 9/22/2006 10:37:28 PM
hey
asp.net 2.0
Please, I need some help with the layout of my webpage. this link shows my
problem: http://home.online.no/~au-holme/pub/66707/divtrouble.PNG
Instead of fieldname and value are displayed like this:
<FIELDNAME>
<FIELDVALUE>
I want fieldname & fieldvalue to be di... more >>
Database data and refresh button
Posted by dejavue82 NO[at]SPAM yahoo.com at 9/22/2006 9:50:21 PM
Hello!
I have an .aspx page that is populated controls with random data from a
database. How can I avoid this data from being refreshed, (ie. new data
being loaded), when a user hits the browser's refrsh button?
!isPostback won't work since a control isn't posting back.
Thank you for your t... more >>
Session Cookie
Posted by Ron Green at 9/22/2006 8:06:02 PM
I am trying to set a Session cookie to contain the error message from a catch
block so I can access the message after postback however in the page_load
event the cookie is null. Is it not possible to set this from a catch block?... more >>
PreInit event and Master Page
Posted by shapper at 9/22/2006 6:56:32 PM
Hello,
I need to set, at runtime, MyLabel.SkinID="MySkinID".
I know this must be done in Page PreInit event.
However, MyLabel is in my Master Page.
I tried to add the Page PreInit event on my master page but it is not
available. Only in normal pages.
How can I solve this?
Thanks,
... more >>
Masterpage communication to content pages?
Posted by Zetatec2 at 9/22/2006 6:28:01 PM
I have a site I am making. It contains one master page that has two ASP
label controls and about sixteen ASP button controls on it. Then I have
sixteen content or slave pages. The user clicks on a button and that brings
up the corrsiponding slave page in the master page. When a slave page ... more >>
How can I avoid impersonation?
Posted by James Park at 9/22/2006 5:41:08 PM
I have two servers, both running IIS6 and SQL Server 2000. I copied a
website over from one to the other. Everything works fine on the source
server, but on the target server opening a page that requires database
access gives me something like "Login failed for NT AUTHORITY/NETWORK
SERVICE."... more >>
Get a column value from a datatable
Posted by Microsoft News Group at 9/22/2006 5:27:37 PM
I am trying to get a value from the MIN column in my database. I can not
seem to get the IF statement to be true, even thou my debugging says the
column value is 0, but it is not hitting the return true. Is there anyway
to get the column value to test it to equal zero.
public static b... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
auto generate htnl for dynamic website
Posted by vikram at 9/22/2006 5:14:08 PM
I am developing a display web site which displays several listing and
details, data is picked up from database for the lists. There is no search
criteria but only pagination stuff.
What i am thinkin gis to create a program which will read data and generate
static html pages for the lists and ... more >>
Preventing People from Accessing my ebooks..
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 9/22/2006 4:18:17 PM
I have a Web Site that I'm interested in selling eBooks from. I'm
having a problem setting it up as I would like, and hope that someone
can help me out.
Inside my domain I have a folder called eBooks. Inside this folder I
have some eBooks, such as eggrecipes.pdf
If the user types in the UR... more >>
Using built-in localization for a commercial application.
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/22/2006 3:24:21 PM
I'm starting to work in an application that will be freely distribuited
to the community. This means, people from any country will use it
>From the begining I've thinking on the Globalization issue and the
application has been created taking in consideration that will be
translated, separating a... more >>
Best way to implement TreeView in ASPX
Posted by Wing Siu at 9/22/2006 3:08:35 PM
Dear All
I faced this problem. I knew Microsoft has published a WebControl, which
included TreeView, but it sees not my cup of team since it cannot handle
onmousedown or onmouseup.
Do I need write my CustomControl? Or any other solution?
Thanks
... more >>
Can a DLL read from Web.Config?
Posted by Todd Brewer at 9/22/2006 2:46:01 PM
I have an ASP.NET web site that uses a .NET dll. The DLL has a DataSet in
it. Problem is, the DLL uses an app.config file (and worse yet, it uses the
stupid settings.settings file, which in turn builds the app.config). So, now
I have to configure settings in the web.config, settings.setting... more >>
customErrors mode="Off"
Posted by Tor Inge Rislaa at 9/22/2006 2:41:27 PM
I am prompted to implement the syntax below to be able to monitor the error
on the remote server trough my browser (client).
I can't seem to find where to place the code in my web.config file to get
this to work.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
... more >>
Form Table Printing Issue with background colours
Posted by mark at 9/22/2006 2:32:19 PM
Ive created a aspx form using tables and flowlayout, I've set the background
colour on certain
rows, which show great in the browser, however when i use print preview the
colours
have dissapeared,
any ideas ?
cheers
mark
... more >>
Label versus Literal
Posted by shapper at 9/22/2006 2:22:23 PM
Hello,
What control should I use when displaying some text? A Literal or a
Label?
Considerer I want to display some text and apply a CSS class to it.
I can do it in 2 ways:
MyLabel.CssClass = "MyClass"
MyLabel.Text = "My Text"
Or using a Literal
MyLiteral.Text = "<p class=""MyC... more >>
a DropDownList inside a DetailsView?
Posted by Carlos at 9/22/2006 2:06:17 PM
Is possible insert a DropDownList in a DetailsView?
... more >>
User Controls, Web Parts and Image Controls
Posted by rudjohn NO[at]SPAM gmail.com at 9/22/2006 2:02:48 PM
I've been tasked with the not-enviable job of creating an application
with multiple, semi-customizable templates. My basic concept, thus far,
has been a combination of Master Pages (for layout) and WebPartZones.
Each master page implements an interface (call it IMasterPage), which
provides pub... more >>
HTML Help
Posted by jaydev at 9/22/2006 1:57:11 PM
Hi,
I want to create Gradient color in my header (just like in microsoft
site) but we don;t want use the image for that and also it should work
in all browsers (If i use
filter:progid:DXImageTransform.Microsoft.Gradient, it works only in
IE). Please help me to solve this isse.
Thanks,
Jay... more >>
want to seperate the modules in dll, but same design shares
Posted by _thedebugger at 9/22/2006 1:27:06 PM
Dear Friends,
We are developing one wbesite in visual studio 2005 and sql server 2000.
now my question is I want to seperate some modules on the website.
Like
1. there will be few sections, like general listing of winners and users
and other products.
2. Game Play Panel, Where user... more >>
Directory structures different on development machine vs. install machine.
Posted by UJ at 9/22/2006 1:06:58 PM
So I have a project called Fred that's a web site. On my machine, the url is
http://localhost/Fred/..... On the final resting place it's
www.fred.com/...
So how do I make the system so that it will work both in my development
environment and the delivered web site? For instance - I wa... more >>
Simple Math in Gridview
Posted by Phillip Vong at 9/22/2006 12:54:59 PM
Newbie here trying to learn.
Using VS2005 / learning in VB.NET for an ASPX page.
Sorry for this simple question. I have a Gridview1 with 2 columns. I added
a 3rd column and all I want to do is add the numbers in the 1st and 2nd
column together for the 3rd column. Can someone tell me whe... more >>
Get row number of Linkbutton
Posted by tshad at 9/22/2006 12:51:20 PM
I have a DataGrid:
<asp:datagrid id="articleList" runat="server"
OnDeleteCommand="articleList_DeleteFile"
OnItemDataBound="articleList_ItemDataBound"
DataKeyField="FullName" AutoGenerateColumns="False">
<Columns>
<asp:HyperLinkColumn DataNavigateUrlField="Name" DataTextField="Na... more >>
Default Buttons and Wizard Weirdness
Posted by JJ at 9/22/2006 12:47:06 PM
I have two related problems:
(a). trying to set the default button within a CreateUserWizard control
-----------------------------------------------------------------
I've done this in a messy way (see below) and wonder if anyone know how I
could have done it using nested FindControl's and ... more >>
Where are a set of walkthroughs for getting started in version 1.1?
Posted by tom c at 9/22/2006 12:41:09 PM
In asp.net 2.0 I found this great list of getting started walkthroughs
that take you through what you need to know step by step.
http://msdn2.microsoft.com/en-us/library/ms186109.aspx
Now I have to go back and do a project in version 1.1 and I can not
find a similar page that lists the walkt... more >>
Windows Control config file in ASP.NET
Posted by freezerstud at 9/22/2006 12:31:09 PM
I have developed a windows control that I am using in an ASP.NET
application. When I go to use the ConfigurationSettings.AppSettings[]
function inside of the windows control nothing is returned. Is it
possible to access a web.config or any other kind of configuration file
inside of the windows c... more >>
Looking for Hire - Dedicated ASP.NET C# Developer - $10/hour
Posted by Koistya `Navin at 9/22/2006 12:24:44 PM
Hello, I am professional ASP.NET C# developer located in Russia and I
am currently looking for a contract work.
Area of specialization (web-based applications development):
ASP.NET 2.0 (C#), ADO.NET, SQL Server 2005, WebServices, XML/XSD/XSLT,
JavaScript, XHTML, CSS.
Hourly rate: just $10... more >>
Bin Directory location - ASP.Net 2.0
Posted by pagates at 9/22/2006 12:10:02 PM
Hello,
I am working on a website that I (currently) publish via FTP. I am having
an problem, though, with the precompiled files. The issue is, the web site
that I am working on goes in a subdirectory of the root. However, my site
won't work unless I move the files from "Root/MyApp/bin" t... more >>
QueryString in SQL
Posted by Nirmal Singh at 9/22/2006 11:29:05 AM
I am trying to learn ASP.Net 2.0.
I have a page which lists Post Numbers in a gridview and returns the
selected Post Number.
Using this post number I want to display a second page using SQL like this:
select T1.NUMBER_R,
T2.SURNAME,
from D200M T1,
... more >>
Extracting the current URL from "Design View"
Posted by RSH at 9/22/2006 11:26:33 AM
Hi,
I have a user created control that has quite a bit of codebehind code. I
have one link in the HTML page code that I need to insert the current URL
in. I have tried several scenerios but the URL always comes back with
nothing:
href="EmployerSolutions_Quote.aspx?url=<% Request.Url.To... more >>
Community Starter Kit won't compile ASPNET.StarterKit.Communities.dll
Posted by Guatemala Balla at 9/22/2006 10:42:47 AM
I am a developer for a web company and though I have complete
understanding of ASP and many other languages, I have not yet had the
pleasure of delving into ASP.NET. I do understand it somewhat and I can
do some basic updates. What I am challenged with now is that I need to
change a SQL statemen... more >>
Name generation issues between 2000 Server and 2003 server
Posted by Darren at 9/22/2006 10:27:27 AM
Not sure if this has been covered before.......
I have an issue with an asp.net application running on Windows 2000
server and Windows 2003 server:-
The name generation of html objects (ie input buttons etc) is
different between the 2 environments, even though both are running
..net v2.0.... more >>
ASP.NET 2.0 hosting in the UK
Posted by mark.norgate NO[at]SPAM gmail.com at 9/22/2006 9:57:27 AM
Hello
I'm looking for a suitable host for an ASP.NET application, but there
are so many out there that I don't know which to choose. Can anyone
advise?
They must support the following:
=B7 ASP.NET 2.0
=B7 SQL Server 2005
=B7 remote database access using local SQL Server tools
=B7 publi... more >>
removing button1_onclick functions
Posted by adrianca NO[at]SPAM gmail.com at 9/22/2006 9:42:19 AM
Hi All,
Is there any way to execute a page object function without
going to the code behind.
Eg:
<asp:Button ID="Button1" runat="server" Text="Save Page"
OnClick="<%SQLDataSource1.Insert()%>" />
instead of
<asp:Button ID="Button1" runat="server" Text="Save Page"
OnClick="Button1... more >>
Best way to check for first Login
Posted by JJ at 9/22/2006 9:21:36 AM
I am comparing the 'lastloggedin' and 'createddate' fields of the membership
table to see if this is the first time the user has logged in.
(if they are within 1 second on each other I presume this is the first
login).
I have worked out that I can't check for this in the 'onLoggedIn' event, ... more >>
Running a 1.1 app under a 2.0 root web....
Posted by Jim Butler at 9/22/2006 9:03:07 AM
I started to struggle with this recently. We have already crossed the
inheritance issue with root web's/assemblies and so on from the web.config
(ie we are using the remove assembly attribute in sub webs). Anyway, we
have upgraded our main root site to .net 2.0. We have a few other apps
u... more >>
Lots of Lock-ups in VS 2005
Posted by Charlie NO[at]SPAM CBFC at 9/22/2006 8:47:15 AM
Hi:
I have a new Dell Computer with 1G RAM running VS2005 and SQL 2005. Seems
like VS 2005 is very slow and I get lots of IE lock-ups. I find myself
waiting a lot. Could it be McAfee? My productivity has gone down with VS
2005. Any one care to comment? Do I need more memory?
Thanks... more >>
Which update button is clicked in FormView ItemUpdated event?
Posted by J055 at 9/22/2006 8:20:18 AM
Hi
I have 2 update buttons in my FormView ('Apply' and 'OK'). I want both
buttons to update the data source but the 'OK' button should redirect
afterwards.
I can see which button is clicked in the ItemCommand event but I can't
redirect from here because the ItemUpdated event hasn't fired ye... more >>
System.Web.Mail
Posted by C at 9/22/2006 8:12:02 AM
Hi,
I build up a string for the body of my email.
I also want to display an image within the email itself(not as a background
image) at any place in the email.
This seems simple but I am unable to do it.
I am using .NET 1.1
Anyone?... more >>
How to mix ContentType in same page?
Posted by pamelafluente NO[at]SPAM libero.it at 9/22/2006 7:36:55 AM
If I would like to place in a page both text and image,
is it possible? And, in case, how would I correct the following
code ?
'tetx
Response.ContentType = "text.html"
Response.Write("Hello hello")
'image
Response.ContentType = "image/jpeg"
Dim b As New ... more >>
how do i pass data table
Posted by rodchar at 9/22/2006 6:43:02 AM
hey all,
i have a gridView with editing available. when a user clicks the update link
for a row, how do i pass the entire data table as a parameter to my business
layer?
thanks,
rodchar... more >>
ASP.NET 2.0 Session State
Posted by jnick at 9/22/2006 6:27:01 AM
Can both ASP.NET 2.0 Session State and ASP.NET 1.1 co-exist in SQL Server?... more >>
Session state doesn't refresh
Posted by Ned Balzer at 9/22/2006 5:45:22 AM
Hi all,
I posted this question some time ago in an earlier thread but so far I
still don't have an understanding of why this is happening or what I
can do to fix it.
I use Session variables, such as Session("username") to store a lot of
information about who is logged in to my app and what ... more >>
E-Mail Marketing is now officially SPAM
Posted by ralphopedia NO[at]SPAM mail333-dot-com.no-spam.invalid at 9/22/2006 5:21:41 AM
E-mai
marketin
E-mai
marketing is a form o
[url=http://en.wikipedia.org/wiki/Direct_marketing]direc
marketing[/url] which uses
[url=http://en.wikipedia.org/wiki/Electronic_mail]electroni
mail[/url] as a means of communicating commercial or
fundraising messages to an audience. In its broades... more >>
Big Web.Config
Posted by Navnit at 9/22/2006 4:53:02 AM
Hello All,
I have a ASP.net 2.0 web application where the Web.Config has gone really
huge.
This creates a lots of maintanence and deployment problems.
Is there any way to break the web.config file into multiple file or
something like that?
Thanks...... more >>
App_Code Class not working
Posted by Matthew at 9/22/2006 4:38:11 AM
Hello All,
I have read a few different post similiar to my situtation, but nothing
details the solution, so I will try :-)
I have two files: index.aspx and App_Code/log.vb; the log.vb file
defines a class called Log.
When my index.aspx page tries to dim an object as type Log, I always
ge... more >>
atlas not working with netscape
Posted by Joe at 9/22/2006 4:27:01 AM
I've been playing around with atlas for hte past couple days and its very
impressive. However the standard browser here is Netscape, specifically:
Netscape 7.02
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208
Netscape/7.02
While everythign works great in Firefox an... more >>
altering .UniqueID
Posted by jason.hau NO[at]SPAM gmail.com at 9/22/2006 4:05:13 AM
Is there any way to alter this? I am aware that it's read only.
Essentially the problem is that I have a webcontrol that dynamically
creates a textbox and a requiredfieldvalidator control with the
validator validating the textbox. This worked fine in my test harness
and works fine in my other pr... more >>
ASP.NET: Server Error in '/' Application
Posted by tomas.blazek NO[at]SPAM pse.sk at 9/22/2006 2:15:52 AM
Hi all
I have problem with error msg "Server Error in '/' Application". I
know, I must set my virtual directory in IIS as IIS application, I have
it (also parent directories are set as IIS app), I have same version
..NET framework on server and on my pc, where i build my pages. When I
open my... more >>
Newbie question about Session and objects
Posted by cashdeskmac at 9/22/2006 2:00:01 AM
If I am going to create an instance of an object and only use it in one place
(in a button click event handler), should I just create an instance of the
object in the handler and use it's method, or create it in the page_load and
put it into Session, retrieving it when the page loads each time... more >>
Years to Months Conversion
Posted by raghav at 9/22/2006 1:54:42 AM
Hi
I am working on ASP.NET 2.0 and C#. I am developing one application in
which I have one field as Work Experience. For that I have 2 dropdown
menus, one for year and other one for month. I want to convert overall
work experience in total number of months. I have single column in DB
as work ex... more >>
Atlas & ASP.net
Posted by Brad Baker at 9/22/2006 1:16:51 AM
I'm trying to implement a gridview control using atlas & asp.net per the
following article:
http://weblogs.asp.net/scottgu/archive/2005/12/26/433997.aspx
My frustration is that the page I've written seems to work fine on my local
machine but when I upload it and execute it on the server the ... more >>
textbox validation (decimal)
Posted by joe at 9/22/2006 12:23:02 AM
how to validate a textbox
in decimal formula
e.g xxxx.xx ok
e.g xxxx.x ok
e.g empty is also ok
e.g xxxx.xxx not ok
thx
... more >>
Session problem
Posted by Krishna at 9/22/2006 12:22:02 AM
hi,
I am anand.I used session state object in some pages in my application ex
Session("UserId").
some times applications displayed the following error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
curren... more >>
|