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 > july 2007 > threads for tuesday july 3

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

HTTP verb POST used not allowed
Posted by Ben at 7/3/2007 10:31:34 PM
Hi, i try to submit a form in an aspx file through javascript to an classic asp page like this: <form id="ins" method="post"> <input id="conn" name="conn" type="hidden" /> <input runat="server" id="submit1" type="button" onclick="inexcel()"/> </form> <script language="javasc...more >>

Form to create resume
Posted by dancer at 7/3/2007 9:21:38 PM
Using Asp.net1.1 I need to create a form that allows the user to create a resume. Would it be better to send the data to a database, then create the resume from that, or create it directly from the data entered? ...more >>

weird problem with an excel file, asp.net and IIS
Posted by Ben at 7/3/2007 6:26:09 PM
Hi, i have a weird problem and i don't know who is responsible for this: IIS, excel or asp.net. My problem: we use an asp.net 2.0 application under IIS 6.0 (server 2003 sp2) which must write data from a form into a table in excel files (i know excel is not really recommended for that, b...more >>

Browse Folder
Posted by Kuldeep at 7/3/2007 5:24:16 PM
Framework: Visual Studio 2005 Technology: ASP.NET 2.0 Language: C#.NET 2.0 I am trying to browse folders through the following piece of code. Please let me know if there is any kind of setting to get this working right? using shell32.dll; Shell32.ShellClass shl = new Shell32.ShellClass()...more >>

Compress jpg
Posted by Samuel at 7/3/2007 5:19:41 PM
Hi Is there a method to comress Jpg images so it will download quicker to the user's browsers? Thank you, Samuel ...more >>

Unbound Access Data Source
Posted by Chip Pearson at 7/3/2007 4:50:31 PM
I'm sure I'm missing something simple, but I've hit a brick wall. I'm creating an ASP.NET 2.0 web site in VS2005 (VB.NET) and need to read data from an Access database without attaching it to any UI control. I've dropped an AccessDataSource control named AccessGetDescription on my aspx page an...more >>

Pocket PC - Unable to read data from the transport connection
Posted by Jay Balapa at 7/3/2007 4:13:12 PM
Hello, We have a Pocket PC client application which just connects to our webservice. When a client connects his Pocket PC through his WIFI he gets the following- Unable to read data from the transport connection . I have the same setup and am unable to reproduce this problem. This method ...more >>

How delete user using Membership feature
Posted by VB Programmer at 7/3/2007 3:42:52 PM
Using the membership/roles feature in ASP.NET 2.0. What is the best, cleanest way to "delete" a user? Thanks! ...more >>



How to protect ASPNETDB from Overwritten ?
Posted by luqman at 7/3/2007 3:42:22 PM
Whenever I publish and update my web site through Visual Studio 2005, the ASPNETDB.MDF (Sql Server Security DB) overwrites, I just want to update the aspx files and not the ASPNETDB.MDF file in App_Data folder, how can I ? Best Regards, Luqman ...more >>

Dataset Headaches
Posted by Matt MacDonald at 7/3/2007 3:21:11 PM
Hi all, First of all, I am not trying to be the guy who comes in here shouting his mouth off at Microsoft. However, ever sinse I started using typed datasets in VS2005 I have been fighting with a recurring issue. I will have a project open and be working in it just fine, when all of a s...more >>

RowCommand: accessing ObjectDataSource from inside gridview inside a repeater?
Posted by HockeyFan at 7/3/2007 3:16:17 PM
protected void gvAuthorizedSigners_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "EmptyInsert") { odsAuthorizedSigners.Insert(); return; } if (e.CommandName == "In...more >>

Membership or Role Provider // Provider Model // Factories .. How does MS do it?
Posted by sloan at 7/3/2007 2:59:58 PM
Ok , first , I'm famaliar with both Providers. And the "Factory Design Pattern". Basically, if you don't override the default setting via config, you get the default SqlRoleProvider or SqlMembershipProvider. My question is....... how does MS check to see if you're using a different prov...more >>

Wierd ProviderException - email supplied is invalid
Posted by VB Programmer at 7/3/2007 2:49:44 PM
I have some code: Dim u As MembershipUser u = Membership.GetUser u.Email = Me.txtEmail.Text Membership.UpdateUser(u) It's giving me this error: ProviderException was unhandled by user code The E-mail supplied is invalid It's happening for the last line o...more >>

Generating HTML in a web service
Posted by Lloyd Sheen at 7/3/2007 2:35:30 PM
Perhaps I have missed something but what I would like to do is have a more "controlled" method of generating HTML from a web service. I can create items using HtmlTable, HtmlTableRow, and HtmlTableCell but is there a quick method once the table has been built to get the HTML, put it in a st...more >>

does a web developer need to worry about serialization?
Posted by Dica at 7/3/2007 1:27:29 PM
i understand the concept of serialization of objects, but do i really need to worry about this as a web developer? i tend to pass my BED (business entity definition) objects between pages by storing in session as in: oUser.firstName = 'whatever'; oUser.lastName = 'whatever_last'; Session["o...more >>

Updating contentplaceholder after initial load.....
Posted by chrisexv6 at 7/3/2007 12:53:27 PM
I have a master/content page setup on a site Im writing. In the master page there are 3 panes...nav, content, toolbar. The nav pane holds a bunch of search options (order number, date, etc). The user will fill in a search field then press the appropriate search button. The content pane is t...more >>

Why do Themes fail sporadically when using SSL?
Posted by Chad Scharf at 7/3/2007 12:52:07 PM
I have a 3 page ASP.NET web application that is using an asp:Wizard control on the main page. There is no authentication (completely open) and all processesing is done on this single page. I have a master page that has all of the application layout to match our corporate look and feel and a fo...more >>

Cache invalidate when creating a folder in app root directory
Posted by Khafancoder at 7/3/2007 11:57:13 AM
Hi guys, i keep many items in cache such as onlineusers and ... recently i build a page which create tempfolders in webapplication root dir but i findout that it invalidate cache and i hadn't use of any CacheDependency at all ... what's the problem ? thanks in advance ...more >>

Some Master Page questions
Posted by active at 7/3/2007 10:49:29 AM
I have a Master page that all other pages reference. When I create a new page I use "New WebForm" Is that correct in this situation? the IDE then inserts after the <%@ Page line <!DOCTYPE html PUBLIC "-//W3C/... Is that required if a master page is referenced? Thanks ...more >>

System.Configuration.CofigurationSettings.AppSettings is obsolete. ANY SOLUTION?
Posted by Randy Smith at 7/3/2007 10:44:09 AM
Hi ALL, I am getting this strange warning message, and I can't seem to find any solution for it. 'System.Configuration.CofigurationSettings.AppSettings is obsolete: it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings' So, does anyone have a...more >>

Date Format
Posted by Erica at 7/3/2007 10:20:08 AM
I am displaying a date field (not a datetime field) in a repeater. For some reason it is automatically inserting a default time (12:00:00AM) along with the date. I don't want to display this time. I've checked my database and it's not coming from there. Does anyone have an idea of what I can d...more >>

asp.net page: Javascript not loading
Posted by GroupReader at 7/3/2007 10:15:02 AM
I posted a similar question earlier and got lots of good feedback, but now I have more information: Problem: I have javascript in a user control that is not "loading" properly. When I try to call the script from my page, I get "object not found". Temporary Workaround: This only happens wh...more >>

why does updating a div inside of an updatepanel still refreshes entire page?!?!!
Posted by jojoba NO[at]SPAM gmail.com at 7/3/2007 9:52:35 AM
hi everyone! i'm serving up an asp.net page using ajax futures. long story short: i have two update panels. one has a webpage in it (e.g. www.google.com). the other has an image inside of a div. however, when i update the div in code behind ( via UpdatePanel_div.Update() ), the entire page ...more >>

Open link from Menu control in new window
Posted by Homer at 7/3/2007 9:51:24 AM
Hi, Is there a way to open a link on a Menu control in a new Window? In my Intranet site, I have pages where my users use to do their work and I also have links to outside resources. When the user clicks on one of the links from the Menu, I want to open them in new windows instead of the ex...more >>

MembershipCollection question
Posted by GaryDean at 7/3/2007 9:23:19 AM
The static MembershipCollection class appears to work different than other collection classes... MembershipUserCollection myUsers = new MembershipUserCollection(); myUsers = Membership.GetAllUsers(); MembershipUser myMember = myUsers.Item[0]; <---- no Item property This collecti...more >>

Bypassing INamingContainer for server controls on page
Posted by TS at 7/3/2007 8:36:15 AM
The clientID of our controls have become very long since we have 2 master pages that our pages inherit from. Some team members at work are thinking they want to override ClientID for our controls (custom controls inherited from normal .net controls) so when the controls are rendered, the id we s...more >>

Inherit master page?
Posted by Matt at 7/3/2007 8:20:03 AM
1. I have a master page. Is it possible to create another master page inherit the existed one? 2. Is it possible to inject css link, js script block to the head part of web content page?...more >>

Render ASP via ASP.net page.
Posted by Jon at 7/3/2007 7:34:05 AM
Hello all, It is possible to render an ASP page in a ASP.net page? Options such as re-writing the ASP page isn't an option at the moment so any pointers on the above would be great. Thanks, Jon...more >>

AJAX ScriptManager Memory Leak
Posted by Nikolay Evseev at 7/3/2007 7:28:01 AM
Hi! I know this topic has been discussed a long way, but I haven't found any apparent solution (maybe I shouldn't be looking for a one :)) I have a very simple application with one page and with just ScriptManager object in it. Every time I refresh the page the memory usage goes up. I have ...more >>

Media Player
Posted by morphius at 7/3/2007 7:10:03 AM
I am trying to dynamically change the .avi file below using a listbox or a dropdownlist. Any thoughts highly appreciated. <OBJECT title="mediaplayer" style="Z-INDEX: 101; LEFT: 272px; POSITION: absolute; TOP: 64px" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" VIEWASTEXT> <PARAM NAME...more >>

Image Loading from SQL Server into ASP.NET
Posted by Umeshnath at 7/3/2007 7:10:01 AM
Hi, I have employee details stored in SQL DB includes emp id , name, age, sex and photo (stored as image binary format). Now in text box I am entering empid and click of a button I want to get all the details into a aspx page Name XXXXX Age YY Sex ZZ Photo Photo should be display...more >>

Cannot start debugging. Unable to find Microsoft Internet Explorer.
Posted by Muhammad Hasan Javed at 7/3/2007 6:25:04 AM
Hi, When ever i try to run ASP.NET by "Start without debugging" the error message, "Cannot start debugging. Unable to find Microsoft Internet Explorer.", is displayed on message box. But i also want to tell that whenever i make a right click on the webform and browse it, it executes and performs...more >>

Image Loading from SQL Server
Posted by Umeshnath at 7/3/2007 5:42:10 AM
Hi, How can I load a image stored in SQL server database in ASP.NET page. I have used Response.BinaryWrite but it loads in a new page .I want to load in a part of my aspx page or in a control (image etc). Is it possible to load in any grid control? Thanks in advance Umeshnath V.G. ...more >>

Global application function asp.net
Posted by Matt at 7/3/2007 5:16:39 AM
Hi, I am writing a web appplication that will use a global licensing paradigm. For every instance of the server I want to check the licensing requirements i.e the application in a global context. I've read that using the Application_Startup event in HttpApplication class is useless because an...more >>

Classic ASP pages living among a ASP.NET Web App
Posted by mase at 7/3/2007 12:00:00 AM
I've built a new ASP.NET web app with the CSLA framework. The site runs fine with a small number of users, but once there is any traffic the CPU spikes at 100%. I went through and made many updates to plug various memory leaks. Glad that I did that and it probably helped out some, but the issues...more >>

Avoid Application Timeout
Posted by Atul Shukla at 7/3/2007 12:00:00 AM
Hi, How can I avoid application timeout? Generally a web application time out is 20 minutes, however, we can define this timeout in web.config to any number of minutes. After giving 500 minutes of time out which is about little more than 8 hours, the page expires in less than 2 hours. I am co...more >>

using Eval ("ZZZ")
Posted by Rick Mavrovik at 7/3/2007 12:00:00 AM
Hi, I am using repeater bound to a dataset. Within the repeater I have got ItemTemplate in which I am displaying data by using Eval("DataFieldName"). Does anyone know how can I perform any calculation in ItemTemplate on the bound data..For instance. I need to display an image based on som...more >>

Performance problem with asp.net and database connection
Posted by Hahn, Thomas at 7/3/2007 12:00:00 AM
Hallo, I have an ASP.NET application with masterpages, skins and diffrent themes. The application works fine, but the performance is not realy good. If I load an ASPX file, which has no database connection, is the performance ok. ASPX file with one or more database queries have a answer tim...more >>


DevelopmentNow Blog