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 > september 2006 > threads for friday september 8

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

A strange problem....
Posted by Ginny at 9/8/2006 11:58:31 PM
Hi, I have a simple web service that returns a dataset. Its very simple. i call the web service from a windows app. it works abosolutely fine when i can the web service method synchronously. but when i try to call the method asynchronosuly using the 'beginxxx' and 'endxxxx' it does not give any ...more >>


look and feel windows XP for menu bar
Posted by Iwan Budihalim at 9/8/2006 10:55:08 PM
is that possible we can create menu bar and tool bar which the look and feel just like windows XP ? thanks in advance ...more >>

adding child controls problem
Posted by Daves at 9/8/2006 8:35:22 PM
I'm iterating through all controls in ControlPlaceholder to locate specific HyperLink controls. When found I want to add an Image control right after - I'm visually placing seperator images between hyperlinks. When I do _hl.Controls.Add(_img) the hyperlinks dissapear, although the image is t...more >>

VB Script Function
Posted by Kuldeep at 9/8/2006 7:27:32 PM
Hi All, I have a VB Script function in a separate vbscript file. How do I call this function in such a way that I can pass the necessary arguments into it and fetch the return value. Please Help Regards, Kuldeep ...more >>

Help: Win Controls Hosted in IE - Cannot pass/retrieve parameters in JS
Posted by tomromanul NO[at]SPAM yahoo.com at 9/8/2006 7:20:50 PM
Hi all, I built a Windows Froms user control and I use it in IE 6+. It functions properly (it displays properly in IE and executes code, such as displaying a message box), except that in the web page I cannot do any scripting (javascript) against it. This control has a public property Text2, ...more >>

Assemblies & DLLs?
Posted by Arpan at 9/8/2006 7:03:06 PM
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX directory. This directory has a sub-directory named \bin where in all DLLs are stored. Are these DLLs which are stored in the \bin directory known as Assemblies? Also is the \bin directory the Assembly Cache? Thanks, Arp...more >>

Set focus to a control inside a Updatepanel in Atlas
Posted by MSDN at 9/8/2006 4:55:56 PM
After a postback, how do I set focus onto a control that is inside an updatepanel? ...more >>

How to get the user name after FormAuthentication
Posted by Vivian at 9/8/2006 4:48:30 PM
hi, I'm new to .aspx and want to ask a question about FormAuthentication. I've created a login page and a default page, it works well in the login page and can redirect to the default page. The problem is I want to get the login name in the default page, what function should I use? Thanks...more >>



Printing to Printer connected to Web server
Posted by Ray Booysen at 9/8/2006 3:28:38 PM
Hi all I've not come across a solution for this yet, I'm hoping someone can help. I have a process of generating reports that are saved to disk. During the process I have access to the raw HTML, and a generated PDF. In the generation, some of the reports are emailed but some need to be p...more >>

Best way to handle a bad parameter in the url?
Posted by David Thielen at 9/8/2006 3:23:02 PM
Hi; If the user goes to my page with http://www.mydomain.com/app/page.aspx?ID=5 and there is no data for ID=5, what is the suggested best way to handle this. I'd like to go to an error page rather than have 2 views in page.aspx, on just for the error case. -- thanks - dave david_at_wi...more >>

how can i change a value in an <object> </object>
Posted by msnews.microsoft.com at 9/8/2006 3:17:47 PM
hello every one i am using media player in internet explorer but i cannot access it directly in code behind, so do you know a way to access it? <object id="video123" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" runat="server"> <param name="URL" value="...more >>

Dynamic table and postback
Posted by Gregory Gadow at 9/8/2006 2:56:14 PM
If there is a more appropriate forum, please let me know and I will post there. Our field reps can go on to our website and select from several sets of data to create the address we then provide to their clients in company correspondence. Using just name as an example, one rep might have a ch...more >>

Passing errors - not in the url
Posted by David Thielen at 9/8/2006 2:53:01 PM
Hi; When I get an undlanled exception and need to pass info (like the exception) to the error page - I don't want to pass that in the url. Is there a way to pass it so the user does not see it? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - ...more >>

Help with populating a questionnaire!
Posted by standon410 NO[at]SPAM gmail.com at 9/8/2006 2:07:46 PM
Hi, I'm trying to develop a questionnaire...basically a user can pick one of 5 questionnaires they want to use, and based on their choice, those questions will appear in their form. So the database table contains all the questions/radiobutton selections in one table (well, a view), and they a...more >>

Saving web page as Excel spreadsheet
Posted by Mark at 9/8/2006 2:05:24 PM
I have a web page with a GridView that displays data from a SqlDataSource component. I need to allow the user to click a button and have this data delivered to them in a .xls file that they can save to their local machine. Is the a way to do this with .NET or will I need a third party comp...more >>

Proxy Class Property?
Posted by Arpan at 9/8/2006 1:38:55 PM
A class file named "SecureDBWS.vb" exsting in C:\Inetpub\wwwroot\ASPX\Business folder has the following code: Imports System Imports System.Data Imports System.Data.SqlClient Imports System.Web.Services Imports System.Web.Services.Protocols Namespace DBSecuritySettingsWS Public Class...more >>

Hi XML problem,:toggle display effect
Posted by gauravkg via DotNetMonster.com at 9/8/2006 1:23:31 PM
Thanks to allof u how have given pain to see my problem i have an xml file having this tructure <specifications> <row> <heading>MegaPixels(Effective)</heading> <data>6.0</data> </row> <row> <heading>MegaPixels(Total)</heading> ...more >>

Tiered architecture question
Posted by Ken Ross at 9/8/2006 1:02:19 PM
I'm in the early stages of working up the design for a large .Net web application and want to make sure that we have the best possible physical architecture to support the logical architecture and implementation. To my way of thinking, that means that no only do we follow a 3-tier approach f...more >>

Misterious IP -> name resolution in Uri.GetLeftPart() method
Posted by MP at 9/8/2006 12:40:46 PM
Hi all, we have a very peculiar problem that occurs in just one of our two win2003 servers running IIS6. Details: server 1: win2003 server standard SP1 (the one with the problem) server 2: win2003 server R2 standard SP1 (the one that works fine) The two servers are hosted by the same company b...more >>

UPS LandedCost webservice and ASP.NET 1.1
Posted by Ather Ali Shaikh at 9/8/2006 12:36:36 PM
Hello all, I am supposed to develop an e-commerce application integrated with UPS Courier services to calculate the cost of shipment of a products. I have UPS account number also have register a user to download the DevTools, but thos development tools are in VB6.0 and Java, I do not unders...more >>

Breadcrumb Navigation bar
Posted by DBdealer via DotNetMonster.com at 9/8/2006 12:12:46 PM
I'm trying to build a breadcrum navigation bar for my website....please can some one suggest me ways...It's a 100 page site and I need it for navigation with the site....Thank you -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200609/1 ...more >>

MessageBox
Posted by John Baima at 9/8/2006 11:56:53 AM
When I run my ASP.NET app in the debugger, System.Windows.Forms.MessageBox.Show works when running on the server. It does not work when I actually upload my web site to the web server. That is really annoying! I wish it would not work in the debugger! Things should not work differently like that...more >>

Help w/ ObjectDataSource
Posted by fingermark NO[at]SPAM gmail.com at 9/8/2006 11:36:19 AM
I'm using 3 ObjectDataSources. ObjectDataSource2 depends on DropDownList1.SelectedValue and ObjectDataSource3 depends on DropDownList2.SelectedValue. I have the gridview and details view in their own view (multiview). When I select DropDownList1 and then DropDownList2, the GridView will popul...more >>

Grabbing Emails
Posted by sck10 at 9/8/2006 11:16:14 AM
Hello, I am working on a new project where I need to: 1. open an email and then create an xml file from the email 2. open the xml file and parse the information. I would like to be able to do the second step using a web page and then duplicate it with a Windows Service. Does anybody k...more >>

eliminating the physical file requirement
Posted by PJ6 at 9/8/2006 11:15:34 AM
I want to support web addresses that do not correlate with any physical file, but rather based on my own rules, instatiate Page objects and cause them to render manually. Is this possible? Paul ...more >>

web net app and Atlas questions
Posted by MPA at 9/8/2006 11:14:29 AM
Hi, I am a newbee to web applications and we are planning to rewrite our existing PowerBuilder client-server application into a web application under Visual Studio .Net 2005. My question is about Atlas. 1. Does Atlas only enhance programming with ASP .NET or can sometimes be an alternative?...more >>

Access to the path is denied
Posted by Mike Collins at 9/8/2006 11:04:02 AM
I am getting Access to the path is denied with the following procedure below. I know I'm showing my ignorance here, but in a different procedure, I am writing an xml file to disk using a DataSet object: ds.WriteXml(@exportPath, XmlWriteMode.WriteSchema);. What is the difference in using a File...more >>

A New Language for ASP.NET
Posted by mctodd333 NO[at]SPAM hotmail.com at 9/8/2006 10:51:38 AM
Hello, I'm working on developing a language that compiles into .NET Intermediate language and would like to be able to use the language in ASP.NET, i.e: have code of my language embedded in an ASP.NET page...Any idea how an .aspx page is compiled? Thanks, John ...more >>

WebBrowser control in DLL and STAThread error
Posted by JP2006 at 9/8/2006 10:23:59 AM
Getting a an error with my DLL stating that my control 'cannot be instantiated because the current thread is not in a single-threaded apartment.' The code is: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System...more >>

vb.net code for inserting vbcrlf every 80 characters
Posted by tom.krier NO[at]SPAM gbmail.com at 9/8/2006 10:23:23 AM
Here's the thing. I am downloading a tiff image through an http stream, then I am converting it to a byte array, then I convert it to a string which I place in an XML file. When I place the string in the xml file it is super long (slows down all editors when opening), so I was thinking to inse...more >>

DataGrid Mystery
Posted by GaryDean at 9/8/2006 9:15:44 AM
I have a situation where characters are somehow getting stripped from a textbox in an ItemTemplate in a cell of a DataGrid. In the itemDataBound event I am moving data from columns created at run time into other columns, created at design time, I have set up with Textboxes. This program has...more >>

Problems running ASP.NET 2.0 in Windows XP
Posted by Chris at 9/8/2006 8:29:28 AM
Good Morning, I have spent a considerable amount of time trying to get aspx pages to render in IIS 5.1 to no avail. At first I thought it was a problem with the installation of the Quickstarts since they were the first failure I saw after loading framework and SDK 2.0. The problem presents i...more >>

MultiView and GridView Paging issue
Posted by nospam NO[at]SPAM meatonconsulting.com at 9/8/2006 7:55:29 AM
I have a MultiView with two views in it. View1 has a GridView and a SqlDataSource. View2 has a few link buttons that set the SelectCommand for the SqlDataSource to show a few reports. Here's the extremely basic code sample: Protected Sub btnAll_Click(ByVal sender As Object, ByVal e As Sys...more >>

Calendar Control and ASP.Net 2.0
Posted by Paul at 9/8/2006 7:50:02 AM
I am using the standard Calendar control in ASP.Net 2.0 and VB.Net and VS2005. Here is the code: <asp:calendar id="cldr_contract_date" runat="server" backcolor="#ffffff" width="250px" height="200px" font-size="12px" font-names="Arial" borderwidth="2px" bordercolor="#000000" nextprevformat=...more >>

Compress the code of .aspx files
Posted by dust at 9/8/2006 7:27:23 AM
I need to improve the download speed for an asp.net 2.0 application. So I'd like to compress the dimension of the .aspx pages. These pages don't have any images or heavy element. The most long text of the pages is the javascript code that is automatically inserted on the pages by the .net. Ho...more >>

Regular Expression Help
Posted by Lav KG at 9/8/2006 7:25:13 AM
Hi all, Please help me convert the following expression to a valid Regex. [a-zA-Z]{1}[0-9a-zA-Z\.\-]{0-63}@[0-9a-zA-Z]{1-64}.[a-zA-Z]{2,3} I'm trying to validate an email address by a RegularExpressionValidator. Thanks in advance Lav KG ...more >>

VS2005 Enable ASP.NET Debugging in Class Library App
Posted by Peter Sutcliffe at 9/8/2006 7:25:02 AM
In VS2003 I had a class library project that I started via a URL and I had ASP.NET debugging enabled to allow me to debug the web pages code behind in my project. I have moved the app to VS2005 and I no longer have that option (Enable ASP.NET debugging checkbox on the project properties Debug...more >>

http vs https
Posted by jdp at 9/8/2006 7:04:06 AM
I've created an asp.net 2.0 site that has secure and non secure pages so, obviously, it has a login page. The web.sitemap file has the url set to the relative location of the page, meaning https isn't specified. Because my machine and any other developer will have a certificate installed, we g...more >>

Strange problem
Posted by Flurry at 9/8/2006 4:40:22 AM
Hello I've got a problem and I'm not getting much help trying to resolve it. I've searched google all morning for an answer.... I have the following code: Lab1.text = "Your Serial Number is: " Lab2.text = serialNo & "-" & serialYY Response.Clear() ...more >>

Is Ajax.NET really so much javascript coding?
Posted by egholm NO[at]SPAM gmail.com at 9/8/2006 3:32:32 AM
I have just been playing around with ajax.net v. 6.7.20.1 (with .NET framework 1.1) and I was surprised how much javascript I had to write to make it work. I have used this tutorial: http://www.codersource.net/published/view/301/using_ajax_net_library_2.aspx For example, if I make a client s...more >>

Cannpot seem to add a reference in Visual Studio 2005
Posted by Keith Clegg at 9/8/2006 2:43:02 AM
Hi all, I have just recently started working with Visual Studio 2005 for web development, and have been using Visual Studio 2003 for web development prior to now... In 2003 to add a reference one would simply right-click on the bin folder and add the required reference to use, albeit int...more >>

ASP.NET 2.0 static variables in Global.asax
Posted by drasko at 9/8/2006 2:24:50 AM
In Microsoft Knowledge base, Article ID: 312607 says: "It is recommended that you store data in static members of the application class instead of in the Application object." Does this apply for ASP.NET 2.0? If it does, how can I accomplish this? I am using c#... Thanx in advance, Drask...more >>

[NEWBIE] Call an event from a javascript
Posted by teo at 9/8/2006 2:00:12 AM
Hallo Newbie question about syntax. I'd like to fire the zzzzz event when the user presses the 'Canc' key on a Listbox item. -------------------------------- I added: onkeydown="javascript:zzzzz" to the <asp:ListBox tag but I got a green underscore How can I avoid that green ...more >>

insert a value in this way: <%# var %>
Posted by RicercatoreSbadato at 9/8/2006 1:52:44 AM
hi all, I'm using C# and ASP .NET. I want to modify this field <%# var %> AFTER the Page_Load() event... How can I do ? ...more >>


DevelopmentNow Blog