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 > october 2006 > threads for tuesday october 24

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

user control and databinding expression
Posted by rodchar at 10/24/2006 11:01:02 PM
hey all, for simplicity's sake i have a single textbox inside a user control. once i drag that user control onto my page is there a way to attach a binding expression to it at runtime? thanks, rodchar...more >>


Press enter fire specific button in form in ASP.Net 2
Posted by David Lozzi at 10/24/2006 10:39:26 PM
Howdy, I'm using asp.net 2.0 and am trying to get one text box on the page, after the user presses enter, to "click" a specific button. I copied the javascript I used for a .net 1.1 web app I did a while ago but it doesn't appear to work with .net 2.0? Below is my script. Any ideas? <scr...more >>

Effective State Management for fairly large data (ASP.NET 2.0)
Posted by russzee at 10/24/2006 10:30:38 PM
Hello, I have an ASP.NET 2.0 application which fetches substantial data (a report) from sql server and saves that to a datatable. My application then uses the information from that datatable on almost every page. Alot of my pages display data that are just subsets of this big table. What'...more >>

Preventing Request.Form abuse
Posted by Mark Rae at 10/24/2006 9:16:51 PM
Hi, See the previous thread Request.Form abuse in this newsgroup... I'm looking for a simple and efficient way to prevent people hijacking the <form> tags on my websites and using them to send spam. I would imagine they're using the HttpWebRequest method for this. Essentially, it would ...more >>

Payment form
Posted by Badis at 10/24/2006 7:39:01 PM
Hi, I would like know how to create a form that accept and process payment from e.g "credit card". how can do it!!? how this form will process the payment made from a customer account to supplier account!!!?do I need some kind of software to link me to both banks!!!!? Cheers. ...more >>

Extract Data from HTML source
Posted by Leon at 10/24/2006 6:53:53 PM
Please help, I'm trying to grab some data from some html source. I'm using VB.NET (2003). Below is a snippet of the html source: <div class="Individualdetails" id="Individual">Mark Long</p><p> 8823 Big Mark Drive<br/>Showtown, AL 12345</p><p>Phone: (205) 555-5000<br/>Fax: (205) 555-5555</p...more >>

How can I display Weekday? Newbie - HELP!!
Posted by Stephen at 10/24/2006 6:53:21 PM
Hi I need some help! I hope I'm at the right group. I have downloaded "Visual Web Developer 2005 Express Edition" I have just started my first Master Page. I wanted to add a "current date" WITH "weekday" - like this; Tuesday, 24 October 2006 to be displayed to users who visit ...more >>

2-way Databinding to a DataSet
Posted by John Rusk at 10/24/2006 6:53:02 PM
Hi, Does the databinding support in ASP.NET 2.0 support two way databinding to datasets? I have a dataset, which is populated with data. I just want to bind the UI to it. I'm struggling to see any way to do this, and I see this post, which seems to suggest that it cannot be done (unles...more >>



Read contents of a web page
Posted by Kuldeep at 10/24/2006 5:20:02 PM
Hi All, I am trying to read the contents of a page through its URL. My code snippet is as follows: public void mtdGetPageDataHWR() { HttpWebRequest objRequ = (HttpWebRequest)WebRequest.Create("http://www.microsoft.com"); HttpWebResponse objResp = (HttpWebResponse)objRequ.GetResponse(); ...more >>

Error when changing data value in strongly typed dataset table?
Posted by Keithb at 10/24/2006 5:11:07 PM
I am trying to change the value of a field in a table that is a member of strongly typed DataSet. The code: foreach (DataRow rw in dt.Rows) { rw.ItemArray[16] = (string)c3Text; } does not change the content of the item. Using debugging tools to look at rw, I see this message where the...more >>

meta tags dynamically
Posted by Dariusz Tomon at 10/24/2006 4:19:21 PM
Hello How can I build meta tags dynamically? Please provide an example. Thank you Dariusz Tomon ...more >>

meta name DESCRIPTION dynamically
Posted by Dariusz Tomon at 10/24/2006 4:04:08 PM
Hello How can I build meta name DESCRIPTION dynamically? I need an example. Best Regards Dariusz Tomon ...more >>

Paths, relative, virtual etc
Posted by JJ at 10/24/2006 2:53:13 PM
I'm confused about paths. I have a functionn that uses the mappath method, which I think requires a virtual path (is that the same as a relative path?). But this doesn't always work as the path can take the form of the following: 1. /directory/images/xyz.gif (works fine) 2. http://localh...more >>

DataSet's GetChanges() w/ a webapp working in disconnected mode
Posted by matt NO[at]SPAM mailinator.com at 10/24/2006 2:40:57 PM
hello, i have a web app that allows users to query our oracle db and produce a dataset of report data. they then have the option to serialize this data and store it in the database. later, then can re-run the report and get fresh data. now, they would like to be able to compare the fresh data...more >>

Accessing a network resource/file fails thru asp.net and interop dll
Posted by quintesv via DotNetMonster.com at 10/24/2006 2:23:24 PM
Hi all, I have written a class to set the current principal identity of a asp.net 1.1 vs 2003 project to a domain user by means of LOGONUSER, which effectively lets me access files on another computer, due to the fact that the asp.net pages run under the ASPnet account. This basically means th...more >>

Newbie Question!
Posted by Israel Richner at 10/24/2006 2:14:23 PM
How do I write information to a specific location on a web page from the code behind page? For instance I have 2 controls on my web form, in the code behind page I query a database and read the results with a data reader. While reading the records I format it into an html string like "<table>...more >>

HTTP/1.1 500 Internal Server Error
Posted by Paul at 10/24/2006 2:08:01 PM
Hi just wondering if anyone has run into this, I get the error when I try to create a new web application using vs2003. thanks. -- Paul G Software engineer....more >>

master details
Posted by DesCF at 10/24/2006 1:24:22 PM
I have recently downloaded a copy of VWD 2005 Express. What I am wondering is, is it possible to create a master / detail view of data (orders and order details for example) that is fully editable in exactly the same way as in a form / subform arrangement in a MS Access database ? -...more >>

DataList1_ItemCommand event arguments
Posted by rodchar at 10/24/2006 1:09:02 PM
hey all, if i'm handling this event which accepts the source As Object what's the difference between ctyping the source and just using me.DataList? thanks, rodchar...more >>

Atlas update panel
Posted by simonZ at 10/24/2006 11:44:49 AM
I have atlas update panel which works perfect for couple of hours. Then it stops render part of page when trigger fires submit. Just render nothing. And that happens on all of my pages, where I use atlas. What that could be? I tried to create and define triggers in page_init event but still t...more >>

Ms paint in ,NET
Posted by ks at 10/24/2006 11:37:58 AM
hi groups is it possible to incorporate Ms paint type controls in winforms without exclusively writing code to use pen and brush thanks in advance regards ks ...more >>

tab strips in ASP.NET 2.0?
Posted by george at 10/24/2006 11:20:11 AM
Hi all - I found in .NET 2.0 Win Forms tab strips are very convenient & useful, but I dont see the features in ASP.NET 2.0. any pointers or alternativs? thanks in advance! george ...more >>

Session timeout in ASP.NET 2.0
Posted by tirathankarg NO[at]SPAM rediffmail.com at 10/24/2006 10:40:02 AM
hi, I am storing some values in Session object. I am accessing these values as Session["var"]. However there are times when i get error "Object reference not set". This is because session has timed out and i try to access some value stored in this object. How can I avoid this? Isnt there any wa...more >>

Add Parameters to a Smart Client (.exe)
Posted by UnglueD at 10/24/2006 10:01:08 AM
Hello. I have an application that reads orders from a database and calls a webservice to put them into an ERP system. Currently the application reads all orders but I wish to give it the ability to only load a certain type of orders. I was thinking that I could call the application wit...more >>

Simple Fomatting question. Date to String and back.
Posted by Phillip Vong at 10/24/2006 9:34:12 AM
I have a simple Formview and in the InsertMode I have a calendar and a textbox. All I want is for people to click on a date and the date is populated to the textbox. Here is my simple code and my problem is converting the DateTxtBox to a date format. Can someone show me how to do this sim...more >>

Failed to enable constraints... when there are none!
Posted by Jeff at 10/24/2006 9:27:41 AM
I've been having this problem for weeks and its been stumping me. By the way, Im working with MS SQL 2000, ASP.NET2 and Visual Studio 2005. I am recieving an error, when executing a SELECT statement from an ObjectDataSource thorugh a strongly typed DataSet DAL: Failed to enable constraints. On...more >>

Reading file from Client instead of Server
Posted by SAL at 10/24/2006 9:25:02 AM
Hello, Is it possible to read a CSV from the Client, and bind my Datagrid to the data in the CSV file without uploading the file to the Server first? I have tried and in Debug mode on my workstation it works fine, but when I publish the page on our DEV server it doesn't fine the CSV file f...more >>

User Control Data binding
Posted by Maury at 10/24/2006 9:11:25 AM
Hello, I created two user control, the first manage an object of mine, the second is a DataList in which each Item is the first control...when I click the 'save' button in the first control, the object is saved with new values, but in the list is displayed the old value (until I postBack again...more >>

Manually sorting a gridview, am I plain stupid?
Posted by kurt sune at 10/24/2006 8:40:31 AM
I have a an aspx page with a gridview. The gridview is data bound to a generic list of custom classes. The gridview's DataSource is thus not set. Now I want to add sorting to it. So I create an eventhandler thus: Protected Sub grdResult_Sorting(ByVal sender As Object, ByVal e As S...more >>

DataGrid SortCommand Will Not Fire
Posted by Joey at 10/24/2006 8:26:32 AM
I have an asp.net 1.1 C# web application with a datagrid. I set the datagrid's "AllowSorting" property to "True". Then I created a sort function for it by selecting the datagrid in the designer, then the Event button in the Properties window, and then double clicking in the "SortCommand" box. Th...more >>

Changing an ASPX page without recompiling the web app
Posted by paul.gibson NO[at]SPAM i-stat.com at 10/24/2006 8:12:37 AM
I have a released web app where I have found a bug that can be fixed simply by moving a JavaScript <script> block from the bottom of an ASPX page to the top. Is it a safe/accepted practice to implement a fix by replacing the ASPX file with a copy that is identical except for the physical placem...more >>

Set Asp.Net web control ID
Posted by shapper at 10/24/2006 7:49:24 AM
Hello, Can someone tell me where can I find a list of the characters which I can use in a web control ID? Can I for example do: MyLabel.ID = "Namespace#Control_Type" Thanks, Miguel ...more >>

GridView - ObjectDataSource - Data Binding
Posted by Philip at 10/24/2006 7:47:02 AM
I can use a GridView and ObjectDataSource to bind my data using "Eval" expressions ... provided the GridView and related Column TemplateFields are defined as inline HTML. I prefer to programmatically create the GridView Column/ TemplateField definitions at runtime.... because I do not know ...more >>

Image Not Refresh
Posted by MJ at 10/24/2006 7:27:03 AM
Hi, I have problem with refresh imagen in client. After save a new imagen choice for user this is not refresh in the screen, but file and url is correct. Why happen problem. Thank for your help. Chrees. MJ....more >>

System.Web.StaticFileHandler has a limit?
Posted by the friendly display name at 10/24/2006 6:27:01 AM
Hi I tried to secure non .aspx files from unauthorized downloading with the common method: Assign the file extension of the to be secured files in IIS to aspnet_isapi.dll and map the extension in the web.config file to the System.Web.StaticFileHandler. It works, with the exception of one...more >>

AD groups based authorization
Posted by Tomasz at 10/24/2006 6:15:17 AM
Hello I would like to you use a groups based authorization, but in a little different way. So i want to have two AD groups - one for read access and second for write access. Then i want to check if user which is running my web app belongs to read group. If yes, then web application is hiding ...more >>

Read the content of a saved Outlook message...
Posted by Ryo at 10/24/2006 5:18:01 AM
Hello ! I have some saved Outlook message (.msg) and I want to read the subject, the body and the attachments of them for indexation; How to retrieve these informations ? Thanks....more >>

Performance issue when storing large dataset in Session variable
Posted by None at 10/24/2006 4:31:03 AM
Hi, I have developed webshop application using asp.net 1.1. I'm using DataGrid in one of the pages of my site. During the page load the DataGrid will be binded by around 7500 products(rows). At the same time i'm storing the DataSet object in the Session Variable for later refinement. I'm...more >>

Connecting to SQL 2005 from .Net 1.1
Posted by robin9876 NO[at]SPAM hotmail.com at 10/24/2006 3:35:54 AM
On server that is hosting an Asp.Net v1.1 application, are there any additional components/configuration required to allow it to connect to a database that is on a SQL 2005 server that has the database set as compatibility level 90 (2005)? ...more >>

directory gridview
Posted by JP.Gantlin at 10/24/2006 3:05:47 AM
Hi I wanna use the file sytem thingy to tell me all the photos in a folder. I wanna bind that to a datagrid, plus join that to a database that has the info about each of the photos. i need help. That's where you come in. ...more >>

Icons VS 2003
Posted by NH at 10/24/2006 2:40:02 AM
I am trying to add an icon to the URL using VS 2003. Its quite easy to do in VS 2005 with this line of code in the <HEAD> section of the markup... <link rel="shortcut icon" href="icoMRF3.ico" type="image/x-icon"> But this doesnt work in VS 2003. Whats the equivalent code for 2003?...more >>

parameters and databinding (gridview)
Posted by tarscher NO[at]SPAM gmail.com at 10/24/2006 2:14:02 AM
Hi all, I have a DataSource linked to a gridview and have delete functionality on the gridview The objectdatasource looks like this: <asp:ObjectDataSource ID="TestsObjectDataSource" runat="server" DeleteMethod="DeleteTest" SelectMethod="GetAllTests" TypeName="DaVinci.Cont...more >>

Using database field as link
Posted by robert.dondo NO[at]SPAM gmail.com at 10/24/2006 12:08:06 AM
I have database that has one table with 2 columns ie Name and Link. I have a page that links to the dynamic page using a query string. The results of the query are displayed on a datagrid. QUESTION: How do i make the text in the 'Link' Column a live link that users can click? ...more >>


DevelopmentNow Blog