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 > april 2005 > threads for wednesday april 6

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

'DataGridLinkButton' must be placed inside a form tag with runat=server.
Posted by Sen Mathew via .NET 247 at 4/6/2005 11:15:52 PM
Dear all I also have problem with Datagrid Complaining= 'DataGridLinkButton' must be placed inside a form tag with= runat=3Dserver=2E But My file is an ascx file ie it is a user= control=2E I call this file in to the main file so that we do not= have FORM TAGS in every file instead we hav...more >>


Credit Card Validation Question
Posted by Sparky Arbuckle at 4/6/2005 11:10:15 PM
The code below will pass a credit card as being valid if it contains dashes, spaces, and also alphanumerics. How can I check for only dashes and spaces and return invalid when the user inputs alphanumerics? Thanks. Sub ValidateCCNumber( s As Object, e As ServerValidateEventArgs ) Dim ...more >>

Xml question
Posted by Ray5531 at 4/6/2005 11:03:31 PM
what is the equivalent of this in C# ? foreach (XmlNode xmlConfigNode in xmlConfigDoc["configuration"].ChildNodes) Thansk ...more >>

How to add a ASPNET form to a ASP website
Posted by Dee at 4/6/2005 10:41:46 PM
Hi, We have a wesite deovelopped using FrontPage 2002 and we need to add some forms to it. The host supports ASPNET. I've an web application that has those forms that i developped using localhost. How should I go about adding these aspx files to the existing non-ASPNET website? Thanks Dee ...more >>

Showmodaldialog question
Posted by John at 4/6/2005 9:45:06 PM
Hi all, My web app makes use of the ShowModalDialog in a couple of places. In certain instances, the user may click on a "Cancel" image button (there is no code-behind for this) at which point a Javascript runs which does a window.close() The problem is that the parent page still posts t...more >>

Download Files
Posted by Grant at 4/6/2005 9:41:02 PM
Hi, I'm trying to download files using asp.net (vb) and it seems to take forever to actually bring up the Save As dialog box. The files are Academic Software Downloads so are quite large in size, but would have thought that the Save As dialog would still come up fairly quickly and just the ...more >>

DataGrid does not Server.HtmlEncode
Posted by M at 4/6/2005 9:27:59 PM
I would thought the DataGrid would HtmlEncode everything before displaying. It appears that it does not. Isn't that a security concern? Anyway to force the DataGrid to HtmlEncode? Thanks. ...more >>

One row for a repeater
Posted by Rudy at 4/6/2005 8:43:01 PM
Hello all! I have just discover how cool repeaters and datalist are. But I was wondering if I can supply 1 row at a time. I have a table of employee profiles. Birthday, hiredate, region are my columns. So I can disply my data in a nice layout. But what if I want only the info for 1 employ...more >>



Determine when app is running on development machine?
Posted by Ben Fidge at 4/6/2005 8:42:39 PM
What is the correct way to determine when your app is running on my development machine and when it is running on the live server? In the web.config file you can specify how errors are displayed according to whether the app is running on live server or not. How does the system know? Kind r...more >>

Help!! Can someone please check my code?
Posted by Sandy at 4/6/2005 8:31:03 PM
I have two tables, tblPost - (Cols PostID, TopicID, UserID, Question, PostMsg and PostDT) and tblTopic - (Cols TopicID, Topic). I am trying to get tblPost.Question and tblPost.PostDT into DataGrid1 when the DropDownList1 (which consists of Topic) is clicked. I have the following code: P...more >>

.NET Reactor
Posted by Paul Aspinall at 4/6/2005 8:30:15 PM
Hi Has anyone any experiences of using .NET Reactor, in order to protect their assemblies?? http://www.eziriz.com/ Any opinions / experiences appreciated. Thanks ...more >>

ASP.NET FORM to new Window '_new' but how to hide menubar, toolbar
Posted by mavrick101 at 4/6/2005 8:21:03 PM
Hi, I am submitting a form to new window 'target='_new'. The form is submitted fine, but How do I hide the window menubar, toolbar etc? Please help...more >>

Custom error form in asp.net web app
Posted by Larry at 4/6/2005 7:35:01 PM
Is it possible to show the text that would appear in the default IIS error page, but have that text appear on the custom form when using the <customErrors mode="RemoteOnly" defaultRedirect="error.aspx" /> What do I need to put in error.aspx (and error.cs) to obtain the error text and disp...more >>

Problem in displaying few fields......... using DATA READER.
Posted by Vigneshwar Pilli via DotNetMonster.com at 4/6/2005 7:25:22 PM
Hey, Well, I have a Problem. I have designed a table which has few fields which are being declared in the database of type .... char of length 10. and other fields with varchar 50 and datetime too. Well, the Problem is I am not able to display the CHAR type FIELDS in the form when I am...more >>

newb stuff about dll's.
Posted by Qwert at 4/6/2005 5:46:12 PM
Hello, I have custom dll which I link to like this: <%@ Register TagPrefix="MyDLL" Namespace="MyDLL" Assembly="MyDLL" %> which works. Only strange thing is when I put the dll file in the \bin directory of the directory with the .aspx file it doens't find the dll. I have to put in it the...more >>

from datagrid -> A4 (printing)...
Posted by Bad_Kid at 4/6/2005 5:19:20 PM
(asp.net, c#) any suggestions how to create a printing report from a datagrid? Links? Sites? ...more >>

Dynamic content to IFrame...
Posted by Blue Streak at 4/6/2005 5:15:57 PM
Hello, Folks! I am trying to create dynamic content for an IFrame object within an = ASPX page. I did not want to try and pull its content from another = page. Previously in ASP.Classic I would use a bunch of Response.Write = commands that would spit out a buch of JavaScript code to popu...more >>

still confused by @assembly directive
Posted by Steve Richter at 4/6/2005 4:46:28 PM
When I build a C# class and install it in the GAC, my code works as it should, my .aspx code finds the DLL and can run a static method: <%@ Assembly Name="AutoCoder, Culture=neutral, Version=1.0.1922.22245, PublicKeyToken=0a4067d718757385" %> <%@ Import Namespace="AutoCoder" %> Trace.W...more >>

convert foreign key value in repeater
Posted by TJS at 4/6/2005 4:37:01 PM
while creating values in a repeater, I want ot replace the foreign key value with a text value. <asp:repeater id="scores" runat="server" OnItemCreated="Scores_itemCreated"> ..... <ItemTemplate> <tr bgcolor="#EEEEEE"" > <td><%# container.DataItem("idEvent") %></td> ...more >>

C# XML XSLT problem
Posted by Maziar Aflatoun at 4/6/2005 3:56:28 PM
Hi everyone, I have a web application that reads the contents of a web form and creates an XML file from it. Next it creates an HTML file using an XSLT file. However, I sometimes get weird characters in my final HTML. Is there a way to fix this? Maybe an additional directive I can add her...more >>

CheckBox value on HTML page triggered from Code Behind
Posted by Julius Fenata at 4/6/2005 3:51:42 PM
Dear all, I have checkbox on my webform, and I want that when I click my checkbox, it should change status between true or false... Here is my code, // Code Behind CheckBox1.Attributes["onClick"] = "JSGeneratePackageID()"; How to make my CheckBox has value? Because in the html page my ...more >>

How to get current logged in Windows username?
Posted by John Dalberg at 4/6/2005 3:46:51 PM
I want to automate the process of logging into an intranet. I want to pull out the username of the Windows user logged into the machine running the browser and use the username in my app. How can I get the logged in username? Do I have to disable the anonymous access in IIS? I rather not b...more >>

In-place Updating in Datagrid not working
Posted by A P at 4/6/2005 3:23:00 PM
Hi! I have created a sample datagrid that can update data on a database. Please help me solve the problem, I have attached both aspx and code behind (aspx.vb): ______________________ datagrid.aspx <%@ Page Language="vb" AutoEventWireup="false" Codebehind="DataGrid.aspx.vb" Inherits="v...more >>

DataList selection
Posted by Michael Groeger at 4/6/2005 3:17:28 PM
Hi, I have a DataList which is filled with a custom control. The custom control contains a image and a label. The problem is that neither the SelectedIndexChanged event of the DataList is fired nor the SelectedItem template is shown (same custom control with different back color and fore colo...more >>

how to DataBinder.Eval to a subproperty's property
Posted by Eric Newton at 4/6/2005 3:11:06 PM
Given databinding an array of System.Version types: Given that "SomeObject" type has a Version property: public class SomeObject { public Version Version { get; } public string Description { get; } } and I want to bind a list of them to a datagrid. SomeObject[] someObjectList...more >>

Web Email
Posted by Jay at 4/6/2005 3:06:47 PM
I have been using the Web Email facility in asp.net. I have used it successfully many times. This time I am sending the same email to several users so I construct the string of email addresses for the To field. Sometimes it is successful and sometimes it fails. Has anyone had this experience...more >>

what the heck?!?!?!?
Posted by Paul W at 4/6/2005 2:52:55 PM
ok - I've pissed away a morning on this. I keep getting a 'Server Tag is not well formed' error on a page. I have simplified the page to the point of ridiculous - and it still fails. The problem is related to the assignment to 'bightml2' in the JS. If I change it to read "...runat="qqqqqq" ...more >>

Re: How to cancel validation?
Posted by news.microsoft.com at 4/6/2005 2:52:33 PM
Thanks. Yes I did set "causesvalidation=False", here is the code: <asp:linkbutton id=btnCancel runat="server" causesvalidation="False">Cancel</asp:linkbutton> But it still doesn't work. ...more >>

Re: How to cancel out a form with validators
Posted by news.microsoft.com at 4/6/2005 2:49:00 PM
Thanks. Yes I did set "causesvalidation=False", here is the code: <asp:linkbutton id=btnCancel runat="server" causesvalidation="False">Cancel</asp:linkbutton> But it still doesn't work. ...more >>

asp to asp .net
Posted by Carlos at 4/6/2005 2:44:49 PM
Hi all, I was just given a task to convert an asp page that includes javascript to asp .net. What is the best way to do it? Can the javascript code that I need remain there ? I'll appreciate any advice. Thanks, Carlos ...more >>

get full URL?
Posted by MattB at 4/6/2005 2:14:03 PM
Is there something in the .Net libraries that will let me retrieve (or get enough information to recreate) the full URL of a page in my application? Sort of like the reverse Server.MapPath() that would at least give me back the "http://www.mydomain.com" part of the url? Thanks! Matt...more >>

How to cancel out a form with validators
Posted by news.microsoft.com at 4/6/2005 2:10:42 PM
Hi all, I have several Textbox controls, RequireFieldValidator controls, a submit button and a cancel button in my page. When the user press the cancel button, they should be able to exit this page without showing required field messages. I set the "causesvalidation" property of the cancel ...more >>

Content-Disposition Doesn't Set Filename in IE
Posted by Jed at 4/6/2005 2:09:02 PM
I have looked everywhere and cannot find a resolution for this. I have read several post on this forum that allude to similar issues but I have not found a solution. I am sending dynamic content to the browser to be opened in Excel. On some browsers including on the mac it works fine, but...more >>

How to get rid of duplicates in a dataset?
Posted by lanem at 4/6/2005 2:07:04 PM
I have a dataset that I've filled with the data I want. There are duplicate records in the dataset. Does anyone know a way to get rid of the duplicates? I'm sure I can do it with a bunch of code, but I was wondering if someone knew a cool trick or if something is built into .net to do that....more >>

CheckBox Question...Please Help...
Posted by Irfan Akram at 4/6/2005 2:01:05 PM
Hi Guys, I have these series of checkboxes. Whenever any of them are unchecked, I want to display a warning, asking the user to confirm if he really wants to do that. I have added an attribute, to each checkbox, which displays that confirmation box, but I want it only displayed when the che...more >>

updating an arraylist between postbacks caused by Calendar Selecti
Posted by hazz at 4/6/2005 1:53:05 PM
I have two arraylists that populate two Grid controls. I have two Calendar controls to select a 'From' and 'To' date to filter what is in the grid for subsequent filtered views of the what is contained in the lower grid. The rows of the grid are derived unbound through an arraylist of object...more >>

storing value on client side
Posted by Angel at 4/6/2005 1:53:04 PM
I am storing a value into a javascript variable that was keyed into a text control. When the code performs a postback, the value that was stored into a clientside variable no longer exists. Is there anything I can do, to not lose that value in the clientside variable when a postback is perform...more >>

RadioButton.Checked
Posted by sonny at 4/6/2005 1:47:04 PM
I have a DataGrid that has a few cell one of them is a RadioButton. After submitting the page, how can I tell if the button was check before the posting? Thanks...sonny...more >>

Multiple selection in DropDownList
Posted by Michael Groeger at 4/6/2005 1:34:28 PM
Hi, I want to be able to have a DropDownList which supports multiple selection, but I haven't found a property for that in the DropDownList control. Is there a way to have multiple selection with that one. Kind Regards, Michael ...more >>

Adding images to a ListBox
Posted by Michael Groeger at 4/6/2005 1:28:11 PM
Hi, is it possible to add an image to a item in a ListBox? I a searched all around but couldn't find an answer for that? Regards, Michael ...more >>

window.open -- how to keep original page
Posted by Chris at 4/6/2005 12:25:07 PM
Hello, I have a link on an aspx page. The URL is set in the Page Load event: lnkEventHistory.NavigateUrl = "javascript:window.open('EventHistory.aspx?TeenID=" & _ Request.Item("SubjectID") & "&EventCode=" & Request.Item("EventCode") & "')" When I click the link, the new wi...more >>

URGENT: Change location of aspnet_client folder?
Posted by Ken Baltrinic at 4/6/2005 11:38:25 AM
Don't ask my why we need to do this, I didn't write the website policy :( , but we are deploying to a website where we cannot place any directories directly off web root (i.e. aspnet_client) and therefore we need to tell all those lovely validation controls that their js files have moved. I...more >>

Can't read the appSettings section of web.config (Windows Server 2003)
Posted by jared_hagel NO[at]SPAM cpr.ca at 4/6/2005 11:04:21 AM
I've searched the web for a solution to this problem. Surprisingly, no problem/solution has been posted yet. We can read application configuration information fine when our asp.net application runs on a Windows 2000 server. But when we run this same application from Windows 2003, we can't read...more >>

How to give ACL permissions to ASPNET account
Posted by djoledjole at 4/6/2005 10:53:09 AM
I must give ACL permissions to ASPNET account on the file.How to do this from ASP.NET code(VB.NET) ...more >>

Validate and change
Posted by tshad at 4/6/2005 10:52:00 AM
I am trying to set up my page to validate that the Currency input the user put in is valid and to also change the field to readable format. I would like to do this without going back to the server and make the change when the user tabs out of the field. For example: I want to be able to...more >>

Single User Login At A Time
Posted by Joey Lee at 4/6/2005 10:42:06 AM
Hi, Does anyone knows how to control user login that only a single userid can login at a time? Thanks Joey ...more >>

Creating object of another object
Posted by Maziar Aflatoun at 4/6/2005 10:10:01 AM
Hi everyone, I like to do the following, 1. Create an object that holds the customer general information 2. Add multiple orders for the customer 3. Serialize and dump to XML I have already taken care of part 1. and know part 3. However, what the best of adding multiple orders for 1 custo...more >>

Better solution ?
Posted by LB at 4/6/2005 10:04:39 AM
Hello everybody, I'm trying to display into a system.Web.UI.WebControls.Image a picture coming from the DB. I used the code below, and after specifying my image1.url property, the image is displayed. But now, I have still the image stored in my "DestFilePath " directory. Is there a way to ...more >>

How to get Error info in Custom Error page
Posted by Richard at 4/6/2005 9:21:09 AM
I have been struggling with this for days. I feel I must be missing = something simple, and I will be eternally grateful for any help. I'm = using VS.NET 2003 on XP Pro Sp2. I searched and found several examples of Custom Error pages for ASP.NET = and nothing seemed to work. I zeroed in on ...more >>

send argument in a drop down list
Posted by louise raisbeck at 4/6/2005 9:21:04 AM
hi, if i cause the onclick event to fire with an ImageButton I can send CommandArgument which I find really handy to grab some relevant value (which means i can reuse code for many buttons and just check the sender.commandargument) i want to do the same thing with 10 dropdownlists. i.e. ...more >>

Q: move between pages
Posted by JIM.H. at 4/6/2005 9:11:10 AM
Hello, What is the best way to move from aspx page to aspx page by passing variables. I was using session variables with Response.Redirectin both ways, it may not be the right way. Users click a button in the current page and I need pass a variable to use in the second page and when user clic...more >>

HtmlEncode with apostrophes
Posted by Andy Fish at 4/6/2005 8:54:55 AM
When using databinding, I have gotten into the habit of using single quotes (apostrophe) round attribute values rather than double quotes because this allows visual studio to work when there are quotation marks in the databinding expression. As far as I can tell this seems to be recommended ...more >>

JavaScript code in server page
Posted by Thiyagu M via DotNetMonster.com at 4/6/2005 8:54:28 AM
Hai strScript = "<script>" strScript = strScript & "parent.price.FRM_LIST_SUM.STXT_LP_TEST.value = document.FRM_PROD_VS.STXT_PART_NO_TEST.value;" strScript = strScript & "</script>" Page.RegisterClientScriptBlock("ClientScript", strScript) I have insert...more >>

Q: back and a button click does not fire page_load
Posted by JIM.H. at 4/6/2005 8:45:12 AM
Hello, I have two apsx pages, and I set a session variable in asp1 and click to a button to go to aspx2. In aspx2, I use this session variable in the query and show data on the datagrid. I do this in the page) load without any post back check. My problem is: each time I click button and go to...more >>

Controlling startposition mediaplayer
Posted by r.loupatty NO[at]SPAM miodevelopment.nl at 4/6/2005 8:22:58 AM
Does anyone know how to control windows mediaplayer? I would like to give the user the possibility to skip in the player by setting a new startposition. tia Richard...more >>

Magic Trick Datagrid Delete Row
Posted by Shawn at 4/6/2005 8:17:03 AM
I have found many cases in that after a row has been deleted from a datagrid using a linkbutton and then hit the browser refresh button the row previous to the origianal delete will as well be removed if there is one. I have attempted to track the refresh in a session variable, but in all ho...more >>

PDF to .tif conversion
Posted by Kevin Floyd via .NET 247 at 4/6/2005 8:12:36 AM
I am using the FDF Toolkit to create a pdf in asp.net. The pdf is text only and I would like to save it as a .tif file. Does anyone know an easy (or hard if necessary) way to do this? -------------------------------- From: Kevin Floyd ----------------------- Posted by a user from .NET 247 ...more >>

Proxy Authentication
Posted by Andrew at 4/6/2005 8:09:38 AM
Hi All In the .NET Framework is there any way to provide the proxy authentication the way internet explorer prompts. I mean when I access the net using internet explorer it asks for the username and password. I want that when I create a Web-Request it also prompts for the username and passw...more >>

Updating Datagrid Values
Posted by A P at 4/6/2005 7:50:34 AM
Hi! I'm a new user of VB.NET 2003 and still learning its feature, one of them is datagrid. I am using Access 2002 Database on my project and trying to update values of a table using datagrid with Edit,Update,Cancel Button. I have tried following the sample code on the MSDN library but Update c...more >>

end session when the browser window is closed.
Posted by sun at 4/6/2005 7:47:03 AM
I want to do clean up routine to my database when the browser is closed. I have my code in session-end - but it never fires when the browser closes. I cant do onbeforeunload as it will be fired each time when the browser posts back. Somehow I want to capture browser close event and fire s...more >>

RaisePostBackEvent Not Firing
Posted by Steve Guidos at 4/6/2005 7:45:06 AM
1) Start a new web application in Visual Studio 2) Drop a CheckBox onto the form and set its AutoPostBack to TRUE 3) In the codebehind, override the RaisePostBackEvent event with: protected override void RaisePostBackEvent( IPostBackEventHandler sourceControl, string eventArgument) { ...more >>

Windows 2003 server ASPNET user rights issue
Posted by RJN at 4/6/2005 7:24:23 AM
Hi The web application is running on the Windows 2003 server environment. The virtual directory is mapped to say "C:\Inetpub\wwwroot\MyApplication" directory. When we try to create a file and save it to the .\MyApplication directory, we get the folowing error Could not find a part of the p...more >>

unable to access the values of input elements created using javascript
Posted by Vikram at 4/6/2005 7:19:15 AM
I have added some input elements on a page using javascript at client side. when i submit the page, i am unable to access the values of input elements created using request.form. Are elements created using javascript are available at the server? if not how can i do the above thing so that t...more >>

XML Signature with WSE 1.0
Posted by ss at 4/6/2005 7:15:03 AM
task: On an asp-page a xml-document is created and signed with WSE 1.0. This xml-document will be returned as response to the client. problem: The certificate for signed is found in the CertificateStore, but the private key can't be accessed. Exception "at Microsoft.Web.Services.Security....more >>

Set width dynamically for textbox based on length
Posted by takilroy NO[at]SPAM yahoo.com at 4/6/2005 7:06:00 AM
Hi, I would like to set the width of a textbox from the server in an aspx form. I change the contents of the textbox from the server and would like to change the width accordingly. I know there is code out there to use creategraphics to do this, but it will not work for aspx files. It seems...more >>

Q: button_click event does not work
Posted by JIM.H. at 4/6/2005 6:55:07 AM
Hello, I created the following function by double clicking Button1: private void Button1_Click(object sender, System.EventArgs e) { Response.Write( "Button1_Click" ); } This does not print anything when I click Button1. What might be the problem? Thanks, Jim. ...more >>

best way to display data?
Posted by Rudy at 4/6/2005 6:43:03 AM
Hello all! I would like to take a row from a table and display this info in a nice layout. I tried the the reapeater, can't seemm to do too much with that. And I don't want a grid layout. I would like to lay out a bunch of lable controls, and have each value from each row(one at a time) bin...more >>

Client-Side Validation and Double-Click Problem
Posted by rmgalante NO[at]SPAM yahoo.com at 4/6/2005 6:40:44 AM
I have written an ASP.Net application that uses the standard client-side and server-side validation for various fields on the form. Some of the customers that use the form report symptoms that appear to be the result of double-clicking the submit button on the form. The form has three ASP:Butt...more >>

Generic/Adoptive User Interface Design
Posted by Stewart Rogers at 4/6/2005 6:33:04 AM
Hi all, I have been working on an ASP.NET application that is a kind of wizard ( a list of sequential pages ). We built that application for the CLIENT-A and it worked fine. After six months CLIENT-B came along and and requested the same application but with little bit different requirement...more >>

Can VS2003 and Visual Web Developer 2005 installed in the some machine?
Posted by ad at 4/6/2005 4:35:23 AM
Can VS2003 and Visual Web Developer 2005 installed in the some machine? There was VS2003 in my notebook, I install Visual Web Developer now. When run my web application in VS2003, the debug of VS2003 result in a operation error: w3wp.exe failed. How can I do? ...more >>

newbie question
Posted by Lisa Pearlson at 4/6/2005 4:22:14 AM
I have a bit of past ASP experience, little bit of COM knowledge, no DCOM or ActiveX and no .NET experience. Setting up IIS is challenge enough. Like everthing else, it works, but no sense of control or insight. Too much clutter for a newbie. I'm a PHP/Apache guy. Setting up Apache works out...more >>

Marquee from database
Posted by Ali at 4/6/2005 3:47:01 AM
I am retrieving News headlines and put it inside a marquee as hyperlinks. When the user clicks on the headline i want to display the news page with the specific news detail. the retrieving is fine but I don't know how can i put the news id , where to keep it,,,, to request it in the news pa...more >>

new Window Requests Login
Posted by Mahmoud Moussa via .NET 247 at 4/6/2005 3:18:33 AM
I do have a Strange Problem When I login to my Site and Do Some work .. When I Click a Button to open a new window the New Window Reuests me to relogin even when I'm Already logged on the Parent Any One Can Help me in this Co's I Do Need to fix this Problem I'll be Thankful ----------------...more >>

Undo formatting
Posted by tshad at 4/6/2005 3:15:42 AM
I have a number with commas that a user may put into our textbox. The problem is I can't use this in my Sql Statement without an error: For example, if my variable is 12,000.00 or $12,000.00, I can't use it in my where clause of my Sql Statement. I need to convert it to 12000.000 first. I...more >>

Multi Part Root Namespace causing 'could not load type' error
Posted by matthew_lancashire NO[at]SPAM hotmail.com at 4/6/2005 3:01:09 AM
I have successfully written a couple of Web services that work fine on my localhost so this is not a security issue. My problem only arises when I set the Root Namespace of a Web service to something along the lines of .... system.webservices.myservice When I do this and call the service via...more >>

Can we have CodeBehind file in another server or same machine but diffrent location or directory
Posted by chiranjiv choudhary via .NET 247 at 4/6/2005 2:57:03 AM
Can we have CodeBehind file in another server or same machine but diffrent location or directory -------------------------------- From: chiranjiv choudhary ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>8svNZUU0T0eArey2uATMWw==</Id>...more >>

ASP.net equivalent ?
Posted by TJS at 4/6/2005 2:38:29 AM
what would be the ASP.net equivalent of this ASP code ? for x = 1 to request.form.count() 'response.write(request.form.key(x) & " = ") response.write(request.form.item(x) & "<br>") next ...more >>

IHttpHandlerFactory registration
Posted by andreweastwell NO[at]SPAM hotmail.com at 4/6/2005 1:27:07 AM
ASP.Net experts : Fairly new to ASP.net, and I'm struggling to register a custom handler in the <httpHandlers> section of my application WebConfig file. At runtime I persistently get the 404 not found error. The syntax I'm using is : <httpHandlers> <add verb="GET" path="Pooled....more >>

merge .pdf files
Posted by krs at 4/6/2005 1:25:07 AM
Hi, I'm looking into merging 2 pdf files into 1 in asp.net using c#. I have found many third party components for doing this and they work well, I was just wondering is there an SDK from adobe that enables you to work directly with pdf with asp.net and c#? Many Thanks Kieran...more >>

Programmatically change iis rights
Posted by thibaut at 4/6/2005 1:02:18 AM
Hi, Is it possible to programmatically change iis rights on a file or a directory (allow write access on xml files, deny download for databases,...). Thanks for your help...more >>

Session data overwritten when using two browser instances (CTR+N)
Posted by Arnt O. Kvannefoss at 4/6/2005 12:00:00 AM
Hello, We have an asp.net application to manage events. Some users get their session values overwritten because they open a second instance of their browser with File > New > Window. These two instances will now share the session values. When they move to another event in the second instance ...more >>

Deploying an ASP.NET application using Copy Project
Posted by Johnny at 4/6/2005 12:00:00 AM
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well with FrontPage Server Extensions, but I don't manage to deploy the application to my web provider ht...more >>

Image Size
Posted by Jim via DotNetMonster.com at 4/6/2005 12:00:00 AM
Hi, I have the location of an image in the database and I'm displaying it with a repeater control. I'd like to add the width and height and I'm not sure what the best way to do it is. I could add the fields to the database and lookup the size and enter it. I know with .Net there's a way to fin...more >>

Check for numeric value in a textbox
Posted by Kiran at 4/6/2005 12:00:00 AM
Hi, How can I check whether the value entered in a textbox is numeric without doing a postback Kiran ...more >>


DevelopmentNow Blog