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 > march 2005 > threads for tuesday march 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 31

php vs asp.net
Posted by John at 3/8/2005 11:32:11 PM
Hi We are getting a database driven b2b site built. The web developers are currently planning to build the site using php/mysql. Is there any reason that we should rather get them to build the site using asp.net? Thanks Regards ...more >>


Problem access usercontrol added to placeholder
Posted by Anders K. Jacobsen [DK] at 3/8/2005 10:58:51 PM
Hi I have this that adds some usercontrol (UCTodays.ascx) to a placeholder foreach(A a in B){ UCTodays ucline = (UCTodays )LoadControl("UCTodays.ascx"); ucline.Initializecontrol(line,alternate); Placeholder1.Controls.Add(ucline); } On the mainpage i have a save button when pressed muc...more >>

Template
Posted by Joko at 3/8/2005 10:38:15 PM
Hi i want to ask, i want to make a template website so i can display different design of the page for example the location of the links or content or banner. can someone give ideas about it about what should i used. or anyone know somekind of programmes like Smarty that used in php for tem...more >>

creating Phony links
Posted by Buddy Ackerman at 3/8/2005 9:25:23 PM
I want to dynamically create page links that my customers can click on and get the appropriate data but the pages don't really exist. Is there any other way to do this other than creating a custom 404 error page?...more >>

Pop up page in the user control
Posted by Pesani at 3/8/2005 8:01:02 PM
Hi experts, I have to create a user control contains a link ADD. If i click on ADD link one pop up page has to open, this page contains the fields like name, date, subject and comments after filling these fields and i have to click on submit button. After submit the pop up page has to get c...more >>

Newbie:Simple 'textbox' causing this error ?
Posted by Mr. Magoo at 3/8/2005 7:45:43 PM
In VS 2005, I attempt to build my VB (.aspx) application: I simply drag and drop a Label text and a "textbox". When I hit F5, I get the error below. Obviously it is being caused by something missing the in the 'textbox' property. What's wrong ? Server Error in '/P2' Application. ------------...more >>

validation control
Posted by Daves at 3/8/2005 7:37:31 PM
what control/parameters to use to make a validation control check input field for string type and minimum length of 5 characters? ...more >>

Get Response length
Posted by Pietro at 3/8/2005 7:27:09 PM
I'm trying to get the length of the Response output that will be sent to the client. I used sizeof , Marshal.SizeOf and Response.OutputStream.Length but it doesn't work, anybody knows de answer? Pietro...more >>



JavaScript and .NET dll files
Posted by Roshawn Dawson at 3/8/2005 6:58:33 PM
Hi, I was wondering if it were possible to call a .dll file created in .NET from a Javascript function? Thanks, Roshawn...more >>

Viewstate support in Mac IE5
Posted by Lau Lei Cheong at 3/8/2005 6:51:52 PM
Hello, It turns out that some of my website's visitors are using MSIE 5.X for Mac, and they frequently suffers from the "Invalid viewstate" exception(The exception is not recorded on other browsers, so may be IE for Mac specific problem). The following is a sample of returned report(I impl...more >>

asp.net printing avery labels
Posted by dmalhotr2001 NO[at]SPAM yahoo.com at 3/8/2005 6:44:27 PM
Hi, I have to print avery labels 5960 using a webpage? How do I accomplish this with asp.net? I know there is a way with word however I'm not going to opt because people won't have microsoft word installed. So how would i accomplish this task. Is there some tutorial online for avery la...more >>

aspnet_wp uses a lot of ram
Posted by Trapulo at 3/8/2005 6:31:21 PM
On my server (dual XEON 1GB ram) aspnet_wp is using a lot of ram: 500MB ram, 585MB virtual. The server reports only 7.5MB ram free and 30MB system cache. Is this normal? Why garbage collector dosn't release some memory? ...more >>

Process.Start()
Posted by Robert Megee at 3/8/2005 5:40:46 PM
I can't get Process.Start() to work from a Web application. Is this because of the security settings in the browser? Since this is for a private network, security isn't an issue. Anyone know how to make this work or is there another way? I've tried: Process proc = new Process(); proc.Sta...more >>

Help storing and Retrieving Images asp.net using vb.net
Posted by easyboy52 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/8/2005 5:37:11 PM
Here is the whole story. I have a table in my db call Products. columns are: ProductID, Product, ProductImage. Now in the Product.aspx page I want the visitor to be able to upload the Image of their Product and insert it into the table. Because of DB space I was thinking if it is possible to ins...more >>

Page directive- Inherits
Posted by
at 3/8/2005 5:35:52 PM
Hi This could be easy for most of you, I come across with the following in one of the aspx files <%@ Page language="c#" Inherits="ASPDS.Admin" %> , and under the bin directory I found a dll file named ASPDS.dll Can anyone advise on how to interpret this? TIA -- ...more >>

FormsAuthentication.RedirectFromLoginPage problem
Posted by BoltonWolf at 3/8/2005 5:11:15 PM
Hi, I have a ASP.Net web site, that we sell as a module to our core software, versions of this site are running fine on many servers, however we are having problems with our latest installtion, and it's got me scratching my head. The problem is with FormsAuthentication.RedirectFromLoginPag...more >>

Russian Characters and ASP.Net
Posted by Ross Noe via .NET 247 at 3/8/2005 4:56:32 PM
(Type your message here) -------------------------------- From: Ross Noe I created an XML file using ASP that has Russian characters=2E For= some reason ASP=2ENet doesn't read the Russian characters= properly=2E Is =2Enet capable of reading Russian characters from an= XML file created wit...more >>

CustomValidators without ServerValidate event
Posted by headware at 3/8/2005 4:53:02 PM
Lately, I've been using the CustomValidator control without the ServerValidate event handler. For instance, if I'm importing a file and there is an IOException thrown, I report back to the user that there was a problem by setting the IsValid property of a CustomValidator to false and returning. ...more >>

multiple cache instances?
Posted by W. Jordan at 3/8/2005 4:46:02 PM
Hello, I would like to instantiate multiple Cache instances within my web application, for instance, one for database related items, one for application configuration items, one for user preferences items, and etc. Is it ok to instatiate multiple Cache instances by calling the constructor ...more >>

Team Development
Posted by Shawn Berg at 3/8/2005 4:44:58 PM
I have just finished reading the "Team Development with Visual Studio .NET and Visual SourceSafe" patterns & practices white paper. I just wanted to get a good feel from others if what they suggest here is really the best implementation for team development. My company only has a handful of deve...more >>

WebCustomControl ViewState
Posted by Cristian at 3/8/2005 4:39:29 PM
Hi, I'm building a WebCustomControl, the principal class which inherits from WebControl has the property ViewState, and I want to access to the ViewState from other classes in my project, but I can't do it. Somebody konw how can I do that? Thanks ...more >>

Finding Authenticated Users
Posted by Wayne Carlaw at 3/8/2005 4:37:46 PM
Is it possible to retrieve a list of all current authenticated users when using FormsAuthentication? Thanks ...more >>

I need vertical label ( ASP.NET )
Posted by Hekim MUKUS at 3/8/2005 3:58:27 PM
Hi, i need vertical label. C# or VB thanks ...more >>

Will ASP.NET cache culture setting?
Posted by Hardy Wang at 3/8/2005 3:37:50 PM
Hi, We migrated some of web applications to a new server. When the server was installed, the regional setting was EN-CA, later on we found culture display was not same as from original server (which was EN-US), we reset server's culture to EN-US. Now we have 2 web applications still ...more >>

Java script
Posted by Bala at 3/8/2005 3:31:01 PM
Hi Is it possible to call the javascript funtion from server side controls. i have server side command button, when i click that buton it should call javascript function and after that it should execute the server side code. is it possible? can anyone give me a idea. bala...more >>

.net Question
Posted by Vinod at 3/8/2005 3:16:12 PM
Hi, Can anyone help me with .net questions. I am preparing for a interview. regards vinod ...more >>

navigating a CACHED XML file...how?
Posted by darrel at 3/8/2005 2:39:15 PM
I can navigate an XML file to find a particular value as such: Dim xpd As System.Xml.XPath.XPathDocument = New System.Xml.XPath.XPathDocument(XMLfile) Dim xpn As System.Xml.XPath.XPathNavigator = xpd.CreateNavigator() and then I create an expression and navigate to the value I want. I'm n...more >>

Client side TABS ????
Posted by GMK at 3/8/2005 2:32:09 PM
Dear all i'm facing a problem in building my asp.net application. i would need to have on the same page 3 panel controls and i want them to apear one after the others in the same way as it is in tab control in windows application. so i would need three buttons that would display those panel as ...more >>

ASP:Panel and Scrollbars...
Posted by Blue Streak at 3/8/2005 2:26:40 PM
Is there a scrollbar feature for Panel Web Objects in ASP.NET and, if = so, how do you turn it on? TIA......more >>

Q: SmtpMail.Send error
Posted by JIM.H. at 3/8/2005 2:11:02 PM
Hello, I am using SmtpMail.Send() and I get the following message The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for myMail@hotmail.com What does this mean? Thanks, Jim. ...more >>

Is it possible to directly call an ASP.NET procedure using a client-side script
Posted by aa at 3/8/2005 2:10:52 PM

Session_Start event fires twice with Frames page
Posted by Bill Manring at 3/8/2005 2:07:01 PM
The startup page for my ASP.NET application is an HTML frames page with two frames. This seems to cause the Session_Start event in the Global.asax file to fire twice. When I change the startup page to an ordinary aspx page, the event only fires once. I would like to run some concurrent li...more >>

Browser refresh forgets the original request
Posted by Jaikanth Sithambaranathan via .NET 247 at 3/8/2005 1:59:23 PM
The problem is in the result page in which i can scroll through= the contents of the result set 100 at a time=2E I call the result= page from a filter page where i accept filter on results to be= displayed=2E When i get to the result page by submitting (on click= of a button) from within the...more >>

GetDecimal
Posted by Sam at 3/8/2005 1:52:31 PM
<asp:DataGrid id="myDataGrid" runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundColumn DataField="gbaid" HeaderText="Account ID" /> <asp:BoundColumn DataField="account_num" HeaderText="account_num" /> <asp:BoundCol...more >>

Request parameter
Posted by Lubomir at 3/8/2005 1:51:06 PM
Hi, I would likew to ask if there is a way how to pass an array as a request parameter. For an example instead of using: "general.aspx?prm1=string1&prm2=string2" to use something like the following: string [] myStrings={ "aa", "bb"}; "some.aspx?prm=@myString" What would be the cor...more >>

How do i link to a power point document?
Posted by Jensen bredal at 3/8/2005 1:28:00 PM
Hello, I need to lunch some power point PPS slides at some point in my web app. How can this be done? Many Thanks JB ...more >>

Inheriting from ControlCollection
Posted by DanielSchaffer at 3/8/2005 1:17:21 PM
I am trying to create a class that inherits from= ControlCollection, but I am getting the compile error "No= overload for method 'ControlCollection' takes '0' arguments",= and VS highlights the constructor method: public AvailabilityCollection(Control owner) { _owner =3D owner; } He...more >>

SelectedIndexChanged event does not fire?
Posted by Jim at 3/8/2005 1:10:05 PM
Hi All, Can someone tell me why the SelectedIndexChanged event does not fire? <form id="Form1" method="post" runat="server"> <asp:Table id="Table1" runat="server" Width="455px" Height="61px"> <asp:TableRow> <asp:TableCell> <asp:DropDownList id="DropDownList1" runat="server"...more >>

Guidelines for overloading Render method
Posted by sk at 3/8/2005 12:34:10 PM
Hi, I'm trying to override the Render method of my Page class. Are there any standard guidelines for this? Thanks. Shardul ...more >>

View State
Posted by Bala at 3/8/2005 12:29:13 PM
Hi all, In my page load i am loading nearly 5 diffferent arrays. each array having nearly 1000 items. after that i am doing some calculation add some list into datagrid using that array values. all the values are maintaing on VIEW STATE. so the page is totaly slow. how to get the array and ...more >>

how to run procedure in server side, which will be called from client side
Posted by aa at 3/8/2005 12:18:30 PM
I have one page PAGE.ASPX web page. from this page I can open other web page with command "window.showModalDialog('otherpage.aspx')". I want after I will click on button1 in the page otherpage.aspx, the modal page would be closed and will be run sub1 in the server side of page PAGE.APSX, and ...more >>

Conditional Formatting of HyperLink on Datagrid
Posted by chuckdfoster at 3/8/2005 12:09:20 PM
I have a hyperlink column in my datagrid. I want my hyperlink to be green or red (depending on in/out status) no matter if the link has been visited or not. How can I accomplish this? I have tried using CSS but that doesn't affect what is going on in my datagrid. This is what I have so far fo...more >>

Catch key press at page level
Posted by Jinsong at 3/8/2005 11:48:15 AM
Is there a way that I can catch the key press at page (form) level? I have a page with about 15 controls. but there is only one submit button. I want to do form submit when user press the enter button. thanks ...more >>

input mask for textbox
Posted by Brian Ciarcia at 3/8/2005 11:32:18 AM
Can someone please look at the following code that I have been using for my asp forms and help me convert it so that I can use it on my .net forms?? I have tried using the maskedit control and kept getting an activeX error. I have also tried downloading the flexmaskedit and validtext controls,...more >>

Remoting
Posted by Charles A. Lackman at 3/8/2005 11:28:45 AM
Hello, I have created a chat (from a remoting book 'Advanced .NET Remoting in VB.NET') that runs great in a desktop application. I have taken the code and converted it over to an aspx web page. When the message is sent to the server the aspx page waits for the message to return and then pla...more >>

crystal report.
Posted by dappyl at 3/8/2005 11:14:01 AM
i have already create the report. but how do i view it using the viewer....more >>

Updating label text
Posted by kaczmar2 NO[at]SPAM hotmail.com at 3/8/2005 11:12:29 AM
I have an ASP.NET page written in VB.NET that has a label: <asp:Label runat="server" ID="lblStatus" CssClass="LabelTxt"></asp:Label> In my code behind, I am running some stored procedures and a DTS package. Since the queries and the DTS package take a few seconds to run, I want to update t...more >>

Localisation problem
Posted by Olivier Matrot at 3/8/2005 11:00:36 AM
Hello, I have a W2K3 US Enterprise box on which ASP.NET localisation do not work. A standard installation on a fresh machine with same configuration (regional options and so on) is OK. If the user request french at the browser level, strings are correctly loaded. How could I diagnose this...more >>

name 'cache' is not declared?
Posted by darrel at 3/8/2005 10:50:40 AM
I'm accessing an XML file several times on a page, and, as such, want to cache it. I'm setting it up as such: if cache("xmlFile") is nothing then... load file cache file else read it end if This works fine in my codebehind, but I'm trying to move this out into a standalone clas...more >>

i would like to build a small web page which can be viewed from a mobile device
Posted by D.Rudiani at 3/8/2005 10:38:10 AM
Hello, forgive me if this is the wrong newsgroup for this question. Question - How can i build a simple ASP page which can be viewed from a mobile device? Can someone give me an example. & is there any way that i can test these asp pages of mine using some emmulator of some sorts. as i ...more >>

The best way to update a site?
Posted by Rudy at 3/8/2005 10:01:07 AM
Hello! I currently have a site online. I added more features to my datagrid page, so users can update and stuff. I though I could just copy the aspx, aspx.vb and the server page including the web config, and paste then on the server. At c:\intepub\wwwroot\website. But now I get a runtim...more >>

What is a good start book
Posted by me at 3/8/2005 9:49:29 AM
What is a good start book for XML and ASP.net with C#? ...more >>

Displaying Unicode characters
Posted by Jonas at 3/8/2005 9:42:08 AM
Hi! I'm developing an ASP.NET application that fetches Unicode string data from a SQL Server. I'm using "Lucinda Sans Unicode" as the font for my web pages but when I have a string containing the subscripted character "2" (as in CO2), I get the box character instead. This is a problem only ...more >>

Learnig to Build a Tree View Control
Posted by dwok at 3/8/2005 9:00:11 AM
Does anyone know of a good article that discusses creating a "Tree View" control in ASP.NET? Or perhaps a Tree View Control that comes with source code? I have come across a lot of tree controls for ASP.NET however most of them are already compiled and don't come with source code. I am really j...more >>

isNaN function jscript
Posted by siaj at 3/8/2005 8:11:03 AM
I am new to jscript.. I am trying to validate if a textbox on my ASP.NET page has numeric value.. The code I am using is function IsValidAmount() { var intTotalAmt = document.Form1.txtTotalAmt.value; If (isNaN(intAmt1)== false) ...more >>

Thread just stops running
Posted by mareal at 3/8/2005 8:03:12 AM
I have noticed how the thread I created just stops running. I have added several exceptions to the thread System.Threading.SynchronizationLockException System.Threading.ThreadAbortException System.Threading.ThreadInterruptedException System.Threading.ThreadStateException to see if I could...more >>

buffer overun detected
Posted by Victor Sayas at 3/8/2005 7:52:49 AM
i hope anyone can help me with this problem, everytime i test compile my = web application in asp.net, this error message pops out and i cannot = open my internet explorer. after encountering this problem, i also = cannot open my windows explorer....more >>

How to get the session ID from mobile web querystring?
Posted by karfei00 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 3/8/2005 7:37:01 AM
Hi , Anyone know how to retrieve the value of the session ID from the mobile web querystring ? For example: http://localhost/(c2jsffj5kzl03045wtjq0iz3)/index.aspx How can i retrieve the "c2jsffj5kzl03045wtjq0iz3" and store it in a variable ? For your information, what i want to do ...more >>

Redirect based on stored procedure return values
Posted by neil_pat at 3/8/2005 6:57:02 AM
I have a stored procedure which returns a value of between 0 and 4. I want the user to press a button to receive feed back on their last input. The save button takes the input and saves it to the database. The feedback button runs a stored proc that takes the saved data from the table, perfo...more >>

SelectedIndexChangedEvent not raising
Posted by Steven at 3/8/2005 6:53:03 AM
We cannabalized a javascript that enables a web-form dropdown box to function like a winform dropdown box. Let's say you want to find Steven. In a winform dropdown list, you type "Ste" and you are on Steven. Press enter or tab, and away you go to the next form field. But in a webform, ...more >>

Access remotely by WMI
Posted by Dan Pavel at 3/8/2005 6:52:19 AM
Hi, I am trying to list in a web page the processes an the services of a computer in my workgroup. For my computer I use the windows user and it works fine. For the remote computer I use admin user and password entered by text boxes and saved as cookie. The bad part is that I get "Access deni...more >>

Uploading file to a different web platform using ASP.NET/VB.NET
Posted by brianinbox NO[at]SPAM gmail.com at 3/8/2005 6:41:29 AM
Hi, I've been trying to upload file using webclient.uploadfile method from my IIS webserver to an Apache webserver without any success. On the Apache server (server that receives the incoming file) I have a simple php script, getFile.php to receive the file. The script look like this: <?php ...more >>

URL Escape Character Problem (Bug in ASP.NET??)
Posted by CoolKiwiBloke at 3/8/2005 6:33:03 AM
When attempting to use characters above 0x8F in the QueryString (URL Escaped of course) these do not work when the CodePage is set to 1252 e.g. using test.aspx?test=%a3, ('£') the parameter 'test' shows up in trace.axd as being empty! A similar problem exists when entering characters into ...more >>

Page does not return with smartnavigation on
Posted by morrisdn13 at 3/8/2005 6:15:19 AM
I have encountered a very strange problem that makes it look like the page is not recreated in entirety after a postback when I turn on smartnavigation. If I click on a server control, the page is returned blank. I have a JavaScript routine displaying a session countdown in the browser sta...more >>

Customized dynamic Datagrid component - help please
Posted by Reza Solouki at 3/8/2005 5:57:05 AM
Hello, I have a page that keeps repeating many times, with different datasets, for the site, so it only makes sense to have a component that gets used. However, the part of the grid I haven't been able to resolve. here is the part that I haven't found a way for it to be dynamic, "DataIt...more >>

window.dialogArguments in .net - order of page load
Posted by louise raisbeck at 3/8/2005 4:01:06 AM
Hi there, I have a bit of a chicken and egg situation. I have a page_load event in my c# code which does things with some textbox values in my aspx form. It is a dialog window and i set the values from the parent window using the parameters dialogArguments passed to the window (i dont want to ...more >>

html table inside repeater
Posted by JohnZing at 3/8/2005 3:10:10 AM
Hi, why visual studio does not like this <HeaderTemplate> <table> </HeaderTemplate> <ItemTemplate> <tr><td> some data here </td></tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> It works, but I get lots of warnings in Vstudio editor and V...more >>

Downloading multiple files from Server
Posted by Gopal at 3/8/2005 2:05:02 AM
I am using ASP.NET and i wish to push down 3 files (text/xml) from the server to the client. I wish to give the user an option to select the folder in which we wants these files to be dumped. Any idea how can I download these files onto the client in one go? Thanks ~GOpal ...more >>

Custom Datagrid
Posted by RedRed at 3/8/2005 1:48:52 AM
Hi all, I have datagrid problem. Im creating datagrid with the code which allow the column header is set manually. This is the code: Public Sub BrowseTable(ByVal sqlStr As String, ByVal field1 As ArrayList, field2 as arraylist) Dim newCol As New BoundColumn Dim aCou...more >>

Some DataGrid question
Posted by Arsalan at 3/8/2005 1:23:03 AM
Suppose I have large database around 10,000 rows, I have a datagrid which shows 20 rows in a page, so its pointless to call DataAdapter's fill command [bec its gonna fill the dataset with 10,000 rows, what SQL statement should i use, if for e.g i want display page 5?] How do I display the ...more >>

Consuming XML Web Service
Posted by Peter at 3/8/2005 1:13:02 AM
Hi! Please, could You advice me to complete the following task: We have a Web Service that returns XML document with some data about our customers. [WebMethod] public XmlDocument getCustInfo() { //some implementation } I am trying to parse that document and to print customers' ...more >>

useUnsafeHeaderParsing=true not working
Posted by ludovic at 3/8/2005 1:12:22 AM
Hi, I have a problem using .NET 1.1 SP1. When I access my web server, on most laptop, I have to set in the config file the useUnsafeHeaderParsing=true in order to avoid a http violation error. But when I try this configuration file on my laptop, this configuration does not work at all w...more >>


DevelopmentNow Blog