Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > june 2005 > threads for tuesday june 14

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

row background in table
Posted by (dik NO[at]SPAM lul.com) at 6/14/2005 10:34:08 PM
Hi I have a green background in my tablerow but i still can see the borders between the 2 columns (white line). How to get this fixed? (i tried bordercolor = green ) <TABLE> <TR bgColor=#00e0> <TD></TD> <TD></TD> </TR> </TABLE> ch Dik **************************************...more >>


Adding a "None Selected" option to a DropDownList control that uses Databinding
Posted by Nathan Sokalski at 6/14/2005 10:09:20 PM
I have several DropDownList controls on my page that use databinding. However, I want to give users the option of selecting a choice such as "None Selected" or something else that shows they did not make a selection. However, if I attempt to add a ListItem to the Items collection when databi...more >>

what does this really do?
Posted by rodchar at 6/14/2005 9:15:16 PM
hey all, i was wondering what the true/false really does in the response.redirect("default.aspx", false)? thanks, rodchar...more >>

Design Question
Posted by JJ at 6/14/2005 5:28:11 PM
Hi, Ok I was reading an old ASP 3.0 Book and I noticed that when designing web applications. Everything that us windows form and vb programmers would do was to put all functions relating to a certain area in one form. Like for example I would have an employee timesheet that in a window...more >>

One more quick calendar question
Posted by Sue at 6/14/2005 4:21:02 PM
document.GetElementByID(thiscalendarcontrol_ID).selecteddate doesn't grab the selected date from the given calendar (client-side), nor does .value or ..test. What's the magic syntax? I'm seeing some google search results that say this can't be done with the Calendar control?! tia, Sue...more >>

simple one..... from HTML to SQL to HTML... i lose my new lines
Posted by Justin Rich at 6/14/2005 3:57:33 PM
Im not sure where i lose the new line stuff but when i pull it back from the DB its gone. Im using the SQLDataSource control. i pull it and push to a asp:textbox. i assume there is something simple i need to do? ...more >>

StackFrame not working on Windows Server 2003
Posted by Joe Rattz at 6/14/2005 3:48:12 PM
Moved some asp.net code using StackFrame (built in debug mode) to a Windows Server 2003 box and get empty filename and filelinenumber back. Anyone know why? Works just fine on Win2k. ...more >>

Dataview.Compute?
Posted by MattB at 6/14/2005 3:44:03 PM
I have a dataview that I've used a rowfilter with to get the rows I'm interested in. I was planning on then summing a column in that dataview for the results I need, but it looks like .Compute is not available for DataViews. I think I could loop through the DataView for the same result, but ...more >>



Handling DBNull and DataBinder.Eval
Posted by Oleg Ogurok at 6/14/2005 3:34:31 PM
Hi all, I have a DatePicker ASP.NET control that allows users to enter date (e.g. a calendar control). The control has the following property public DateTime Value { get; set; } I've placed the control into a datagrid now I'm trying to bind values from database to the datagrid. <ctl:Da...more >>

Bizarre: string.split() method
Posted by JV at 6/14/2005 3:33:30 PM
This is too weird. You're going to love this one. I just ran across the most bizarre DotNet "feature" with the String.Split() method. You are supposed to pass it an array of characters to tell it what separators to split the string on. if it finds any of those characters, it treats that...more >>

image in title bar browser
Posted by csgraham74 at 6/14/2005 2:56:37 PM
Hi guys, does anyone know how to make a logo appear in the title bar of the browser window in asp.net ???? is it even possible ??? thanks in advance CG ...more >>

asp.net 2.0 beta 2 problems
Posted by Marcos B at 6/14/2005 2:50:02 PM
1) There was announced that the default providers for membership, profile, etc in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that AccessProvider will be discontinued. I'm trying to do some simple apps in asp.net 2.0 beta 2, but the AccessProvider is still alive and t...more >>

Preventing login as 'NT AUTHORITY\ANONYMOUS LOGON'
Posted by et at 6/14/2005 2:40:44 PM
I have an asp.net program that uses a connection string, using integrated security to connect to a sql database. It runs fine on one server, but the other server gives me the error that "Login failed for user "NT AUTHORITY/ANONYMOUS LOGON". Why would this be? There is no reason it should ev...more >>

Positioning a Postback Page
Posted by Jay at 6/14/2005 2:34:07 PM
I have a page with a few buttons, Textboxes and small datagrid. When a user clicks on a button which causes a postback I want the return page to be positioned at the bottom rather than the top. Any suggestions? Jay ...more >>

Using impersonation to allow writing to server directory?
Posted by darrel at 6/14/2005 2:14:09 PM
I'm struggling with an odd permissions problem I have with one of my functions. It takes a file, writes a directory, and then uploads some files to it. This works. Once. Any subsequent attempt and writing new files to the created directory results in an access denied error. Thanks to a script ...more >>

Security Flaw in dll (or am I wrong?)
Posted by Kevin Steffer [MCP] at 6/14/2005 1:59:25 PM
HI NG I have made a very nasty discovery on my dll files build from my ASP.NET projects in VS.NET 2003. In some of my codebehind files i have a private string that is my SQL Server connection string for example: public class myClass { private string sqlSvrConStr = "Data Source=blablab...more >>

Confirming who asp.net is running as?
Posted by darrel at 6/14/2005 1:15:56 PM
I'm trying to troubleshoot a permissions problem. My asp.net application is creating a folder, but then doesn't have permission to save to it. I'd like to confirm that Asp.net is running as the ASPNET user, but I'm not sure how to do that. -Darrel ...more >>

file failed to load in web form designer
Posted by ALthePal at 6/14/2005 11:47:31 AM
Hi, I am receiving this message when I start up VS.NET 1.0 on WinXP, File Failed to load in WEb Form designer. Please correct the following error, then load it again: Exception from HRESULT:0X80131019. Does anyone know what this means and how to fix/avoid this error? Thanks, Al...more >>

Publishing ASP.NET Website
Posted by chuckdfoster at 6/14/2005 11:35:14 AM
I develop my sites on my local PC. Normally, I have a server guy move my site to the web server. They have set me up an FTP account to the web server. Is there a way to use Visual Studio to publish my sites to this web server? -- Chuck Foster Programmer Analyst Eclipsys Corporation -...more >>

Update data in a client machine
Posted by Juande at 6/14/2005 11:10:04 AM
Hello, I have a main page where the user log in to access to the data in SQL Server, the selected data by the user will be exported in a .MDB file into the server, I want that generated file keeps into client's machine and then update the local user's data (SQL Server too) with this file, ...more >>

Gerenate XML document
Posted by Diego F. at 6/14/2005 11:05:20 AM
Hi all. I need to create a log file for my web application and I was thinking about create it in xml format, so I could use it later in my application easily. What is the fastest way to create xml documents? Should I use any particular object or simply write the tags <.../> in the text file...more >>

Datagrid to Excel
Posted by Morten Snedker at 6/14/2005 10:46:16 AM
I wish to save the data of a grid to Excel. But there is a little twist to it: The user should immidiatly get the "Save as.." dialog. 1. I don't wish to save the xls-file serverside. 2. I don't wish to show the xls to the user on-screen. Is what I ask for possible? Or am I missing out on ...more >>

Image gallery with DataGrid
Posted by ltt19 at 6/14/2005 10:41:01 AM
Hi everyone! I want to do da Image gallery using just the datagrid, this one will dilpays only images, no text, that means that it will have about 4 Collumns that will displays just images from the same database table, from the same collumn of the table. However I could not reproduce this, ...more >>

Asp.net 2.0 question.
Posted by jensen bredal at 6/14/2005 10:28:15 AM
Is it going to be any different working with image into database in the next version of .net? I'm very interested in knowing weather or not there will be any difference in uploading an image to database via a web form and later on displaying that image through a browser .. Any comm...more >>

custom code + delegation = problem...
Posted by Jéjé at 6/14/2005 9:45:02 AM
Hi, I have a custom aspx page which access RS (Reporting Services) using the webservice interface. I'm using the delegation (defautcredentialcache) to send the user authentication to RS. RS and my web application are on the same server. this works fine in 2 cases: * NT authentication ...more >>

Cancel serverside event using client side event
Posted by csgraham74 at 6/14/2005 9:32:12 AM
Basically i have a piece of javascript that calls a function to call a confirm box on screen. onclick= if(sub_ProceedMsg()){} basically what i want to do is to stop the serverside event from the same button if i click no in my javascript confirm box. is this possible ???? if not is...more >>

Advanced Search Control
Posted by javawzl at 6/14/2005 9:04:06 AM
I am looking for a 3rd party advanced (SQL) search control that I can basically plug and play into my ASP.Net and supplement with additional fields (like a country drop down). That is, I don't want to deal with all the phrase searching, boolean, all words, some words, not with words, etc.. Id...more >>

Question about Module Handler for dynamically renderring an image.
Posted by Ken Varn at 6/14/2005 8:42:59 AM
I am using an HttpModule handler to dynamically stream out a JPEG image to an <img> control. It seems to work fine except for one thing. If I try to save the image in IE using the "Save Picture..." selection, IE does not recognize that the image is a JPEG. Instead, it tries to save it as a BMP...more >>

buttons
Posted by rodchar at 6/14/2005 8:29:03 AM
hey all, i have a web form with just 3 buttons and 3 textboxes the layout is like follows: button1 - texbox1 button2 - textbox2 button3 - textbox3 it there a way to just have one procedure handle all three button clicks? For example, if you press button1 then populate textbox1 with...more >>

Error handling
Posted by Sandy at 6/14/2005 7:21:01 AM
Hello - I have a Page_Load Sub that essentially just fills a couple of dropdownlists. Is it recommended to wrap something of this nature in a Try-Catch-Finally-End Try block? Additionally, I have a few small subs that relate to paging datagrids. Is it necessary to wrap this in error-ha...more >>

Successful validation still blocks postback
Posted by nospamforjoel NO[at]SPAM yahoo.com at 6/14/2005 7:03:06 AM
Hello, I have an ASP.NET site that uses validators on a couple pages. On our staging servers, the site works properly. When I deploy it to the live server, however, the pages that have validators will not postback. The validators do appear to be working properly--they show me an error if the ...more >>

Gantt Chart in ASP.net 2.0
Posted by news.microsoft.com at 6/14/2005 5:50:17 AM
Hello Does anyone know of any control that allows you to have different view of a calendar including gantt chart style views ? I know the calender control which comes with asp.net 2.0 is not capable of displaying gantt charts.. Thanks ...more >>

How to make a hyperlink Visible or not visible in DataList
Posted by Patrick Olurotimi Ige at 6/14/2005 4:26:04 AM
I have a Datalist in a form with a hyperlink i would like to make the hyperlink visible only when a checkbox is clicked and not visible when not clicked . But doing this below in page_load it gives me error:- Object reference not set to an instance of an object. If CheckBox1.Checked = T...more >>

Save to file
Posted by Patrick at 6/14/2005 3:22:03 AM
Following on from the excellent example at http://www.c-sharpcorner.com/Code/2003/Sept/ExportASPNetDataGridToExcel.asp on how to save a data-grid to excel file, how can I extend the example such that when the user click on the button a popup appear in IE to say "Do you want to save or open f...more >>

Dropdownlist and client side
Posted by NH at 6/14/2005 2:34:08 AM
Hi, I want to filter records that display in some asp.net dropdownlists without causing a postback. Any ideas? e.g. when the selectedindexchange event fires for dropdownlist1 then only certain records are displayed in dropdownlist 2. I know how to add a client side javascript event to th...more >>

Browser agnostic ?
Posted by Chakra at 6/14/2005 12:00:00 AM
I have been designing my ASP.NET forms by just placing the controls on the form. However, i noticed that some people used a HTML table as the parent control, and then placed the ASP.NET server controls within the cells of the table , to make the output browser neutral. Is this a trick that is n...more >>

Does anyone know a good javascript forum?
Posted by Mephistopheles at 6/14/2005 12:00:00 AM
>>"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message >>news >>:%23N6vQmpSFHA.3184@TK2MSFTNGP14.phx.gbl... >> Hi, >> I have a function already but I need to solve one problem that is why >>I >>> asked for a forum. >> Thanks, >> Miguel > Newsgroups: microsoft.publ...more >>

using the client side "onchange" event function
Posted by Norm via DotNetMonster.com at 6/14/2005 12:00:00 AM
I have an onchange event which fires when the content of an HTML textbox changes. My problem is that when I try to compare the content of this textbox with another HTML textbox using an if statement, I get a Page Error and my code fails. This has got to be a no brainer. Any help out there for a ...more >>

How to connect ASP.Net to access database
Posted by buzz at 6/14/2005 12:00:00 AM
I've tried to use the Data Wizard to connect to the Northwind sample database in Office. I can preview the data in the data adapter, but when I run the ASP page I get this error.... The Microsoft Jet database engine cannot open the file 'C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwin...more >>

Listbox height not working with Netscape or Firefox
Posted by Jordan at 6/14/2005 12:00:00 AM
When I set the listbox height tag it works fine with Internet Explorer, but it doesn't seem to have any effect with Netscape or Firefox. Does anyone know why or what I could do to work around it? Thanks! ...more >>

Asp.net DataGrid with more than 1 datasource
Posted by Jimmy at 6/14/2005 12:00:00 AM
Hi Is it possible to build a datagrid with one column having test1 as a datasource and another column having test2 as a datasource: string[] test1 = new string[]{"1", "2", "3"}; string[] test2 = new string[]{"John", "Marc", "Tom"}; I just want a table that looks like this: 1 ...more >>

records affected
Posted by simon at 6/14/2005 12:00:00 AM
I have datareader. I filled it with data and also if I use rdr.has rows it returns True. If I use rdr.read and scroll over it, it works. But if I wants to finds the records affected I always get -1. rdr.RecordsAffected=-1 Why? Regards, Simon ...more >>

How to connect asp.net to database- More Information-
Posted by buzz at 6/14/2005 12:00:00 AM
Thanks Ken, I found a possible fix, one of which was changing a attribute in the machine.config file called userName="Machine" to userName="System". I tried that and it worked. Does this cause any problems or should I resolve the premission problem with Access? That usually means that the ASP....more >>

read XML
Posted by frank at 6/14/2005 12:00:00 AM
hello how can i read only the value's of this xml into asp.net (vbs) ? I want the variables name and address Example: name = "Myname" <scorelist> <name value="Myname" /> <address value="15" value="Myaddress > </scorelist> ...more >>

Streaming movie files from ASP.NET
Posted by MattC at 6/14/2005 12:00:00 AM
Hi, I have a directory of movie files that I want users to be able to view and play in an Embedded media player. However I only want them to be able to access the movies from my asp.net page. How can I stop access to the files direct. I was thinking of the following possible solutions but...more >>

problem with expired session
Posted by
at 6/14/2005 12:00:00 AM
Hi I have some data driven pages with a datagrid set to allow paging. This is working fine, the only problem is if a user left the browser at such page, and after the session expired the user click on the page number again, this will trigger a postback but some of the required session variable ...more >>

Howto display an ASP.net datagrid rows as columns and vice versa?
Posted by Jimmy at 6/14/2005 12:00:00 AM
Hi I want to display my datagrid with the columns horizontal and rows vertical, so just the other way around. For example instead of : name address city Tom 200 George Street Sydney i would like: name Tom address 200 George Street city ...more >>


DevelopmentNow Blog