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 > march 2007 > threads for saturday march 10

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

AJAX Dropdown extender & Gridview
Posted by William Youngman at 3/10/2007 8:29:58 PM
I have a gridview displaying data and would like to use the AJAX = dropdown extender so that when the user clicks on a record a dropdown = menu will display providing the user with a menu of selections to choose = from (yes much like the SharePoint 2007 dropdown menu). I'm having problems dyna...more >>


Same app in IIS twice?
Posted by David Thielen at 3/10/2007 6:24:00 PM
Hi; Not sure if this is an ASP or IIS question. Can I point to the same ASP.NET app in IIS twice, once as a website (where it is the default application) and once under the Default Web Site where it is a named application? In both cases I would point to the same directory. -- thanks -...more >>

Validation of viewstate MAC failed.
Posted by Chris at 3/10/2007 2:46:10 PM
I am getting an intermittant 'Validation of viewstate MAC failed' when people go to a particular page. I have tried setting: enableEventValidation="false" viewStateEncryptionMode ="Never" in the page directive which seems to be the general fix. I am using a link button to navigate to the ...more >>

Focus on the first control
Posted by Rafael A. M. Borges at 3/10/2007 2:15:04 PM
Hi, How can I set the focus on the first control in the page? I tried Page.Controls(0).Focus() but it didn't works. Does anyone knows it? ...more >>

Session Variable naming conventions.
Posted by Control Freq at 3/10/2007 1:28:04 PM
Hi, Not sure if this is the right NG for this, but, is there a convention for the variable names of a Session variable? I am using .NET 2.0 in C#. I am new to all this .NET stuff, So, any guidance appreciated. Regards ...more >>

SqlBulkCopy class doesn't like nulls
Posted by Chris at 3/10/2007 1:18:05 PM
I have created a datatable from a csv file. One of the columns is an integer which sometimes can be blank. When it is blank I add a dbnull.value to the column when I add to the datatable. This doesn't throw an error but when I do my bulk insert I get a 'data input' error. When I replace the nu...more >>

Dropdown List - Check if value exists in list prior to selection
Posted by Brenden Bixler at 3/10/2007 12:50:00 PM
Hello. I am reading a value from a table and trying to determine if that value exists in a list of values associated with a dropdownlist. If so, I select the value, otherwise, I don't. I haven't been able to figure this operation out so far. Code: if (reader["region_id"] !...more >>

How to make a diagonal gradient
Posted by moondaddy at 3/10/2007 12:39:55 PM
How do I make a background gradient diagonal instead of just horizontal or vertical? This makes the standard horizontal gradient. progid:dximagetransform.microsoft.gradient(gradienttype=1, startcolorstr='blue', endcolorstr='whitesmoke',gradientType='2'); Thanks. -- moondaddy@noemai...more >>



Custom controls to emit compiler warning/error?
Posted by olduncleamos at 3/10/2007 10:30:27 AM
Hi all, Just wondering if it is possible for a custom control to emit compiler warning or even error? It would be great to flag the user at compile time if they made some inconsistent property settings. Thanks in advance. ...more >>

Stop function
Posted by shapper at 3/10/2007 10:11:58 AM
Hello, On the start of a function I need to verify a condition. If it is false I want the rest of the code to not run. My question is: should I put all the function code inside an IF or is there a command that I should use that interrupts the function? My function is as follows: P...more >>

Rendering WordML from ASP.NET
Posted by Biff at 3/10/2007 9:43:34 AM
I have a WordML file that I want to render in the browser in word via ASP.NET. If I use Response.Redirect("filename.xml") in the ASP.NET codebehind I can get it to work. I would prefer to use set the ContentType to the appropriate value and write the actual XML text to the Response object, but...more >>

Get url returned from request redirect
Posted by Smokey Grindel at 3/10/2007 9:28:40 AM
Right now I am posting data to a webpage by doing the following webRequest = CType(System.Net.WebRequest.Create("http://www.domain.com/login.asp"), Net.HttpWebRequest) webRequest.Method = "POST" webRequest.CookieContainer = Cookies postData = "Submit=Go&id=asdDSDFsdf&pid=34g4" dat...more >>

ObjectDataSource general question
Posted by Jan at 3/10/2007 9:00:03 AM
I have this problem and I am not able to find clear and good solution. I have 2 tables, Order and OrderItems with relation 1:N. I want to have 1 aspx page for editing, which will contain FormView for Order and GridView for OrderItems. It isn't too important which control I will use, but my q...more >>

server.mappath vs. request.mappath
Posted by tparks69 at 3/10/2007 8:54:00 AM
Can anyone tell me the difference between server.mappath and request.mappath? Why would I use one vs. the other?...more >>

DateTime Problems
Posted by rn5a NO[at]SPAM rediffmail.com at 3/10/2007 8:03:14 AM
The date in my local machine is set to the dd/MM/yyyy format. When I insert a date in a MS-Access DB table, it gets populated in the above format. For e.g. if the date is, say, 8th March 2007, it gets populated in the DB table as 08/03/2007 In other words, first the day is shown, then the m...more >>

Variable
Posted by shapper at 3/10/2007 6:43:25 AM
Hello, I have the following: 1 Dim bRows As Byte() 2 sRows.Read(bRows, 0, Integer.MaxValue) On line 2 I get an warning saying: "Variable bRows is used before it has been assigner a value" How can I solve this? And what is the difference between using: Dim bRows As Byte() ...more >>

Can I reconnect to a session that has timed out or been abandoned
Posted by Big Daddy at 3/10/2007 3:01:15 AM
We have a problem where the session is getting abandoned for no apparent reason. It's not timing out. We save some important data in the Session object. The user will click on something, causing a postback, and there will be nothing in the Session object. The session is getting restarted with t...more >>

Advice on object structure
Posted by Paul at 3/10/2007 1:05:31 AM
Hi all, A journal system I'm building requires there to be the functionality of the user being able to choose any of a number of extra input field options in their preferences. These input field options enable extra fields on the journal input screen (they could be anything from checkbox list...more >>

Visual Studio 2005 and Mobile WAP Site
Posted by meo at 3/10/2007 12:00:00 AM
Can I use Visual Studio 2005 (VB.NET) develop WAP site? I cannot see the mobile control or any template like a Visual Studio.NET. ...more >>

FileUpload control
Posted by Gunawan at 3/10/2007 12:00:00 AM
Hi All, I have problem when using File Upload control I found an error. I think because of the file size more than 7MB. Is it true that File Upload control can not upload 7 MB file? Regards, Gun ...more >>


DevelopmentNow Blog