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 > january 2008 > threads for friday january 18

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

How write web page for smartphones, iPhone, etc?
Posted by Ronald S. Cook at 1/18/2008 8:49:26 PM
I'm assuming this is easy but have not yet tried... I want my ASP.NET web app to detect if the client is a normal computer. If so, it would direct the user to a given aspx page. If, however, the client is a handheld device, it would go to a different page just for that size. What is that...more >>


How write web page for smartphones, iPhones, etc?
Posted by Ronald S. Cook at 1/18/2008 8:46:21 PM
I've never done this, but I'm assuming it's easy? I want to have my ASP.NET app detect what device the user is using. If a computer, it would go to a normal web page. If a handheld of some sort, it would go to a page that was designed for that size. What is that size anyway? I think I'v...more >>

Vote on proposed VS feature.
Posted by Scott M. at 1/18/2008 6:33:26 PM
A suggestion that C# ASP .NET projects in Visual Studio should give the developer the ability to see all the Page object's events in the code editor (via the drop down lists at the top) and create an appropriate event handler automatically (like is done in VB .NET) has been submitted to Micros...more >>

No link to external css
Posted by John at 1/18/2008 4:28:29 PM
Hi there, I'm feeling a bit puzzled. I have a master and content page that use an external css file (Home.css) and everything works perfectly. What I don't understand is that I forgot to add a link to Home.css but some how it's still being used. My understanding was that only if you expl...more >>

Dynamic button first click doesn't raise event
Posted by William at 1/18/2008 3:48:13 PM
Hi I've created a page with only 'n blank table control on it. When clicking a button, the table populates with various textboxes and dropdown lists to make up a complete form. In the last row of the table, a submit button is added. Almost everything works fine. The form display, the ...more >>

Class Libraries
Posted by Fresno Bob at 1/18/2008 3:37:55 PM
I am used to putting my business logic layer etc in the App_code folder in a website project. I want to use class libraries so I can use Sandcastle and NUnit. However unlike a website project I do not get immediate Intellisense. I have to Add the project to the website solution (File>Add>Ex...more >>

pass processing back to asp.dll
Posted by Eric at 1/18/2008 3:26:29 PM
Hi, I'm trying use the authentication of asp.net inside "classic asp" inside IIS i have configured the extension ".asp" to be handled by v2.0.50727\aspnet_isapi.dll So now my code inside Application_AuthenticateRequest will run when the request is made to an .asp page. And I can put web.con...more >>

ASP.NET 2 to 3.X
Posted by Mike Gleason jr Couturier at 1/18/2008 2:50:18 PM
Hi! We're developing websites with VS 2005 (.NET 2.0) and we want to move on to ..NET 3.X (Not the whole team but the R&D team). Do we absolutely need to upgrade to Visual Studio 2008 to do that? Is that the same thing going from 1.X to 2.0? Will we be able to open .NET 2.0 projects from ...more >>



Access Hotmail account from c#
Posted by Stan SR at 1/18/2008 2:40:39 PM
Hi, I googled this topic, but I didn't find the correct right code working with c# 2.0 or above. Do you have any idea how can I read (like pop account) emails from hotmail account ? I thank you in advance Stan ...more >>

Run Javascript at GridView Edit
Posted by rodchar at 1/18/2008 2:07:01 PM
hey all, when a user hits the edit button of a gridview row is there a way to execute a javascript function after the row has been rendered? thanks, rodchar...more >>

GridView-FormView/Master-Detail with ObjectDataSource
Posted by Aamir Ghanchi at 1/18/2008 1:52:24 PM
Hi, I find it amazing that there is no single example over the web that discusses how to use Master(Gridview) and Detail (FormView) model using objectdatasource and the whole nine yards Edit/Insert also. There is one availabe with DetailsView. If any one has a link, then please send it my ...more >>

What causes session to disappear?
Posted by gnewsgroup at 1/18/2008 1:33:38 PM
In my asp.net 2.0 web application, in Web.config, I have timeout="30", s l i d i n g E x p i r a t i o n = "true" for the Authentication element. I suppose, this means that as long as we don't let a 30 min elapse without making any request, the session should stay alive, right? But I not...more >>

Problem with queries. Call for help.
Posted by johnmay1248 at 1/18/2008 1:23:26 PM
I am having a problem with queries running in this code When I use the query "SELECT * FROM sample" the code runs and the data grid binds and shows the contents of the sample table. If I change the query to filter the results such as "SELECT * FROM sample WHERE (sales > 2000)" the code fails on...more >>

mirroring control...?
Posted by laziers@gmail.com at 1/18/2008 12:30:25 PM
Hi, I have written [paging navigator] as a web user control. Everything works well, but I must set this navigator to top and buttom of the repeater. like this: http://laziers.googlepages.com/repeater.png ok, but I dont want to set 2 the same controls to page, synchronize them etc. Is ...more >>

Little problem with TabContainer (ajax)
Posted by laziers@gmail.com at 1/18/2008 12:17:46 PM
Hello, I have a little problem with TabContainer. Now it looks like this: http://laziers.googlepages.com/tab2.png but it has to be: http://laziers.googlepages.com/tab1.png so.. what should I set in css to split this tabs? maby this helps: ..tab .ajax__tab_header { displa...more >>

The Ajax Toolkit
Posted by Greg Smith at 1/18/2008 11:15:01 AM
I have just installed vs2008. The ToolBox has a Ajax tab but only ScriptManager, ScriptManager Proxy, Timer, UpDatePanel and Update Progress are in there. How do I add all the toolkit controls? Any help is greatly appreciated....more >>

aspx or aspc.vb which one should i use
Posted by Jeevan at 1/18/2008 10:53:25 AM
hello when should i use the aspx file to write code and when the aspx.vb ? should i use only one (any) to write the code? i want to check the name and password entered by the user with the data in my database and if found any match then display his name on next page ? how to do this? i know...more >>

How do I refresh a dataset?
Posted by Larry Bud at 1/18/2008 10:51:40 AM
If I make a change in a SQL Table, the dataset in VS2005 needs to be updated as well. Is there any way to automatically refresh the dataset?...more >>

Extracting TextBox.Text from within a Datalist
Posted by BisMan at 1/18/2008 10:38:37 AM
I have a datalist called datalist2 I want to get the text from a textbox called textbox1 which is in the ItemTemplate of the datalist. In the past I have gotten information out of the create user control in the following way: ((TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContain...more >>

Images\ViewOnly
Posted by gh at 1/18/2008 9:00:31 AM
I am using .net 2.0 and we have a folder with pictures, that get rendered to a web page. Is there a way we can keep the user from downloading the photos, by right clicking a photo and choosing save as? TIA...more >>

report viewer
Posted by jvcoach23 at 1/18/2008 8:49:00 AM
if there is a better list to send this to, please advise. Visual Studio 2005, report viewer running in local mode, is there any way to get it to print in an asp page using it's print functions, not IE's. I thought i had heard that 2008 was suppose to allow this, but didn't know if anything...more >>

multiple record inserts
Posted by Jim at 1/18/2008 8:33:26 AM
Using aspx and vb with sql2005 server. I have an insert form/query that will insert a record. What I want to do is on the page have a dropdown list with numbers. From the dropdown list, the user will select how many records to insert the date (each insert is a seperate record). For exampl...more >>

How to reference a function from the ASPX page
Posted by Larry Bud at 1/18/2008 7:21:58 AM
Let's say I have a text box <asp:TextBox ID="OutputVariableTextBox" runat="server" OnPreRender="RunThisFunction" > The function RunThisFunction is in a common module (in a separate .vb file) and I want it to execute on a prerender. But when the page compiles, it doesn't find RunThisFuncti...more >>

Querystring validation
Posted by EW Newbie at 1/18/2008 6:54:03 AM
My apologies in advance if there is a better forum for this question. Given the following snippet: <script type="text/c#" runat="server"> protected void Page_Load(Object Sender, EventArgs e) { if ( Request.QueryString.Count > 0 ) { if ( Request.QueryStrin...more >>

Gridview (DetailView, et al) template field disable
Posted by Plissskin at 1/18/2008 6:21:32 AM
I would like to put radio buttons (check boxes, drop down lists) in an ItemTemplate field and have them disabled so the user is not confused. However, I do not like simply disabling the controls since this uses the standard Windows disable and "grays" everything out, rendering them fairly unrea...more >>

Question about Edit Data in DetailsView
Posted by Robin9876 at 1/18/2008 2:20:45 AM
When editing data in DetailsView or GridView in Visual Studio 2005 all the data items change to text boxes to edit. How can you change it so a drop down list is used on particular fields?...more >>


DevelopmentNow Blog