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 > february 2008 > threads for wednesday february 27

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

Creating Menus in Asp.net usin g Javascript or CSS
Posted by dilipv at 2/27/2008 11:53:56 PM
hi there, can one one help me to reply how to create dynamic menu in asp.net as i am creating website. so i need to add menu's like "Home", Contact us, about us etc. i am using asp.net 2.0.can anyone give the clue of creating such menu. Any reply or suggestion is most welcome Thank you J...more >>


Best Jacob & Co. Replica Watches | Fake Watch
Posted by vehicletracking@21cn.com at 2/27/2008 11:17:26 PM
Best Jacob & Co. Replica Watches | Fake Watch http://www.replica-watch-shopping.com Since 2000 We are do online replcia watches busienss from now on and we have many cusotmers from USA, Europe and other country from India. buying replica watches will save your lots of money and get same as 100...more >>

Strange Update Panel Error in Resource File
Posted by John Kotuby at 2/27/2008 10:08:59 PM
Hi all, I have successfully created a well functioning stand-alone ASPX page written in VB using VS 2008 and the 3.5 framework. It uses an UpdatePanel with 5 controls inside the ContentTemplate and works as expected. However. when I place essentailly the same code in the Content area of a ...more >>

ASP/ASP.NET: notifying RSS aggregators programmatically
Posted by Ken Fine at 2/27/2008 8:30:13 PM
I understand there are major RSS aggregators that accept pings of new available content using some XML mechanism/standard. Can someone advise me briefly what that standard is and by what means I could build programming into my custom content management systems to ping these services automat...more >>

ASP/ASP.NET page that reacts a special way to items coming from a particular subdomain (programmatically testing subdomain?)
Posted by Ken Fine at 2/27/2008 7:13:21 PM
Please help me think through this one. 1) I have DNS and IIS set up on my server. 2) I've written ASP and ASP.NET webpages that behave in certain ways when a variable is set via querystring or in code. They render as "mobile-optimized" pages when they receive the right params via QS. 3) I'v...more >>

Register Javascript code.
Posted by shapper at 2/27/2008 6:31:19 PM
Hello, I am developing a class library which includes a class named "Base". This class has a method where I want add references to Javascript Files and register Javascript Code Blocks to the page where I will use my class library. I want the javascript code to be also available when worki...more >>

Handling events triggered by dynamically created controls
Posted by Nathan Sokalski at 2/27/2008 5:52:28 PM
I have a series of LinkButtons that I need to be able to handle the postback events for. The controls are created dynamically, and how many there will be will vary. I was previously told to create them in the Page's Init event and to make sure the same ID is used. Here are the problems I am ha...more >>

Unable to cast object of type 'ASP.masterpage_master' to type 'MasterPage
Posted by GaryDean at 2/27/2008 5:28:50 PM
"Unable to cast object of type 'ASP.masterpage_master' to type 'MasterPage" This code has always worked but today it is getting the exception in the subject line of this post... protected void Page_Load(object sender, EventArgs e) { this.Master.HeadingLabel.Text = "Direct ...more >>



Posting from a modal dialog
Posted by abb at 2/27/2008 5:23:35 PM
I have a modal dialog to edit a Notes field. When the Save button is pressed, that field should save the Notes, close the dialog and leave the parent window unchanged (don't refresh or post). How can I accomplish that? Posting from the modal dialog always pops up a new browser window. And ...more >>

hide javascript
Posted by Prefers Golfing at 2/27/2008 4:54:24 PM
I'm using AJAX and creating dynamic javascript for an iframe. I want to hide the javascript. What is the best way? ...more >>

Problem adding AJAX Control Toolkit to VWD 2008
Posted by rudi2218@hotmail.com at 2/27/2008 4:47:15 PM
Hi Everyone, I followed the instructions on the site to add the AjaxControlToolkit (AjaxControlToolkit.dll) to the VWD 2008 toolbar: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx However, when I selected the AjaxControlToolkit.dll and clicked OK (as the inst...more >>

Combo in a grid view
Posted by Ishan Bhalla at 2/27/2008 4:45:01 PM
Hi, Am new to Asp.Net and want to try a add a combo to a grid view. Is this possible? If not is there any other control like the grid view that i can use to get the same effect? Thanks in advance Ishan...more >>

ObjectDataSource
Posted by shapper at 2/27/2008 4:11:34 PM
Hello, I have an ObjectDataSource with Save defined as insert method. I need return the ID of the inserted record so I can use it in my ObjectDataSource after the item has been inserted. How can I do this? This is my code: <DataObjectMethodAttribute(DataObjectMethodType.Insert, T...more >>

Adding new search function
Posted by tyv at 2/27/2008 3:48:51 PM
Hi, I want to add a new search function (Drop Down Menu) to search my a database in my website. I managed to add the search filter and the options, but I am unable to get it to actually work. Whenever I select one of the options and click search, nothing happens. When I click on the yellow...more >>

can't set a session variable from a user control
Posted by jc at 2/27/2008 1:53:50 PM
I've got a master page. under a content page is a user control. I attempt to set a set session variable under a grid row command event, but it does not take.. I do a watch on the session variable and it never sets. I reponse.redirect to a another page and can tell it's never set as well...more >>

Microsoft Access vs XML
Posted by shapper at 2/27/2008 1:25:56 PM
Hello, I usually use SQL server with ASP.NET and lately LINQ for my clients web sites. However, now and then I have clients where an SQL database is to much for their web sites. In this cases the amount of data is small. Mostly will be to hold some web site content or small size product ...more >>

Is it possible to get the last modified date of a rss file without knowing its content using C#?
Posted by Elliot at 2/27/2008 1:19:03 PM
Any idea would be appreciated. ...more >>

3.5 ListView - How do I do conditional logic the right way?
Posted by mikebrengartner@gmail.com at 2/27/2008 1:16:33 PM
Hi all, I've got a data bound list view that I'm trying to work with. I'm trying to fill out the item template with a table row that displays a link to a file if the job status is complete. I've found that using Eval won't work, since it is only applicable to databound items, not for conditio...more >>

Adobe Contribute & ASP.NET 2.0 Master Pages
Posted by John at 2/27/2008 12:03:48 PM
Hello! I have a problem with getting Adobe Contribute to view the content of the master.page file. I have done a fair amount of research into why and have come up with the fact that Adobe Contribute CS3 was released before ASP.NET 2.0 and therefore wouldn't have known about master pages or ...more >>

Posting XML to SSL
Posted by Josh at 2/27/2008 11:50:18 AM
Hi brainy people, I have a client application that is going to post XML containing password information to a web page on an SSL site. The client application is not generating a session or other communication to the site, its simply being given the URL and issuing a single post, it will ...more >>

Session management on web farm with sql server
Posted by wdudek at 2/27/2008 11:49:02 AM
We have a website that works fine when hosted on a single server, however it experiences some strange problems when run on a web farm using SQL Server to handle session state. When running on the farm, in the same method call an object that just had a value set will no longer have the value se...more >>

Filters reset to defaults in ASP files (javascript)
Posted by tyv at 2/27/2008 11:25:47 AM
Hi, I have a bug on my website that I'm trying to fix. I have filters (drop down menus and click-calendar date range) that narrow down searches on my website by pulling out the information from the database. Problem is as follows: 1) I select my filters, the database choices are narrowed...more >>

Where is my ".aspx" file located
Posted by Jack at 2/27/2008 11:07:20 AM
Hi there, In a submit button event, I need to open a (server-side) file relative to the folder containing the ".aspx" file. What's the correct way to locate the ".aspx" folder itself inside my handler? Thanks in advance. ...more >>

VS mangles HTML
Posted by GaryDean at 2/27/2008 8:41:16 AM
On one of our projects, using vs2005 professional, Visual Studio reformats the html in an aspx page so that it is virtually impossible to work with - although it still executes properly. For instance it takes well formed html that is indented for readability and converts everything to upperca...more >>

store value for later use
Posted by Scott at 2/27/2008 7:57:20 AM
In my web app I'm creating a datatable to show my out in a grid. I have a row that has totals within my datatable. How can I store that total to use in another section of code? my datatable looks like this dtFinal = new DataTable(); ds = GetSalesValues(); dc = new DataColumn; dc.Colum...more >>

Validation and popup window question
Posted by JJ297 at 2/27/2008 5:58:31 AM
After a user clicks the submit button I want a window to come up telling them your entry has been submitted. I have this code in my page load section which works well. Submit.Attributes.Add("onclick", "return window.confirm('Your entry was submitted.')") My problem is it's not picking up ...more >>

Big delay starting up web application
Posted by seguso at 2/27/2008 2:34:14 AM
Hi, We have a problem with the startup delay of a VB web application. The site is made of 31 toplevel .vb files (containing vb classes), plus 68 pages (one .aspx and one .vb file for each page). We don't use external dlls or webservices or any uncommon stuff. The overall weight of .vb files...more >>

single-click button / ajax
Posted by laziers@gmail.com at 2/27/2008 1:54:43 AM
Hi, anyone know how to write a single-cilick button? [after click button is being disabled while the method is executing] I use this: <asp:button id="ButtonAdd" runat="server" text="Anuluj" onclick="Click_ButtonAdd" /> if ( !isPostBack){ ButtonAdd.Attributes.Add("onclick", C...more >>

Noob question - Need variable from DB field
Posted by Arch Stanton at 2/27/2008 12:01:19 AM
I have some data returned via a SQL statement (from MS Access) to a datagrid on an ASPX page. One of my datagrid columns is a hyperlink column. Everything works fine, but I need to pass the variable my user clicks to another page. Here's the code for my hyperlink column: <asp:hyperlinkco...more >>

stylesheet with masterpage
Posted by Keith G Hicks at 2/27/2008 12:00:00 AM
asp.net 2.0 I'm new at so much of this. I'd like to apply a very simple css file to some asp buttons on content pages via the master page. Not sure if that's possible but I assume it is from what I've read. I just can't figure out where to put things. So here's my master page: <%@ Master...more >>


DevelopmentNow Blog