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 > april 2006 > threads for monday april 17

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

How can i make my http handler
Posted by Chintan at 4/17/2006 11:16:23 PM
Hi i want to make my own http handler can ne one help me or Guide how to do?? ...more >>


Newbie help!!!
Posted by MPotok NO[at]SPAM gmail.com at 4/17/2006 10:41:58 PM
Hi, I am reading a book on ASP.NET and the following code is from the book (Teach Yourself ASP.NET in 21 Days by Chris Payne). I have typed the code in notepad and I am having a problem with it that I hope someone can help. Basically there is a Submit button which is supposed to update an A...more >>

Hosting with 1&1
Posted by Carl Gilbert at 4/17/2006 10:06:44 PM
Hi I have a very simple web application which I have placed on my 1&1 (1and1) web space. I have placed my application in a folder called "tm" on the root of my web space. I have set the destination of one of my domains www.airbrushesonline.co.uk to the tm folder using the 1&1 control pane...more >>

how to create dnamic treeview in asp.net 2.0 bind with sql server 2005 table
Posted by das at 4/17/2006 9:44:27 PM
hi all, i want to create dynamic treeview in asp.net 2.0& bind with sqlserver2005 table. the depth can beanynumber, so that the end user can create any number of child nodes & bind with ss2k5 table plz help with any pointers or code snippet ...more >>

Custom Panel
Posted by CMM at 4/17/2006 8:56:36 PM
Can't figure this one out... seems like it should be a no-brainer. Is it possible to create a UserControl that can act as a container a la the Panel control?... not a "naming container" or anything fancy.... just a simple container. Basically I have a pretty custom table that I'd like to reuse...more >>

Where is the DefaultClientScript property in VS 2005
Posted by bnews987 at 4/17/2006 6:35:02 PM
In the beta for ASP 2.0, there was a property to change the default scripting language for a page (DefaultClientScript). I can not find it in the release. ANyone know what happened to it or how to set the default script without using the code behind page? Thanks your help!...more >>

using system.net.mail attachment is empty
Posted by theWizard1 at 4/17/2006 6:20:01 PM
The following sends my email, but the attachment is empty. The attachment should contain the data that is in the string that was created from the xmlReader. I have a stored procedure written using For XML explicit, and it returns an xml reader. Then the following: xmlRdr.MoveToConten...more >>

Replace /n with a <br> help please
Posted by CK at 4/17/2006 6:00:47 PM
Hi all, I have a textarea control. I am putting it's value in an html email. The problem is that the new lines are being ignored. I want to take the controls value and replace any newline carriage returns, with an html <br> tag. I tried the following function but it doesn't work. Does ...more >>



Login
Posted by VickZaro at 4/17/2006 5:37:47 PM
If someone is login, how can you avoid that the user open a second browser on the same site? ...more >>

Connection String
Posted by BobLaughland at 4/17/2006 5:30:02 PM
Hi, I am writing an ASP .NET 2.0 web site. I have the code below in the web.config file. <connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data Source=****;Initial Catalog=****;Persist Security Info=True;User ID=****;Password=****" provi...more >>

GridView borders in Firefox?
Posted by emde at 4/17/2006 4:39:28 PM
So, I am aware of the problem with how the gridview renders in firefox. I am unable to get those "light grey" gridlines in FF but they work fine in IE. In looking at the rendered html, it appears as if the CSS classes and styles are set at the TR (row) and not the TD (cell). Moving the styles to...more >>

debugging in VS2005 using breakpoints
Posted by Carlos at 4/17/2006 3:50:39 PM
Hi all, I am interested in debugging a web app using breakpoints, but the app does not stop at any breakpoint of my vb file. in my web.config file I do have: <compilation debug="true" strict="false" explicit="true"/> Can somebody help? Thanks, Carlos ...more >>

meta tags and forms authentication
Posted by psb at 4/17/2006 3:34:16 PM
this may seem like a gimme... If all of my pages are locked behind username/password -forms authentication, then search engines cannot index my site, right? could a http handler be made to listen for robots? -psb ...more >>

I need help
Posted by Chris at 4/17/2006 3:34:01 PM
I don't know if it's me or .net is just getting more complicated. I am trying to call a sp and pass a parameter and return the data using VB2005. First I couldn't find any docs with samples. Second I tryed this <%@ WebService Language="VB" Class="GetList" %> Imports System.Web Imports Syste...more >>

Gridview + ObjectDatasource + UpdateMethod = Input string was not in a correct format
Posted by M C at 4/17/2006 1:49:03 PM
Hi, This is a problem that has been haunting me for days and I've come to a complete dead-end. I'm using a objectdatasource to select and update a gridview control. Populating with select works fine but updating gives the "input string... " error. Any suggestions or links to a working sample....more >>

Object conversion error on insert with FormView and ObjectDataSour
Posted by Dabbler at 4/17/2006 1:40:03 PM
I'm getting the following error when I try and insert a row using FormView, ObjectDataSource and stored procedure. The form has 40+ columns on it and I'm not sure how to diagnose where the problem is, the data object class, the business class etc? Object of type 'System.Int32' cannot be co...more >>

How to get image in header of Gridview
Posted by lanem at 4/17/2006 1:32:16 PM
I want an image and text in the column header in my GridView. Does anyone know how to do that? Thanks....more >>

Page.LoadControl
Posted by Sekhar at 4/17/2006 1:32:09 PM
Hi all I have one page WebForm1.aspx and one user control UserControl.ascx My WebForm1 has a Place holder and dropdownlist with autopostback property set to true. The user control also has a dropdownlist with autopostback property to true One selecting Item1 from dropdownlist on Webform1 I...more >>

Mix and match languages in code behind.
Posted by UJ at 4/17/2006 1:13:40 PM
I have a web site that is all written in ASP.Net w/ VB.Net as the code behind. Since it was first written we have started writing things in C#. Is there any way I can change just some of the pages over to C#? I'd like to go in and when I'm writing new pages they would be in C# or if I was rewr...more >>

ajax example prob
Posted by dileep at 4/17/2006 12:58:05 PM
I am new to Ajax and i found some good tutorials from the net.but when downloaded the basic sample examples and try to execute i get the erro "specified file not found", even though the files are placed in th same folder itself.i checked the whole code again and again but coul not do anything....more >>

ASP.NET 2 Compile DLLs
Posted by Evan Camilleri at 4/17/2006 12:21:37 PM
How can I set VS2005 to compile DLLs to a bin directory? Sometimes there is something nice and it is removed.... do not know why?!!?! Evan ...more >>

How To? Programmatically Set Theme For Master Page
Posted by Joey at 4/17/2006 12:06:12 PM
Hello, I have tried to programmatically set the theme for my master page by putting code in a "Page_PreInit" fuction in the master page's code behind. However, when I set a breakpoint there and run the app, the breakpoint is never hit. Of course my theme is not being applied. The above proc...more >>

Syntax Problem with If statement
Posted by Brad Baker at 4/17/2006 11:56:07 AM
I am trying to write a simple ASP.net/C# page which allows users to select some values and produce a report based on a SQL query. I have a self posting dropdown form which allows users to select the type of report to generate: Select the type of report to display: <form runat="server"> <...more >>

Themes
Posted by Stephen Costanzo at 4/17/2006 11:56:01 AM
I understand how to build the themes and apply them to the pages, however I am wondering if it is possible to enumerate the themes for a drop-down list so the user can pick their theme. I know that I could hard-code the values but that is limiting if I add more themes. The other option would b...more >>

Upload not working in FireFox
Posted by Velvet at 4/17/2006 10:52:45 AM
I'm using the standard upload component in ASP.NET 1.1 to allow authors to upload manuscripts to our server. This is working fine except for some people using FireFox. The problem is, the upload is working for MY fireFox browser so I'm unable to troubleshoot and step through the code to se...more >>

page format lost when linking a style sheet
Posted by chitrasai NO[at]SPAM hotmail.com at 4/17/2006 10:52:04 AM
Hi Could someone tell me why the page looses its format after i link an external stylesheet? If you see below i have an external stylesheet. When i do this the table structure is totally lost and instead it looks to have widenened. when i remove the link tag the original format is restored....more >>

Idea gathering, suggestions welcome
Posted by Ben R. at 4/17/2006 10:02:41 AM
Hi all, I'm running an asp.net website that allows its users to log events, say social gathewrings (with event date, time, address, descrption, etc) and allows people to post comments on each posting. I use a datagrid with 2 cells to display all recent events chronologically and use nested ...more >>

bin folder?
Posted by Ben R. at 4/17/2006 9:52:03 AM
Microsoft documentation states: Bin Folder You can store compiled assemblies in the Bin folder, and other code anywhere in the Web application (such as code for pages) automatically references it. A typical example is that you have the compiled code for a custom class. You can copy the compi...more >>

access members in the Master page class
Posted by Bob at 4/17/2006 9:50:58 AM
In ASP.NET 1.1, I have a base page for all my pages in an application. The base page contains some common properties that every page needs, the code behind file of every page looks like this: public class Home : MyBasePage { ..... } and in it I can simply refer them as base.MyProperty (...more >>

Need help in programmatically accessing the data returned by data access method...
Posted by Siva at 4/17/2006 9:28:36 AM
Hi, In my ASP.Net 2.0 app, I have a gridview whose data is being populated using an object data source which retrieves data from a data access layer. The Select method returns a static list of orders. The order contains a bunch of data retrieved from SQL server. I do display only a part of t...more >>

idatareader?
Posted by js at 4/17/2006 9:11:57 AM
Hi, I want to debug the return idatareader, how to print out some fields value? many thanks. ...more >>

2.0 woes
Posted by William Sullivan at 4/17/2006 8:07:02 AM
I'm trying, I really am. But the changes made in 2.0 are breaking me. Apparently all my app_code class methods have to be public. Internal methods can't be accessed by code on a page. Nope, not possible. I mark a method in a helper class as internal and it becomes inaccessible to the code...more >>

ObjectDataSource: UpdateParameters ignored when specifying DataObjectTypeName?
Posted by Phillip Ian at 4/17/2006 6:58:33 AM
I've got the following: <asp:ObjectDataSource ID="lu" runat="server" TypeName="cFactory" SelectMethod="GetLookup" UpdateMethod="UpdateLookup" DataObjectTypeName="cLookupItem"> <SelectParameters> <asp:QueryStringParameter Name="which" QueryStringField="lookup" /> </SelectPara...more >>

ASP Net in browser
Posted by jayender.vs NO[at]SPAM gmail.com at 4/17/2006 2:42:21 AM
I have done a project ,its working well .. now i need to run the project in the browser like : http://localhost/WebSite10/Default.aspx . Its not working but if i run it from project the url is like this : http://localhost:4687/WebSite10/Default.aspx . but i need to run it from the browser like h...more >>

Simple insert with SqlDataSource doesn't work - why?
Posted by staeri NO[at]SPAM gmail.com at 4/17/2006 1:26:22 AM
I want to insert values from the querystring but nothing happens with this code (the sp works great from the Query Analyzer): <form id="form1" runat="server"> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"InsertCommand="spS...more >>

Best practice for user/customer repository
Posted by Shlomi at 4/17/2006 1:12:22 AM
Hi, Until now I used the Session("x")="y" method for saving user or customer info throw web pages (differently for each session) like that: Session("UserName")="Bob" My questions: ========== In Asp.net 1, is there another way, cleaner and structured for doing the same thing? Something...more >>

Bypassing authentication
Posted by John at 4/17/2006 12:00:00 AM
Hi I have established form authentication so every page on the site send the access to a specific login page. I need however to bypass the authentication for my web service page to allow it to be accessed without login. How can I selectively exclude a page from form authentication? Thank...more >>

Generating random string
Posted by John at 4/17/2006 12:00:00 AM
Hi I need to generate a string of six random characters to act as the first password. Is there an example of how to do this somewhere? Thanks Regards ...more >>

Strange problem on database update
Posted by Rabbit at 4/17/2006 12:00:00 AM
Does anyone have this problem before, I was developing asp.net 2.0 using VS 2005, everything works fine, I had used "Publish Web Site" to deploy my app. on local machine's IIS, works as I expected too. But today, when I use same method to deploy my solution on my IIS, while I do the testing...more >>

Autodownload
Posted by Prakash at 4/17/2006 12:00:00 AM
Hello all, In Intranet, i want to make file download without User Interaction(Dont want the Dialog which ask Open and save) and want to save that file to a specified location in clients system. Thanks in Advance, Prakash.V ...more >>

Not sure about the change password control
Posted by John at 4/17/2006 12:00:00 AM
Hi I am using the Change Password control which works fine and changes the password. I have two problems; 1. After password has been changed, pressing continue goes no where. How can I tell the control to go to page x at press of continue? 2. How can I tell the control to go to page y o...more >>

HyperlinkColumn = Email!
Posted by Adam J Knight at 4/17/2006 12:00:00 AM
Hi all, I am trying to create an email link using the HyperLinkColumn in a DataGrid. Is their anyway i can do this using a DataBinding expression in the .aspx? Or will i have to do it in the CodeBehind? So far i have: <asp:HyperLinkColumn HeaderText="Email:" DataTextField="Email" DataNa...more >>


DevelopmentNow Blog