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 2008 > threads for tuesday march 4

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

Assign confirm when doing GetPostBackClientHyperLink on a gridview
Posted by tiptechno at 3/4/2008 9:10:05 PM
hello, i was wondering how to attach a js confirm to the following command e.Row.Cells[3].Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(this.gvGrid, "MyCommand$" + "value123"); .... I have this in the RowDataBound of the GridView, it works fine, just ...more >>

Could not find schema information for the element
Posted by Jeff at 3/4/2008 6:40:07 PM
Hi asp.net 3.5 I'm trying to add a custom section to web.config, but get many messages when I compile the code: I get 5 messages about "could not find schema": Could not find schema information for the element 'testgroup'. Could not find schema information for the element 'testsystem'. ...more >>

If I create a page, then it's compiled upon first request, where can i find the compiled code??
Posted by lander at 3/4/2008 6:13:56 PM
If I create a page, then it's compiled upon first request, where can i find the compiled code? And another question, since aspnet_wp.exe is recycled sometimes, so session would get lost and would global variable(static, or application variable) get lost too?? Thanks very much....more >>

format individual cells in DataGrid by data value and column type
Posted by Bruce at 3/4/2008 5:31:02 PM
I have a web form with a programmatically generated DataGrid. The DataGrid columns are defined at run-time based on a SQL query. A class is derived from ITemplate to handle a fixed set of column types. Here is a code fragment: namespace ApplianceBook { public enum DisplayType ...more >>

GridView: how to pass readonly ID to Update method of a DataSoureObject?
Posted by Bogdan at 3/4/2008 5:02:47 PM
Hi, I have a DataSourceObject with update method as follows: Update(ID, field1, field2). ID represents a value of a primary key in a table. The field is set to Readonly in the GridView. I use stored procedure to update a row in the table. The procedure takes ID, field1, and field2 as p...more >>

Is there any way to do that
Posted by Husam at 3/4/2008 4:49:01 PM
Hi EveryBody: I want to state my problem as follwos: I have to PC in my home, both of them for me is Known Machine name and MAC addresses. My question is if these two PC's which let us assume that PC1 and PC2 used the internet as an infrstrcutre is there any way that PC2 can get any web...more >>

Scalable web applications
Posted by simonZ at 3/4/2008 4:32:13 PM
Hi, is there any book for programing scalable web applications with .NET? More about middle tier? Or some url's about that? Thank you, Simon ...more >>

aspx equivalent for determining client browser addins available for object tag
Posted by David Greene at 3/4/2008 4:01:16 PM
I have an aspx fired xslt web site... http://www.dlgreene.removethis.com/ You can see the exact code I am asking about if you View In: xxx and click the code link at the top or bottom left of any page. I use a number of vr viewers... http://www.devalvr.removethis.com/ QuickTime Flash ...more >>



Redirect after 5 seconds only if bolNeedToRedirect=True ?
Posted by Jonathan at 3/4/2008 3:45:01 PM
I want to redirect a vb.net aspx page after 5 seconds only if a variable bolNeedToRedirect=True. This variable is determined after code sees whether a person is logged in. How could I achive this considering the header meta tag for redirecting can't be switched based on a Boolean variable? ...more >>

page load question
Posted by Mike at 3/4/2008 3:10:48 PM
On my web form, I have an panel for the top portion that shows a table, drop downs, buttons, etc. on the bottom of the page I have an panel that shows the results on a grid. When the user calls the site for the first time, I want to populate the grid, so my question is, how can I load my page ...more >>

Valid regular expression not working with validator control
Posted by Andrew Jocelyn at 3/4/2008 2:55:15 PM
Hi I get a JavaScript error with this expression when using the RegExpValidator. Also if I switch off client script the server side code validator finds a match regardless of the entered string. (?<!@emailaddressnotallowed\.org)$ Is there a way of writing this so it works with the valid...more >>

Sort Direction in ObjectDataSource?
Posted by ASF at 3/4/2008 2:23:26 PM
Hey all, In objectdatasource there is a property called sortExpression which is used in many "custom sorting" applications. My question: is there a sortDirection property? I can't seem to find a reference to one, but otherwise, how does a gridview (for instance) know which direction to sort by ...more >>

'is not a valid virtual path' - host header help
Posted by simon at 3/4/2008 1:44:55 PM
hello. i'm trying to setup a website on my local server when compiling it VS 2005 i get the error "is not a valid virtual path" from what i've read on the net, this is due to the fact that the site is using IP:Port, which is no longer supported in VS 2005. I have to use the IP:Port setup 19...more >>

ASP.NET and Security Issues with WebClient
Posted by kellygreer1 at 3/4/2008 1:01:04 PM
I have a ASP.NET WebSite running on IIS6 on Windows 2003. I'd like to have the Default.aspx page be able to web scrape a page from the same site "data.ashx". I'd like to keep everything NT Authentication. Nothing I try seems to work. I always get a 401 authorization error. Here is what I hav...more >>

System.Data.DataTable
Posted by John Smith at 3/4/2008 11:19:08 AM
This works: Dim dt As System.Data.DataTable Dim r As System.Data.DataRow = dt.Rows.Item(i) i = r.Item(2) but I would like to get column value as string and it doesn't work because column name is ows_Rok_x0020_izvedbe (when read from XML) and I don't know it's name in DataTable. How ...more >>

Streaming .Htm file to a page
Posted by Leon at 3/4/2008 11:01:13 AM
Hi Everybody. I am streaming Html File. Dim sReader = New StreamReader(pcFileName) Dim strInnerHtml As String = sReader.ReadToEnd.ToString divTemplate.InnerHtml = strInnerHtml For some reason on the page instead of (') - apostrophe it shows symbol like this:� Does anyone know h...more >>

small data needed - suggestions?
Posted by Bobby Edward at 3/4/2008 10:50:51 AM
I am doing a funeral home page (depressing huh?) :) They want an obituary page where people can post comments. So, in my db I have 2 tables (1 to many relationship)... TABLE1: Obituary (persons info) TABLE2: ObitComments ("many" table - comments) There would be an admin page to approve ...more >>

Access to body ID of Master Page
Posted by tshad at 3/4/2008 10:25:06 AM
In VS 2005, I need to get access to the body tag which I have set up on my Master Page as: <body ID="MyBody" runat="server"> But when do something like: MyBody.Attribute.Add("onload","GetAccounts()"); But I get: Error 1 The name 'MyBody' does not exist in the current context I...more >>

what's new in the web.config file of asp.net 3.5
Posted by Jeff at 3/4/2008 9:44:41 AM
Hey I'm used to developing using asp.net 2.0. But now I've installed a trail version of VS2008 at home. I discovered that the web.config in .net 3.5 contain many mnore settings compared to asp.net 2.0 If you have a good link which explains the upgrade (explain the new features) of web.co...more >>

asp.net web site error rates
Posted by DK at 3/4/2008 9:31:50 AM
I'm looking for information on what others are experiencing with their asp.net web sites. In February, my site had 1,899,680 requests and there were 3,819 errors. That gives us an error rate of about 0.2% Most of the errors are: The state information is invalid for this page and might be ...more >>

xmlns attribute???
Posted by John at 3/4/2008 9:29:00 AM
HI, I have a xml document containing a xmlns attribute. xmlns="urn:schemas-microsoft-com:PAG:MyList-application-block:v2:list"> I am using C# and statement xmlDoc.SelectNodes("//list") returns me nothing. However, if I remove that attribute, this C# statement works. Please help me und...more >>

Best way to get GridView/DataGrid data for Javascript
Posted by tshad at 3/4/2008 9:05:46 AM
Using VS 2005: I have a Datagrid or Gridview that will display Names and address and I want to loop through them and collect the names to give to a javascript function. I am trying to find the best way to do this. At the moment, I am doing it through Page_PreRender where I just loop throu...more >>

combining .rtf documents
Posted by stolirx at 3/4/2008 8:20:24 AM
Is there a way to add (attach) two(or more) .rtf documents into one and then print it?? -- stolirx ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ ...more >>

One Usercontrol Multiple Instance in a Single Page --Required Field Validator Problem
Posted by thomson at 3/4/2008 5:39:26 AM
Hi All, i have a user control with a textbox, required vield validator and a Button Control , I have placed the usercontrol three times on a single page, when i run this, if i click a single button all the required field validators fire in the other usercontrols too, Can any one le...more >>

Browse and open the folder in asp.net
Posted by Santel at 3/4/2008 3:09:40 AM
Hi, Using html file tag I can able to browse the file, but not the folder. Is there any possible way to browse and select the folder in asp.net? Anyone please suggest....more >>

ASP.NET Video Chat Tool
Posted by Bhavesh at 3/4/2008 2:04:10 AM
Hi Experts, WRT above subject i would like to know that which Third party tool provides hassle free video chat with excellent quality Actually i have requirement to add chat/video chat facility in my website..(C#.NET) I have read one forum from this URL http://forums.asp.net/p/185841/9...more >>


DevelopmentNow Blog