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 > january 2005 > threads for thursday january 13

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

multiple tables in 1 web DataGrid
Posted by Maverick at 1/13/2005 11:43:01 PM
Assume i have 2 tables stored in a single dataSet (ds) and the relationship is well added ds.Tables("product") ds.Tables("descriptors") what I want to do is show the data from 2 of the tables, linked by the relationship, on the SAME DataGrid juz like the data is select by "Join" but i ca...more >>


Web Server
Posted by Claudiu Tescu at 1/13/2005 11:36:29 PM
How to make an Web Server to host a ASP .Net page and to work like this : - the servers work many computer - the page connect to server from one computer - one computer with server die and other computer take the place with all connected page ...more >>

Url encoding issue; + v. %2B
Posted by MWells at 1/13/2005 10:54:32 PM
I've encountered an interesting issue regarding Url encoding that I'm hopeful someone can shed some light on. I have some vanity Url's that have to contain filename content, using the file naming rules of the Windows file system. Because spaces are plus (+) signs are permitted in Windows file...more >>

EnableViewState not working on table
Posted by AFN at 1/13/2005 10:27:16 PM
I have a server-side table, <asp:table id="tblData" EnableViewState="true" runat="server" /> and my code-behind adds rows of data to the table in code that says: if not page.ispostback then LoadDataTable() end if I also have a checkbox, with autopostback=true. On t...more >>

Rendering an instance of an asp.net page
Posted by foobar at 1/13/2005 9:46:57 PM
I have created a .net .aspx web page and would like to render the object after setting some properties. I would also like to have event handlers in the parent window that could respond to events raised by this page object. For instance, ''''Sudo code Dim MyPageInstance as new MyPage() ' C...more >>

Enumerate members of a group in vb.net codebehind pages...
Posted by Steve Oswald via DotNetMonster.com at 1/13/2005 9:41:13 PM
Hello! I need to get a list of all members of a specific group (whether or not the currently logged-in user is a member of that group) in a VB.NET codebehind page. I am able to get all the information on the currently logged-in user (full name, phone number, e-mail address, etc.), but I cannot...more >>

listing user logged on
Posted by Patrick.O.Ige at 1/13/2005 9:15:02 PM
Whats the easiest way to list USERS that are logged on to ur site? Thx...more >>

Newbie question on SQL connection
Posted by Rudy at 1/13/2005 8:55:04 PM
Hello All, I'm trying to connect to a SQL server, on my domain. During my troubleshooting I came across this error. ""Cannot open database requested in login 'IMSmidwest'. Login fails. Login failed for user 'LOCALHOST\ASPNET'."" Just a quick explantion of what I got going on, basicly for ...more >>



How to protect session variables in this case?
Posted by Lars Netzel at 1/13/2005 8:11:26 PM
Hi! If i have an aspx page that sets a Session variable based on some input fields and then, in Internet Explorer go to the File menu and open a new window... the new window will be the same aspx same in the same session... but it will overwrite the Session variable with the input made in n...more >>

Datagrid column question.
Posted by jenniferhu46 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/13/2005 7:03:02 PM
I have a datagrid (dgFundStatus) which displays a [Transmit_Date] column. When the Transmit_Date is null, how can I show "Not transmit yet" instead of null? Thanks. Sub BindData() Dim strSql As New SqlCommand Dim dtrDataGrid As SqlDataReader Dim dataAdapter As New Sql...more >>

Cultures & dates
Posted by Jon at 1/13/2005 6:43:09 PM
I have an asp.net app that I've localized using satellite assemblies. It works wonderfully, even for displaying dates. My problem comes when I try to use one of those dates in a SQL query. I have an SQL like "SELECT * FROM Table WHERE date < @Date" I make a parameter for it as type SQLDBTy...more >>

Custom Errors (Getting Crazy!!!)
Posted by VR at 1/13/2005 6:27:12 PM
Hí, I'm trying to implement an application wide error handling model to my app and I cannot find a full documentation about it. Also, the pieces of documentation found in msdn.microsoft.com do not seems to fit togheter... Objective: not to use try..catch blocks and always redirect users to a ...more >>

Question on static methods
Posted by Diffident at 1/13/2005 6:27:02 PM
Hello All, Consider the following code block... Public class ClassA { public int A; public int B; public static void MethodA() { . .. ...... } } If two threads execute the method A, would they be having two different copies of A and B variables? Thanks!! ...more >>

Can't create new ASP.NET project in VS
Posted by Erva at 1/13/2005 6:22:00 PM
Hi, I'am trying first time to create ASP.NET project in VS.NET. I get error message : "Visual Studio.NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." Please help... ...more >>

Newbie looking for a "Simple" Example
Posted by Wizard at 1/13/2005 5:47:07 PM
Hi All, I`ve downloaded loads of example and the .NET SDK but am so confuded. Does anybody know of a Example which I could download which will show me how to ADD, Delete, and Modify Records in a ASP page connected to a SQL Server? Many Thanks ...more >>

Newbie looking for a "Simple" Example
Posted by Wizard at 1/13/2005 5:47:01 PM
Hi All, I`ve downloaded loads of example and the .NET SDK but am so confuded. Does anybody know of a Example which I could download which will show me how to ADD, Delete, and Modify Records in a ASP page connected to a SQL Server? Many Thanks ...more >>

Session Questions
Posted by Patrick.O.Ige at 1/13/2005 5:41:02 PM
I'm working on a Web Survey using Asp.net. And the Web Survey should only be filled once by each user.. if the user logs on to the site the second time and had already filled the form before i want the page to display (User already filled the SURVEY!!) Any ideas?? ...more >>

how to embed text file in asp.net application
Posted by Guoqi Zheng at 1/13/2005 5:05:32 PM
I have an ASP.NET application, I need to distribute it to clients. I used some text file to stroed database scripts, .sql files. Those .sql files are very very important part of the application, I like to hide them from clients. Is there a way to embed those .sql text file into the compiled ...more >>

Initial value of HtmlInputFile
Posted by Dotnet at 1/13/2005 4:56:25 PM
Hi all, How can I set initial value (different from "") of the texbox in HtmlInputFile control? Dotnet ...more >>

dynamically determine the base href value
Posted by Guoqi Zheng at 1/13/2005 4:54:19 PM
Dear sir, On some of my pages, I used a <base href="http://www.meetholland.com/"> I need to dynamically determine the base href value to different URL based on user session. I am thinking to use <base id="baseUrl" runat=server>, it seems not to work. It returns an error of missing </base...more >>

Check if user went randomly to a page.
Posted by tshad at 1/13/2005 4:53:57 PM
What is the best way to check if a user got to one of my pages by just typing in the page in the URL line verses one of the pages from my site. I see this in lots of places. If I have a page that can be gotten to by pages "A", "B", "C" and "D" - this is fine. But any other way, I want it to...more >>

special requirements with repeater
Posted by z. f. at 1/13/2005 4:46:51 PM
Hi,=20 i am using repeater to implements a page of products. the products list look should be 5 products in a row. between each row i need to put special HTML for the start and end of = each row. what is the best way to implement this? should i use 2 repeaters - one for rows and one for co...more >>

Page.PreRender and databinding
Posted by z. f. at 1/13/2005 4:34:01 PM
Hi,=20 can i call databind on my repeater in my Page.PreRender event? is there some problems with it that i should consider? TIA, z....more >>

explorer window when cursor on image
Posted by Frank at 1/13/2005 4:09:10 PM
Hello, in IE when your cursor is over an image, a small window appears, containg 4 icons for printing, saving and 2 other tasks. Firstly: whats that window called? Secondly: is there a way to get rid of it programmatically? Is it some setting? CSS attribute? Thanks in advance Frank ...more >>

How to refresh image?
Posted by Rainer Sinsch at 1/13/2005 4:03:44 PM
Hello everyone, does anyone know, how I can refresh a webform image by pressing an asp.net-button? I have a statistics-jpg which gets updated every 5 minutes and want to provide a manual refresh button. My initial try was to simply do a post-back when pressing the button and adding <META...more >>

ASP.NET Survey
Posted by Patrick.O.Ige at 1/13/2005 3:57:03 PM
Hi Guys.. Can anyone point me to a survey example built in ASP.NET(Database driven). And if possible with maintainence functionalities.. Thanks alot. ...more >>

FormsAuthentication cookies timeout
Posted by tshad at 1/13/2005 3:54:35 PM
I am trying to get my authentication to work and want the timeout to be 30 minutes, but only while the browser is active. If the browser closes, I want the cookie to disappear. Is this possible? The 2 web configs are set as: ******************************* <system.web> <authentic...more >>

ASP "no right" error
Posted by Edward King at 1/13/2005 3:48:19 PM
I have a statement in a asp,like follows£º var str=window.top.main.document.all.contenttext.value; I use IIS5.0 to deploy this asp,then I visit this asp like follows: http://localhost/test/default.asp I found I can get this page,then I use my computer's IP address, http://192.168.0.3/test/d...more >>

asp.net version
Posted by Shahriar at 1/13/2005 3:17:38 PM
I am using visual studio 2003. How can I find out what version my asp.net is? I am interested in using ASP.net 2. Is there a way to upgrade the ASP.net version in my Visual studio 2003? If not, is there a way to use the ASP.net 2 controls such as the new Treeview control in my current ver...more >>

Problem with dynamic change of control value
Posted by Airshow at 1/13/2005 3:11:35 PM
Hi, I have very simple Page_Load code in some code-behind class in ASP.NET (v. 1.1): private void Page_Load(object sender, System.EventArgs e) { if ( IsPostBack ) DropDownList1.SelectedIndex = 5; else { FillDropDownList( DropDownLi...more >>

session_state fires again
Posted by anabhra at 1/13/2005 3:07:02 PM
I am working with an asp.net app and I am unable to figure out why my session_start event gets fired when I navigate in my site using Response.redirect or window.location.href (no postbacks yet). Interestingly, my session ID remians same but I have lost my session variables. Further, after ...more >>

Asp.Net Form Design ?
Posted by WJ at 1/13/2005 2:58:57 PM
I have a need to hire Web Designers who do nothing but design plain web forms in ASP.NET format. Unfortunately, most of these folks do not know how to use VS.Net 2003 to design Asp.Net forms. Majority know Dream Weaver very much! Some also know MS/FrontPage. Here is what I plan to do: Let W...more >>

How to dynamically load an .ascx with markup text from a file.
Posted by ronaldoveira NO[at]SPAM hotmail.com at 1/13/2005 2:54:19 PM
I have a to create a page that according the parameters it takes, it has to read a .txt file from disk and display as the content. The .txt file contains html text. The display page is composed of a header, content and footer webuser controls. The "content" user control is the one that should ...more >>

nonzero values?
Posted by Luis Esteban Valencia at 1/13/2005 2:48:08 PM
I can't figure out how to create a validator for values that are nonzero. Something that will allow: 1004 0003 1000 but not: 0 00000 1234a Anyone have an idea? -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV http://spaces.msn.com/members/extremed/ ...more >>

How to transfer files via FTP under .net?
Posted by Lacka at 1/13/2005 2:47:50 PM
Hi, How can I transfer files via FTP under asp.net? Don't found any info... thanks, Lacka ...more >>

programmatically build database form
Posted by Bob Garbados at 1/13/2005 2:42:21 PM
Is it possible to determine the tables, relationships, keys, columns, and datatypes in a database? If so, how? I want to build an app that can connect to a specified sql2000 database and construct a form for updating data. Has anyone successfully done this? Thanks. ...more >>

StreamReader Question
Posted by Solel Software at 1/13/2005 2:25:04 PM
Hi, If I open a text file using StreamReader and use the ReadLine method, is there a maximum line size that ReadLine could have (i.e. 1000 characters)? I looked in the documentation and couldn't find a line size limit. Thanks! -- Sincerely, Mark Fox...more >>

StreamReader.ReadLine Maximum Line Size?
Posted by Solel Software at 1/13/2005 2:23:03 PM
Hi, When I open a text file using -- Sincerely, Mark Fox...more >>

Help! Can't create ASP.NET project
Posted by dw at 1/13/2005 2:14:34 PM
Please help some desperate developers!! We need to create an ASP.NET project via VS.NET 2003 on a networked Win 2003 server that we use for testing, but it keeps generating an error: "The Web server reported the following error when attempting to create or open the Web project located at th...more >>

Suggestion for an "imagemap-like" location feature -- methods?
Posted by KatB at 1/13/2005 2:08:22 PM
Hi, I'm creating an asp.net application and one of the functions I need is to click on a "Where Is This Office Located?" button. In a table, each employee will have an office code location entered. I then need to have the office layout image load and have the name of that person highlighted s...more >>

¿Why there are ASPXs in "Temporary Internet files"?
Posted by Nicolás Castagnet at 1/13/2005 1:57:36 PM
Hi, I write this post because I notice a strange behavior related with "Temporary Internet Files" and maybe some of you can help me to understand it. I am working in a web application with ASP.NET. Recently, I group of user have problems with it because the values of the sessions were not s...more >>

session variable expire too quickly
Posted by ACaunter at 1/13/2005 1:57:04 PM
Hi all when i log onto my asp.net website through a browser , the session variables are expiring way too quickly. if i leave the screen for only a minute, everything is gone. it seems like some pages are worse than others... the session timeout is set to 20mins, but still they are expiring ...more >>

Session Expiring
Posted by ACaunter at 1/13/2005 1:41:07 PM
Hi all, I'm having a problem with my asp.net application.. when i open my project in a browser window and don't touch anything for only a minute, the session will expire.. its really a pain having to always close everything and re-open the page.. how can i fix this and make it unlimited.. -...more >>

Forcing display in new browser
Posted by Tin Man at 1/13/2005 1:37:48 PM
I have an aspx page: myPage.aspx that I want to always display in a new brower window regardless of how it gets invoked i.e. hyperlink, response.redirect, server.transfer. Is there something I can embed in the HTML to cause this? Maybe some javascript or something like that? Thanks in Adv...more >>

why can't I access SessionState from custom HttpHandler?
Posted by Ralf Müller at 1/13/2005 1:37:04 PM
hi all! in my custom HttpHandler HttpContext.Current.Session is not set - why? greetings, ralf ...more >>

System.NullReferenceException on TextBox object...
Posted by A. Nonymous at 1/13/2005 1:22:52 PM
Hello, I am trying to set up a panel that appears on a page that prompts a user to enter in a note. This panel object is initially invisable and appears when the user clicks on a button. Contained within the panel are a couple of buttons and a textbox. Code is as follows: ASPX page: ...more >>

Adding a select button to my datagrid
Posted by Bob Hollness at 1/13/2005 1:09:03 PM
Hi group. I am a newbie to ASP.NET as you will see from some of the questions I may ask! I have a datagrid which I have populated from a database. It works great! I have added a column, via the Columns dialog box from the properties of the datagrid, on the left that contains a select butt...more >>

Sessions - cookieless for non-cookie users only
Posted by Daniel Malcolm at 1/13/2005 1:07:02 PM
Hi I just wanted to confirm that the "cookieless" attribute of the session section of the web.config file is an "all or nothing" setting. For some reason I thought that the following was the case: If "cookieless" is set to false then ... - If user's browser supports cookies then cookie...more >>

Skipping onBeforeUnload for a PostBack
Posted by lilfos at 1/13/2005 12:33:16 PM
Hi there, I have an asp.net page with essentially a "don't forget to save" pop-up that is called when the user attempts to navigate away from the page. The user has the option to cancel and prevent the page from unloading. Since the form data is posted back to the server and saved during a ...more >>

VS.NET vs Web matrix
Posted by Carl at 1/13/2005 12:07:36 PM
Since we are going to develop a system in a workgroup only or in samll project. Is it advisable to use only Web Matrix instead of using VS.NET? Although some features of VS.NET was not available on Web Matrix like Intelisense and integrated debugging. please give me any reference site to ident...more >>

Problem with Redirect and smart Browsing asp.net
Posted by Juan Gil at 1/13/2005 12:03:02 PM
I am a programmer of asp.net, and i have a problem when in a page I set the smart browsing property to TRUE and I use Responser.redirect(url) it don't work, it only show a blank page. I need information about how to resolve that . ...more >>

vb: is there a function to capitolize each word in a string?
Posted by MattB at 1/13/2005 12:02:28 PM
I used to use the Proper() function in VFP quite a bit. Very handy. Is there an equivalent in vb.net or do I need to do it by forcing each first letter to upper case and subsequent letters to lower? Thanks! Matt...more >>

Server Unavailable message
Posted by Steven Babb at 1/13/2005 11:43:02 AM
I have taken over responsibilities for a .NET app that runs on IIS Server locally and has a user that has a local Access database that launches the app from a URL. They are receiveing the following error: Server Application Unavailable The web application you are attempting to access on thi...more >>

Datagrid fails to fill
Posted by JeffB at 1/13/2005 11:41:04 AM
I have tried several different methods of getting a datagrid to fill with information. Below is the code I'm now using. When viewed in the browser and the text box filled with a parameter value (i.e. CA for Calif), the datagrids header is displayed when the button is clicked, but no data is di...more >>

System.UnauthorizedAccessException: Access to the path "\\Fped-d3gmp31\c$\Tushar\AAA.txt" is denied.
Posted by Tushar Shelar at 1/13/2005 11:40:57 AM
Hi Guys, I have simple asp.net page that creates a file (On a machine other than the web server) when the user clicks a button. The code runs fine when I run it on my local machine(LocalHost). When I copy the web application on a different web server it give the following error "System.Unauthor...more >>

How do I prevent new window from sharing session vars?
Posted by sumguyb NO[at]SPAM yahoo.com at 1/13/2005 11:22:53 AM
Is there a way to prevent new browsers windows from sharing session variables with the original window? Our team has an ASP.Net app that lets users analyze portfolio risk given certain portfolio constructions. The set weights to certain asset types, hit calculate and see some results. Our pro...more >>

page.findcontrol
Posted by sri_san NO[at]SPAM mailcity.com at 1/13/2005 11:12:03 AM
Hello, I have a bunch of controls with unique IDs as below: <INPUT VALUE='1' id=chkbox1-1 NAME=CheckBox1 TYPE=Radio runat=server> these HTML controls r wrapped in a plain table. When I do a page.findcontrol("chkbox1-1"), I am unable to find the control. Can I get an handle of the control an...more >>

HTML formatting question in datagrid pager area.
Posted by strout at 1/13/2005 11:11:05 AM
I know it's dumb ... sometimes frustrating I want the text and a dropdownlist align with both side of a table cell, i.e. text align left and dropdownlist align right. I cannot add more cells to do format because it's in a Datagrid pager area. The html code generated for pager is one sigle c...more >>

Tabbing in ASP.NET form
Posted by Tom at 1/13/2005 11:03:46 AM
A dumb question: Exactly how does tabbing work in an ASP.NET form in the browser? Does it work the same was as a Windows Forms form does? I have a rather complicated ASP form (that consists of HTML tables, ASP text boxes, drop downs, data grids, etc)... and no matter how I set the TAB indexes,...more >>

ASP.Net State Management across Web Servers
Posted by CG at 1/13/2005 10:59:11 AM
Hi, I am working on an application that will run on a number of servers, The user may click on Page2 from Page1 and they may be on a different server. The fact that the Cache is stored in memory, how can I store data during a user session that will be accessible on all web servers? ...more >>

use something other than "\bin" for local assemblies
Posted by Brian Pearson at 1/13/2005 10:59:02 AM
Hi, For a web application, is it possible to use something other than the \bin directory for local assemblies? I do not wish to use the GAC. My end goal is to have multiple websites use the same directory for local binaries. The only way for me to accomplish this now is to give them all...more >>

DataGrid, ItemDataBound
Posted by Jon at 1/13/2005 10:55:03 AM
Hello all, Within the ItemDataBound event of the datagrid, what is the best way to detect if the current item is the last row? Thanks, Jon...more >>

Dell's new pc ordering site -how?????
Posted by Bruce at 1/13/2005 10:54:03 AM
is there anyone who can tell me how Dell did it????? just saw Dell's redesigned pc customization aspx pages. very nice. aside from the new tree view of option choices, clicking one choice in an option group changes the dollar amounts of other options eg if I click 'no monitor', then another...more >>

Post DEBUG - Access Denied to DLL
Posted by Philip at 1/13/2005 10:29:02 AM
I am debugging an ASP.NET application .. and probably 50% of the time after I terminate a debug session I am unable to start with a new debug session due to a "Configuration Error"... a "Parser Error" message is displayed indicating that access is being denied for an assembly/DLL being referen...more >>

Datagrd help
Posted by Steve Caliendo at 1/13/2005 10:11:57 AM
Hi, I need to change the position of a datagrid at run time, with it's location being dependent on the height of another datagrid. My problem is that I don't know how many rows are going to be in the recordset, and I also don't know what the height of the cell is going to be from row to row...more >>

Unusal Session State behavior or Server side validation?
Posted by SuperSizeMe at 1/13/2005 10:08:16 AM
I have an internal intranet site that I have built using asp.net (via VS ..Net 2003). When I launched the site, it was on a windows 2000 server, using the .Net framework 1.1. Many of the ASPX pages make use of session state to store variables. Recently I have moved the site to a new web ser...more >>

Javascript external file generated by asp.net
Posted by Matt Weaver at 1/13/2005 10:06:20 AM
I'm converting an application from VB6 to VB.NET. In the application, a page calls an external javascript file which is generated in ASP. I'm trying to do this in an ASPX page, but I can't figure out how to generate a page without HTML page pages (<HTML><HEAD><BODY>). How can I do this? TIA ...more >>

Thread-safety and Singleton methods
Posted by Diffident at 1/13/2005 9:53:02 AM
Guys, I have been cracking my head over this concept in .NET framework. I have read many posts on this topic but not clear about this and hence I am posting it again. If you have designed your class based on singleton pattern where ONLY ONE instance of class exists for the WHOLE APPLICAT...more >>

Session Timeout?
Posted by Vishal at 1/13/2005 9:39:12 AM
Hello, is there any possibility to do something when the session timeouts via code not via the global.asax? Thanks...more >>

how to distribute functionality?
Posted by Tina at 1/13/2005 9:32:52 AM
I have written a class to be used by asp.net applications that provides a useful function. Other than the constructor, it has just one method. There is no need for properties or events. Prior to .net I would have just created a dll from my class and distributed it to users with instructio...more >>

Connecting to Remote Object from aspx Webpage
Posted by Jim Bayers at 1/13/2005 9:07:06 AM
Our network nazi doesn't want us running a webserver on the server that has a connection to the campus database so we created a remote object that runs as a windows service. The windows service runs on the server with a connection to the campus database and we make calls to it. My question...more >>

xml page caching
Posted by csgraham74 NO[at]SPAM hotmail.com at 1/13/2005 8:47:01 AM
Hi, Im building an asp.net website that uses xml documents for retrieval of data from a database. Can anyone give me examples on how to store xml documents in a cache and retrieve them again from a different webpage. Thanks CG...more >>

Clientside validation not working.
Posted by Dennis Calla at 1/13/2005 8:43:18 AM
I recently moved my app to a hosted environment and the validation stopped working (i had it on my own webserver). I put an alert in the validation javascript file so I know it is being called. When a control fails validation the page dose not post back as expected. But when the control is ...more >>

Repeater not found in C# codebehind
Posted by captainjon NO[at]SPAM hotmail.com at 1/13/2005 8:35:17 AM
hi, "The type or namespace of 'Repeater1' could not be found..." when I try and bind a repeater in the Page_Load event using Repeater1.DataSource = table etc. It's all basic stuff copied from a book. The only reason I'm posting is that the page class inherits from another one which is based ...more >>

Design Question
Posted by epigram at 1/13/2005 8:23:08 AM
I'm going to be building an asp.net appliction. Something typical that I imagine is I will have a .aspx page that will have multiple controls in a form. The user can make changes to the controls (e.g. change text in a text box, change a drop down list selection), but may not choose whatever ...more >>

File Upload and CSS
Posted by Todd Acheson at 1/13/2005 8:15:51 AM
I'm having a small problem with uploading files in ASP.NET. My html page for uploading has something similar to: <form id="Form1" method="post" enctype="multipart/form-data" runat="server"> <input id="MyFile" type="file" runat="server" size="50"> <asp:Button Runat="server" ID="btnUpload"...more >>

i need an idea
Posted by rachel at 1/13/2005 7:29:14 AM
Hi all, I am currently putting together a site or a real estate agent and I have decided to create a way in which the agent can upload their feature listings and description of the property. My idea is to house data that points to an image path on the webserver and also store description...more >>

editable datagrid and javascript.
Posted by Suma at 1/13/2005 7:03:05 AM
Hi All, I have an editable datagrid. When it is in edit mode, there is a textbox in it into which the User has to compulsorily enter value. I have written a javascript to check this. This gets fired on "Update" command. It actually works fine. It asks User to enter something if he has not....more >>

Strange side effect with events
Posted by Giancarlo at 1/13/2005 6:33:02 AM
I have a text box with a seperate "submit" button which triggers an event handler to process the text in the textbox. I also wanted to allow a user to press enter to get out of the textbox and process the text. I wired up another event handler for the textbox for the 'text changed' event. T...more >>

Asp.net Portal start kit
Posted by Juan Gil at 1/13/2005 5:03:01 AM
I have a problem with this. I installed it in my computer to modify it, but when I try to save the configuration file(xml file) the server returned an error that say that I dont have permissions to write in the server. How i can write file in the server?. ...more >>

Auto messages while opening the class file from sol.. explorer ?
Posted by Raghu Raman at 1/13/2005 3:48:26 AM
Hi all, Mr Allen, Helped me that i can do auto comment messages in the following path & is nice. thanks to Allen. let us assume that , we have created a auto message like // // TODO: Add constructor logic here //Raghuraman // in \P...more >>

Problem with Event handling for the dynamically created control
Posted by pravin.shetty NO[at]SPAM gmail.com at 1/13/2005 3:43:05 AM
Hi All, In my application it is required that I create multiple instances of a linkbutton. I am assigning ID's to each of these buttons depending upon the sequence that they are created i.e., ID for 1st button = Button1, for 2nd button Button2 and so on... When I click on any of these linkbut...more >>

Inheritance to web user control
Posted by Rob Teegarden at 1/13/2005 2:56:58 AM
I have a class called BasePage that inherits System.Web.UI.Page All my aspx pages inherit a class called BasePage On each page I have a web user control called ClientInfo In the BasePage I get the Client ID (CID) from the querystring, I want to be able to access CID from the web user ...more >>

Fire correct submit button when enter key is pressed in UserControl
Posted by frank NO[at]SPAM hubhop.com at 1/13/2005 2:18:07 AM
Hi! I have a really 'simple' problem. I have an .aspx page with 2 textboxes (login & password) and a Submit button. This works very well, i fill in my login and password and simply press the enter key and the form submits and the Button_Click event on the .aspx page is triggered. Now i als...more >>

Streaming response to browser
Posted by Raja at 1/13/2005 12:55:03 AM
Hi, I want to render my response(ASP.NET) as excel format. So I am using Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "filename=results.xls"); But I have more than 10,000. Is there any way that I can improve the response by streaming (uisng...more >>


DevelopmentNow Blog