all groups > asp.net > june 2006 > threads for tuesday june 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
Grid view
Posted by sonali_aurangabadkar NO[at]SPAM yahoo.com at 6/27/2006 11:20:18 PM
i want to edit whole grid on singel button click
... more >>
Grid View
Posted by sonali_aurangabadkar NO[at]SPAM yahoo.com at 6/27/2006 11:19:24 PM
i want to edit whole page on single button click
... more >>
Monitoring error
Posted by John at 6/27/2006 11:03:07 PM
Hi
My webform works fine on local dev server but when uploaded to a remote host
it comes up with the following error. What is the problem and how can I fix
it?
Thanks
Regards
[HttpException (0x80070005): Failed to start monitoring changes to
'd:\inetpub\mydomain.com\web\content\b... more >>
asp.net 20 menu control useless ? [server callback, no menuitem click]
Posted by Rickie at 6/27/2006 10:57:08 PM
Dear fellow software engineers,
Is the web menu in asp 2.0 essentielle a useless control ?
How many people( including msdn itself) are using server menu
controls?
Its a menu which always postback to server, which cant be caught on
the event of a menuitem. Wouldnt we rather use other ways of ... more >>
MasterPage really replaces frame?
Posted by Peregrin at 6/27/2006 10:02:30 PM
Hello aspx World,
I've already posted a question very similar but I want to better explain my
problem. I want to create a webform with 3 "frames", the top and the left
frame don't change and the central frame display a HTLM external page. With
frame tag is OK. But how to do this with Contentplac... more >>
What is SQLdatasource parameter 'size'?
Posted by John Mason at 6/27/2006 9:54:21 PM
Hi,
I'm new to ASP.NET 2.0 and I am trying to get more information on the
size property within the parameter tag of the SQLdatasource control.
I have this code as an example...
<asp:Parameter Type="String" Name="NewID" Direction="Output" Size="4">
Does Size="4" represent 4 characters in l... more >>
webforms.js embedded resource
Posted by Jeremy Chapman at 6/27/2006 9:17:55 PM
I'b developing a web app to be viewed on various mobile devices, and I want
the app to be as light as possible. I noticed that some of my pages have a
link to the embedded resource webforms.js in the rendered page. Is this
javascript required, and how can I turn it off?
... more >>
formatted Excel Report
Posted by frankkirchner at 6/27/2006 8:46:01 PM
I've seen examples of this in classic asp - but there is probably an easier
way to do this. I have a client that wants 'downloadable' excel spreadsheet
reports - i do not have control over my web server so i cannot use the Excel
object model or SQL Reporting, Crystal, etc. The classic asp solu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using SQL Server on web host for membership database
Posted by jeffreywgraham NO[at]SPAM gmail.com at 6/27/2006 8:35:35 PM
A word of warning, I am new to .NET and fairly new to SQL Server.
The problem I have must be a common one, but I am uable to make it
work. I have a .NET project and have the user management and roles
working fine via Visual Studio and the default
"ASPNewSQlMembershipProvider." There is databas... more >>
Literal control won't expand
Posted by Mark A. Sam at 6/27/2006 8:35:04 PM
Hello,
I am trying to use a literal control to past test onto a page from several
buttons, so that each button displays something different. The problem I am
encountering is that the text wraps according to the width of the literal,
which is the width then it is put on the page. The othe... more >>
newbie: problem with master pages!
Posted by Jeff at 6/27/2006 7:43:19 PM
Hey
I'm creating a simple helloworld project in visual web developer 2005
express
In my my project I've created a simple master page, that contains 1 table (3
rows x 3 columns) and 1 contentplaceholder. The contentplaceholder is placed
at row 2, column 2 (that means it's in the centre ce... more >>
adding a value to Session object
Posted by Bruno Alexandre at 6/27/2006 6:58:41 PM
Hi guys,
I'm using Javascript to dynamically add to a dropdown values like
for ( i=0; i<tv.length; i++ ) {
selectDDAvisCtrl.options[i] = new Option(tv[i], tv[i]);
}
and I use
document.getElementById("ddAvis").options[document.getElementById('ddAvis').selectedIndex].innerHTML;
to ac... more >>
How do I debug a web site with VS2005?
Posted by Alan Silver at 6/27/2006 6:58:40 PM
Hello,
Sorry if this is a FAQ, but I couldn't find an answer by searching.
I have been using VWB Express for a while, and have just installed
VS2005 Professional. I tried to open an existing web site as an IIS
project instead of a file-based one. I want to debug it in VS via IIS,
using t... more >>
Problem with - Visual Studio Express
Posted by loga123 at 6/27/2006 6:30:35 PM
Hi All,
I am using Microsoft Visual Web Developer Studio 2005 Express Edition.
I have been using it for the past few months and all of sudden today,
it started to behave in a strange manner.
I am not able to open any .aspx files from solution explorer either in
Design or Source mode,
where... more >>
Long Build Times
Posted by KP at 6/27/2006 6:25:01 PM
I'm fairly new to VS2005, and have moved over a VS2003 web to VS2005. My web
is relatively small in size (maybe 50 pages?). It's taking me over two
minutes to build my website (ctl-shft-b)
is this normal?... more >>
Deleting row from GridView causes ArgumentOutOfRangeException during System.Web.UI.WebControls.GridView.set_SelectedIndex(Int32 value)
Posted by loga123 at 6/27/2006 6:24:09 PM
Hi All,
I am using Link Button for DELETE on the gridview. When I click on
DELETE link, I get the ArgumentOutOfRangeException. But...it deletes
the record from table in the database.
On Gridview_rowdatabound, I am dynamically building hyperlink control
based on the values in the other fields... more >>
Problem with Javascript in a UserControl
Posted by tshad at 6/27/2006 6:07:49 PM
I get an error when running my Javascript inside my UserControl. It works
fine if I put the UserControl Data directly in my Web Page.
The stripped down code is:
<script language=javascript>
function CheckQuestion()
{
var checkBox = document.getElementById('SecurityStandard');
alert(... more >>
Is there anyway to detect a F5-Refresh
Posted by José Joye at 6/27/2006 5:49:20 PM
Hello,
I know, this question has been asked a lot of time....
It seems that it is not really possible to detect it within the code-behind.
However, I would like to know if it is possible with a Java Script to detect
it and for instance set a hidden checkedbox (or ...) to a value that tells ... more >>
GridView -add data
Posted by Ronj at 6/27/2006 5:41:05 PM
Using GridView (asp.net 2.0) is it possible to "add" data to the grid
directly. I only see examples of delete, and edit. Seems DataSource has the
'insert' command to do so. If so, can you direct me to any example... more >>
ASP DataSet - Strange problem
Posted by mr.Hyde at 6/27/2006 5:40:04 PM
Hi,
What happend:
- PageLoad ()
{
dataset.Clear ();
dataadapter.Fill (dataset);
datagrid.BindData ()..
}
Ok,
oButtonClick()
{
changing sql statment
dataset.Clear ();
dataadapter.Fill (dataset);
datagrid.BindData ()..
}
Next
Displayed data is o... more >>
Looking for best practice advice on data access for SMALL web sites - not enterprise
Posted by Alan Silver at 6/27/2006 5:14:09 PM
Hello,
MSDN (amongst other places) is full of helpful advice on ways to do data
access, but they all seem geared to wards enterprise applications. Maybe
I'm in a minority, but I don't have those sorts of clients. Mine are all
small businesses whose sites will never reach those sorts of scal... more >>
template column checkbox problem in grid view
Posted by Smokey Grindle at 6/27/2006 4:33:16 PM
I have the following on my page... a link button that will send the command
name "use" to the command handler and a grid view with the following columns
0 - Template column - just a checkbox (asp.net control)
1 - Bound column - DisplayName from data table
the checkbox is just a template i m... more >>
Web Parts on ASP.NET 2
Posted by Jose Walker at 6/27/2006 4:28:17 PM
Hi Guys!
After developing web parts for sharepoing technologies, I'm getting into the
new ASP.NET 2 web part technology, and I have, maybe, a very beginner's
question.
Does anyone knows where the new ASP.NET 2 web part framework infrastructure
stores all the user customization settings... more >>
FRAME with Visual studio 2005
Posted by Peregrin at 6/27/2006 4:04:15 PM
Hello aspx World,
I search a web page where I can read a tutorial to use and design a frame
page with Visual Studio 2005.
Thanks,
... more >>
Controlling MultiView ActiveViewIndex after FormView Mode change
Posted by Martin at 6/27/2006 3:47:23 PM
Hi,
I have a FormView control with a MultiView control within it's
EditItemTemplate (because using a Wizard doesn't maintain two way data
binding - MS confirmed bug).
Any how, I have the requirement to save my data every time I change view of
my MultiView control. So I call FormView.Upd... more >>
Visual Studio Express
Posted by John Prado at 6/27/2006 3:19:19 PM
It's possible to generate dll for deployment of projects (for my code
behind files)???
I can't find any option to do this in Visual Studio Express.
Need I to compile the pages in command line???... more >>
Getting IP address
Posted by KatMagic at 6/27/2006 2:45:40 PM
I have an asp.net 1.1 application on our internal web server that logs when
a user logs in and records the ipaddress; however, it is returning the
address of the server, not the user's workstation. How would I get the
user's workstation's ip address, if possible. This is what I'm using now
... more >>
Current Context in Libraries
Posted by Ray Booysen at 6/27/2006 2:42:58 PM
Hi all
I have a question. I have a library in my webapp (1.1) that requires
access to certain application cache and session variables. At the
moment, I have been passing these in as parameters to the function.
Could I pass in the current context to access these variables directly?
Or is... more >>
Tutorial Video
Posted by BB at 6/27/2006 2:36:56 PM
Hi,
I am trying to create test web page using tutorial
http://download.microsoft.com/download/8/3/6/836dd5f8-fa92-499f-8219-0d326f13bf18/hilo_data_final.wmv
I am using northwind.mdb as data source. I am creating simple page
displaying orderid in combobox and displaying corrosponding
orderd... more >>
Saving data from a dropdown list in FormView??
Posted by Jerome at 6/27/2006 2:19:04 PM
Hi,
I'm using a FormView for data entry and it works fine so far. With one
exception: I replaced one of the automatically generated textfields by a
dropdown list and the value from that list does not get saved in the
database! I know that it's because it's missing in the
<InsertParameters... more >>
Nested Repeater Question
Posted by mavrick_101 at 6/27/2006 2:07:04 PM
Hi,
I have a nested repeater and this is the code I have in the item data bound
event
private void _repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
RepeaterItem rItem = e.Item;
DataRowView drv = (DataRowView) rItem.DataItem;
..........
.........
Bu... more >>
Interact with forms programmatically
Posted by Ray Booysen at 6/27/2006 1:41:47 PM
Hi all
I have a webform with some functionality I need to use. But I need the
page to render first. Is there any way to do this?
I essentially need to instanciate an instance of the page get it to
render without it showing on the screen and then call a method that is
available.
Can ... more >>
How do i reference to the columns that are dynamically created? EOM
Posted by SMai24 NO[at]SPAM gmail.com at 6/27/2006 1:28:45 PM
the old JS question: IE vs Firefox
Posted by Bruno Alexandre at 6/27/2006 1:28:27 PM
Hi guys,
I'm performing a form validation using the javascript in the ASPX pages and
I got into a part that I can't figure it out how to move foward.
All is resumed in this page:
http://filterqueen.brinkster.net/new_fastcash.dk/users/test.aspx
the pages works like:
on DropDown ch... more >>
2.0: DataList with nested LinkButton
Posted by R.A.M. at 6/27/2006 1:06:40 PM
Hello,
Please help me in simple problem. I defined DataList, FooterTemplate
with nested asp:LinkButton, and command handler procedure:
<asp:DataList ID="BooksList" runat="server"
OnEditCommand="BooksList_Edit"
OnUpdateCommand="BooksList_Update"
OnC... more >>
server sends two mails instead of one
Posted by Barbara Schmidt at 6/27/2006 1:03:29 PM
Hello,
I made feedback form and it works. There is only a error that the server
sends me two mails instead of one. Here the code:
Imports System.web.Mail
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Ha... more >>
Scripting disabled
Posted by Mantorok at 6/27/2006 12:45:12 PM
Is there any way, from ASP, ASP.Net or client-side scripting, to determine
whether the browser has client-scripting disabled?
Thanks
Kev
... more >>
documentation question
Posted by Ned Balzer at 6/27/2006 12:13:48 PM
Can anyone point me to documentation showing which SQL data types (int,
varchar, etc) correspond to which VB (asp.net) typecodes?
TIA.
-- Ned
... more >>
Global.asax not allowing identity impersonation?
Posted by Doug at 6/27/2006 12:10:40 PM
Visual Studio 2005, SQL Server 2000, ASP.NET/VB.NET
Not allowed to use the ASPNET machine account in SQL Server (very
strict environment).
Need to use Windows authentication, so we use "Identity
Impersonate=true" in the web.config file.
Trying to implement a system-wide error trapping mec... more >>
2.0: unexpected color of TextBox
Posted by R.A.M. at 6/27/2006 11:57:55 AM
Hello,
I am learning .NET and I have such problem:
I have a page with a number of TextBox controls - all of them are
white. Unexpectedly of of them is yellow.
Here definition of the control:
E-mail: <asp:TextBox ID="Email" runat="server" ValidationGroup="Email"
/>
<asp:RegularExpressionVali... more >>
Refresh WebForm
Posted by NN at 6/27/2006 11:33:58 AM
Hello, I have a problem :)
I have a webform in which I have the event Onload that refers to a script
that find in a database for an image and then show it in the WebForm. The
problem is that I want to repeat the search automatically every 5 seconds. I
Already tried with <meta http-equiv="refre... more >>
DropDownListBox: I want to 'limit to list'
Posted by BJ at 6/27/2006 11:11:53 AM
I do not want the users to enter in any new items but only select from
the list I provide for them: Here is my code
'----------------------------------------------------------------------------
'-- ADD ITEMS TO THE TYPE DROP DOWN BOX
'----------------------------------------... more >>
Javascript and PostBack on one TextBox
Posted by rockdale at 6/27/2006 11:09:24 AM
Hi, All
I have a textbox for user to input SSN, I havea javascript to format
what he input to SSN format, I also have a onChange postback function
to retrieve other info based on the SSN.
<asp:TextBox id="txtSSN" runat="server" AutoPostBack="true"
onKeyDown="javascript:myJavaFunction"></a... more >>
is Connection.close() enough or
Posted by mavrick_101 at 6/27/2006 10:59:01 AM
do I need to explicitly do a
Connection.Dispose() too?
Thnx... more >>
ObjectDataSource UpdateItem with DataObjectTypeName Original values required
Posted by Martin at 6/27/2006 10:54:56 AM
Hi,
I'm using ObjectDataSource.UpdateItem with the configured object using a
value type to encapsulate all the datafields.
The update method in my object looks like
[DataObjectMethod(DataObjectMethodType.Update)]
public void UpdateDetails(DetailsItem pdi, DetailsItem original_pdi)
{
}
... more >>
How to set the compiler language
Posted by wwwmike NO[at]SPAM gmx.ch at 6/27/2006 10:37:19 AM
I moved my website from a US hoster to a Japanese hosting company.
All compiler error messages from ASP.NET 2.0 are now in Japanese and
not English anymore.
I dont have direct access to the IIS Server.
Can I set something in the web.config?
... more >>
conditional in GridView Eval binding?
Posted by Dabbler at 6/27/2006 10:28:01 AM
I'm trying to replace a user code in data column with user friendly text for
a GridView ItemTemplate as in:
Text='<%# Eval("LocationType")%> == "P" ? "Pickup" : "DropOff"'
However the value always displays "DropOff" as if the binding doesn't return
any P's but I know there are Ps in the r... more >>
Newbie DataTable question
Posted by Ben at 6/27/2006 8:53:56 AM
Stupid question for the day,
Just playing around with rewriting my website in .Net, I want to add a
record to my database table, in the old ADO, it was simple you could
create a connection and recordset and then rs.AddNew etc... in .Net it
seems they recommend that you populate a DataTa... more >>
Dotnetnuke, clean install -> wrong login crashes default application pool
Posted by Ronald at 6/27/2006 7:34:49 AM
I just started with dotnetnuke, and with a wrong login (wrong password
on a clean install i can crash the application pool from IIS.
(when i login with the right username/password information the site
works fine, i can do anything it is supposed to do)
I have the following setup:
-Windows 200... more >>
automating email with links to records just submitted to an SQL DB using asp.net (vb)
Posted by Jimbo at 6/27/2006 7:19:27 AM
Hello
I am currently designing an internal ordering system for IT equipment.
I am designing it in ASP.NET (vb) using Visual Studio 2003 and using
Microsoft SQL Server
I have got the system to add the order into the database and assign it
a unique ID ("EITReqCode"), and made it e-mail the ... more >>
Resource files and Application_end
Posted by YC at 6/27/2006 6:53:01 AM
Hi,
I have a strange situation.
I am working with an application which modifies the local and global
resources at runtime. Each time the files are modified, the Application_end
is raised.
Does this operation cause the Application_end event to occur?
Thanks
Yoav
... more >>
Implicit calling of Submit button on Page Refresh.
Posted by Ibrahim. at 6/27/2006 5:21:02 AM
Hi,
I have a login page, the problem I'm facing is like this;
1. Login page with submit button (being default button);
2. When first time the page is submitted then submit code is called.
3. Again when page refresh is done by (f5) then submit button is fired
implicitly.
Any thought... more >>
OT: (UK) Software Warrenty
Posted by Adotek at 6/27/2006 5:19:54 AM
Hi All,
Apologies for the OT post, I guessed one of you may be able to help
with this.
Does anyone know what sort of warrenty a developer is obliged to give
on bespoke software? (UK)
Thanks,
Simon.
... more >>
MasterPage Popup
Posted by mgonzales3 at 6/27/2006 5:18:02 AM
How can I create a popup using masterpages?
Where do I put my javascript?
thanks... more >>
Change in Display values in Boolean DataColumn in DataGridView
Posted by Lucky at 6/27/2006 2:22:18 AM
hi guys,
it's me again. now days i'm learning DataGridView of .NET 2.0. i found
that some of the features are quite attractive but sometimes they are
not easy to modify and from that point our problem starts.
i've one bit column in my table in SQL SERVER 2000 Database. the
DataGridView displa... more >>
Hide path to URL files?
Posted by Asaf at 6/27/2006 2:06:02 AM
Hello,
I have a domain URL on a shared hosting server for example www.mydomain.com
When accessing www.mydomain.com I would like to get the ASPX files from
other domain on other server for example www.otherdomain.com but I would like
the URL on the browser for all the ASPX files will always s... more >>
Page Shows Up Blank!
Posted by JebBushell at 6/27/2006 12:51:01 AM
The page never gets to Page_Load and displays blank. Setting the trace flag
makes no difference. View Source reveals:
<BODY>
<ASP_SMARTNAV_RDIR url="/WDC_RSS_WEB/ViewAlarm2.aspx"></ASP_SMARTNAV_RDIR>
</BODY>
The url is correct. Anyone any clue what's going on?
Jeb.... more >>
|