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 > november 2007 > threads for thursday november 29

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

Is any way to palce a control(button/label) at a location on webPage in runtime??
Posted by chandan at 11/29/2007 10:51:53 PM
Hi, Is any way to palce a control(button/label) at a location on webPage in runtime?? In page_load envet I am adding a button on the page in the contol collection of a panel but not able to specify the location of the button since button controls did not have location property in web. I am...more >>


Getting the id generated by SQL Server for a new record
Posted by Nathan Sokalski at 11/29/2007 10:42:18 PM
I am using ASP.NET 2.0 to add records to a database table in an SQL Server database. The id field is automatically created when a record is added, and I would like to be able to know what value was assigned to the id field for use in my ASP.NET application. Is there a way to find out what valu...more >>

Attributes.Add querystring
Posted by Tom at 11/29/2007 9:08:51 PM
Trying to build a querystring using Attributes.Add: return_ok.Attributes.Add("value", "http://mydomain.com/finish.aspx?finish=324234" + @"&email=raerwe@fred.com" + @"&verify=32423dasdf3"); Renders this: <input name="return_ok" type="hidden" id="return_ok" value="http://mydomain.com/fini...more >>

AutoCompleteExtender won't work when receiving list from DB
Posted by rote at 11/29/2007 6:19:14 PM
When i type in a word the webservice doesn't retrieve anyhthing its just blank any ideas what 'm doing wrong? My Snippet code below. In my store proc i have like below : select firstname from Employee where firstname like @term+'%' and when i do sp_GetEmployeeByName 'somefirstname ' I r...more >>

Help for a special editor
Posted by Fransis il Mulo at 11/29/2007 6:03:00 PM
I need a textbox where I can insert special text that we can call TAG. For example <<CustomerID>>. Something like Word's PrintMerge fields. I think I need to use javascript to obtain similar behavior, for example I can insert or delete entire TAG but not a part of the tag... Any hints? Thank...more >>

AJAX Toolkit (Tab Panel Height)
Posted by NvrBst at 11/29/2007 4:38:25 PM
Anyone know how to force the Tab Panel to the remaining height of the page? "<cc1:TabPanel ...>" has a height option but only accepts pixels. My page goes <body><form ...><div><cc1:TabContainer ...><cc1:TabPanel ...> I tried playing with the div / TabContainer / TabPanel (height="100%" a...more >>

Simplistic URL Rewriting
Posted by Smithers at 11/29/2007 4:37:31 PM
Is there some way to implement a simplistic version of URL rewriting so that I don't have to do it for an entire Web site? I currently maintain a site with URL to a page that looks like this: http://www.MySite.com/udx/UX01.aspx?pageid=199 I would like to be able to tell people over the phon...more >>

Error downloading?
Posted by Paulo at 11/29/2007 3:39:23 PM
Hi, after generating a text file on server and showing the path on a hyperlink component to user download the file, shows me the error below: "There is no build provider registered for the extension '.rem'. You can register one in the <compilation><buildProviders> section in machine.config ...more >>



Subclassing Page
Posted by Rotsey at 11/29/2007 2:55:44 PM
Hi, I have created class that subclass the Page class. The problem is that it calls my OnInit methd ok and creates the HTML but the Page_load of my webpage that inherits the base class never gets called. I have put a breakpoint on the OnInit for subclass and at the Page_Load. The breakp...more >>

ASP.NET Account and ASP.NET Membership
Posted by Paul at 11/29/2007 1:53:03 PM
Hello All, I am having trouble with ASP,NET Membership. The membership account is not being created in the App_Code folder as it should. It has been suggested to me that perhaps this is because the ASP.NET account does not have create permission. What is the ASP.NET account? How do I find o...more >>

Visual Studio
Posted by shapper at 11/29/2007 1:52:26 PM
Hello, Does anyone knows what is the difference between Microsoft Visual Studio 2008 Team Foundation Server and Microsoft Visual Studio 2008 Professional? Thanks, Miguel...more >>

Setting up multiple IPs
Posted by Tina at 11/29/2007 1:51:39 PM
I know how to specify a separate IP in IIS but how to I specify it at the server2003 level? Although I added another web site in IIS with an (internal) IP of 192.168.22.23, it doesn't work. And when I do an IPConfig at the command prompt it doesnt show. Thanks, T ...more >>

returning x chars of Eval("..")
Posted by Kevin Blount at 11/29/2007 1:50:33 PM
I'm putting a radG:GridTemplateColumn together (which is probably irelevant), and within it I'm using a Label, as so: <asp:Label ID="defaultDescription" runat="server" Text='<%# Eval("description") %>'></asp:Label> Fo this Label, I'd like to only show the first 50 chars of the "description"...more >>

descript string using classic asp ?
Posted by bitshift at 11/29/2007 1:36:10 PM
Im about to write some asp.net code that needs to communicate with a classic (old) asp page on a remote server. I have two choices, either do a https post with form data, or encrypt a querystring before letting the user click on it. For the encrypted querystring, the classic asp page would ...more >>

Error BC30506 trying to add even for a button
Posted by Dennis at 11/29/2007 1:23:35 PM
I have a page in ASP.NET 2.0. I add a button in design view and the page runs fine. I then double-click the button to create the click method in the code. Then when I run the page I get the error "error BC30506: Handles clause requires a WithEvents variable defined in the containing type or o...more >>

Wierd paging issues with Gridview
Posted by Cirene at 11/29/2007 12:59:40 PM
I'm having some wierd paging issues with a gridview. Here it is: http://www.gulfstreamonline.com/NonAuctions.aspx Page 2 is empty Page 3-5 have 1 item each Any ideas why? ...more >>

Is this possible in DetailsView?
Posted by B. Chernick at 11/29/2007 12:35:01 PM
Ok. Webforms project/VB/ASP.net 2.0 I'm trying to whip up a quickie demo and my basic programming model is to display multiple records in a gridview and use that to select individual records for editing in a DetailsView. I'm trying to keep this as simple as possible. So I had this 'brigh...more >>

asp.net or ajax based rech editor for websites.
Posted by Andy B at 11/29/2007 12:11:30 PM
Is there anywhere I can get a free and good reliable rich edit control for websites? ...more >>

Maintaining Control Size on Different Resolutions
Posted by Smithers at 11/29/2007 11:59:20 AM
I would like to have a Web page that displays its control sizes consistently regardless of the screen resolution. Specifically, I don't want for the controls to appear tiny on screen when I open the page on a high res monitor. How can I accomplish this? Thanks! ...more >>

Visual Studio 2003 - Developing on Remote Machine
Posted by Chris Marsh at 11/29/2007 11:47:28 AM
All I've been asked run a VM on my development machine, with Windows Server 2003 installed. I've also been asked to then develop against this environment from the host machine, using Visual Studio 2003. Questions: 1. Is it even possible to use VS 2003 to develop when all files and IIS a...more >>

Programatically altering text before rendering
Posted by James R. Davis at 11/29/2007 11:24:42 AM
A complete newbie here (to ASP.NET) though lots of years of ASP programming. Still, some things are not yet very obvious to me. I have a SQL table that includes a TEXT field that often exceeds 20,000 bytes in size. Each such field contains an HTML page that I want to render for my users via a...more >>

Problem with FileStream - FileNotFoundException
Posted by Radek at 11/29/2007 11:19:45 AM
Hi, I have the following problem with FileStream. In this line: FileStream file = new FileStream(filePath, FileMode.Append); there is an exception FileNotFoundException. But for sure path and file name (which are both concatenated to filePath) is correct and leads to the existing director...more >>

splitting strings
Posted by rodchar at 11/29/2007 11:07:01 AM
hey all, i have the following string value: xx__field_name__0__0 is it possible to split the string using the double underscores? thanks, rodchar...more >>

How Can I retrieve Column/Schema Information From ObjectDataSource
Posted by Axel Dahmen at 11/29/2007 11:00:45 AM
Hi, I'd like to retrieve and step through an ObjectDataSource's columns to be able to manually add BoundFields to a GridView control. I don't know how to do this other than to manually call the ObjectDataSource's Select() method. But this also retrieves all the data, which I don't want to g...more >>

Adding buttons dynamically to a form
Posted by Paddy at 11/29/2007 10:29:08 AM
The problem I am facing is as follows: I am populating an HTML table on my webpage with rows of data from a database. The rows may be sometimes 10 and sometimes say,3. I have two buttons on that page "Next" and "Previous" which I want displayed just a couple of lines below the table dynamically....more >>

RegisterStartupScript() on Page_Unload
Posted by Amir Tohidi at 11/29/2007 8:42:01 AM
Hi I am trying to inject a piece of JavaScript into my pages (using the MasterPage). I need to send the session time out value to the client (the code is below). Whilst I can step into the Page_Unload() method and see the script get registered, I can not see the script in the pages sourc...more >>

Asp.Net session vs. Database Queries.
Posted by DNB at 11/29/2007 8:36:05 AM
I did post this message in C# group also... I would like to know what you guys think is the best way to access data: Asp.Net session vs. Database Queries. In our application we are using asp.net tree view to display hierarchical data and when user clicks on particular node it brings up tota...more >>

sql Views
Posted by Lamis at 11/29/2007 7:32:01 AM
Hi, I have a few Views in my sql 2005 database that I need to use in my .Net 2.0 C# application. I know how to call procedures but how do I call Views??? Thanks for helping -- LZ...more >>

Address Content Page Controls from Master
Posted by Rbrt at 11/29/2007 6:45:00 AM
There is a lot of good material related to using Master Pages for formatting controls and putting common design elements on multiple pages. I have VB.NET code that is common to all of my pages for doing things like rendering controls, making database connections, instantiating custom classe...more >>

Paging data results??
Posted by SAL at 11/29/2007 6:43:02 AM
How do I create paging in an ASP.net/C# application that has HTML tables on it? Server side scripting calls C# functions that populate the HTML cells for those tables. Basically, the page is setup with one primary table that contains 3 tables with in it. The primary table will group the d...more >>

Replacing VS .NET's SQL Server Express Edition Integration
Posted by Scott M. at 11/29/2007 12:15:44 AM
I've seen many posts and ready articles discussing how changing the membership & roles "provider" in VS .NET is easy, but have yet to see instructions on how to do it. If I already have SQL Server 2000 on a machine and didn't install SQL Server 2005 Express with my VS .NET installation, how...more >>


DevelopmentNow Blog