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 > august 2006 > threads for friday august 25

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

Where are the themes?
Posted by rory.groves NO[at]SPAM gmail.com at 8/25/2006 6:52:28 PM
I expected to run into numerous galleries of ASP.NET 2.0 Themes and Skins, but have come up with NOTHING so far, other than a promise of a theme gallery on www.asp.net that is non-existent. Whats the deal?? Is MS dropping support for this already? Microsoft has "starter kits" but those are m...more >>


System.Web.UI.Page and finding the <body>
Posted by sloan at 8/25/2006 5:16:43 PM
If my html looks like this (page1.aspx) <HTML> <HEAD> <title>WebForm1</title> </HEAD> <body> <form id="Form1" method="post" runat="server"> <asp:TextBox id="TextBox3" runat="server"></asp:TextBox>correct email</P> </form> </body> </HTML> In the codebehind., I ...more >>

Null int/float columns with TableAdapters
Posted by Nick Gilbert at 8/25/2006 4:45:37 PM
Hi, I have a database table which has some "float" columns which allow nulls. I have created a TableAdapter to view this table. If I open the TableAdapter and there are null values for some of the float columns then an exception is thrown: Line 2136: try { Line 2137: ...more >>

Adding Style at run time
Posted by Ganesh Muthuvelu at 8/25/2006 3:21:01 PM
Hello, I am a ASPX page where I have defined the style for the head element. ****************** <head runat="server" > <style type="text/css"> .MyClass { background-color: aqua; } </style> </head> ****************** However, instead of doing at design time, I ...more >>

Phone Book Tab Approach
Posted by Anthony Bollinger at 8/25/2006 3:16:32 PM
I am using a DataList and PagedDataSource to display a membership list. I have Next and Prev links at the bottom of the data to navigate through the entire data set. However, we want to be able to limit the view to all names that begin with a certain letter. I can create 26 links with 26 di...more >>

Convert date to: dd mon yyyy hh:mi(24h)
Posted by Totto at 8/25/2006 2:10:48 PM
Hi, Is it possible to convert date to dd mon yyyy hh:mi(24h) Thanks Totto ...more >>

Setting the Session timeout for a specific page.
Posted by UJ at 8/25/2006 2:10:00 PM
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change the forms authentication to be a large value for that page also. TIA - Jeff. ...more >>

creating dynamic Excel forms, w/ validation -- possible?
Posted by matt NO[at]SPAM mailinator.com at 8/25/2006 1:15:42 PM
hello, i am on an interesting project. in this project, i have to create dynamic data-entry forms for offline-users to fill out, save locally, and eventually postback to our app (when back online). data validation is required on the form. i had looked at using PDF-forms for this.. Adobe's "...more >>



Why we need business logic layer?
Posted by MS newsgroup at 8/25/2006 1:15:37 PM
I don't have clear reasons why we need business logic layer and data logic layer instead of having only data logic layer. Are there any good reasons for that? ...more >>

Function
Posted by Ben Schumacher at 8/25/2006 1:12:14 PM
Is it possible to call a function from a master page that resides in the content page. I want my master page to be able to do somthing like ... Dim sStringInMasterPage As String = FunctionInContentPage() Ben ...more >>

visited link same color
Posted by prefersgolfing at 8/25/2006 1:01:30 PM
I'm demo'ing a new site I've built. Is there a way to keep from changing color after I have visited them? Thanks. ...more >>

Getting value from FormView
Posted by BB at 8/25/2006 12:50:39 PM
Hi, I am using FormView Contol, TextBox (Hidden ) and Submit button whose caption is "View Page" in my aspx page. Here is what I am tryin to do.When page loads I generate dynamic url in text box . I want to append exisitng value in Formview field "CustomeID" to url. When userclicks on ...more >>

Reference code-behind variable
Posted by Anthony Bollinger at 8/25/2006 12:43:12 PM
I am still getting up to speed with ASP.NET 2.0 and its companions (VS, VB, etc.). I am successfully using a PagedDataSource in my code-behind module, but I need to reference the PageCount on the page itself to generate links for the pages. I have tried a few things, but I am still limited t...more >>

adding rows in GridView
Posted by Loading name... at 8/25/2006 12:16:32 PM
hey asp.net 2.0 Is it possible to add records to a database via a GridView, I mean in the GridView the user add new rows which are saved back to the database? I know I can edit rows, but I'm not sure it's possible to add NEW rows - I'm a newbie If this is possible, maybe some of you ...more >>

Debugging using Visual Studio
Posted by stephen at 8/25/2006 12:12:29 PM
Hi, I was using a .DLL created by another developer using VB 6.0 to create excel files and it was working fine but for some reason it suddenly stopped working (cannot instantiate an object of the module in the DLL after referencing). Is there a way of debugging the project (VB app) using .N...more >>

CS0433: The type 'ProfileCommon' exists in both...
Posted by Phil at 8/25/2006 12:08:02 PM
I'm trying to use a custom profile provider and I'm receiving this error message after I deploy a published version of the app. The app works fine when it is run in source code mode. It works fine if I run the published version on the same machine it is developed on, but not when I copy the ...more >>

W3C logs 404 4 unknown path
Posted by Little Gazer at 8/25/2006 12:05:02 PM
I am trying to determine why there are 404 errors for a reported path which our application doesn't appear to be using. The path ends with /App/none and I don't understand who or what is requesting this path and since it does not exist, an error 404 is generated. Does anybody know how I can...more >>

Solution File Problem Redux
Posted by Uriah Piddle at 8/25/2006 10:39:16 AM
Hi Gang, I posted this problem a few days ago and reported it solved but it appears that I was a bit hasty in declaring victory. The problem is this: when I create a new website in VS 2005 Standard, VS makes two folders called <project name>(1) and <projectname>(2) and puts the .sln and .su...more >>

SaveViewState executing twice
Posted by tshad at 8/25/2006 10:12:58 AM
I thought I understood how the SaveViewState is working and was trying to use this (as per some code I found) to detect refreshes. It seemed to be working but I found that the SaveViewState was executing twice on load of page and can't figure out why. I was writing out to a text file in th...more >>

Error Fetching Custom Attribute Value from HtmlSelect
Posted by mirlisa at 8/25/2006 10:02:16 AM
I'm using an HtmlSelect (runat=sever). I add the items programmatically and I also add a custom attribute to each listitem because I need to track an additional field value. I'm having a problem getting that attribute value upon postback. I keep getting a null reference error. I was under th...more >>

Validators not working on Mozilla
Posted by tshad at 8/25/2006 9:24:10 AM
I have a RegularExpressionValidator that is testing a field to make sure the number is between 0 and 255. It works fine in IE, but doesn't work in Mozilla or Firefox. <asp:RegularExpressionValidator ID="Years" ControlToValidate="YearsComplete" Display="Dynamic" ErrorMes...more >>

generate <asp:ListItem> with dynamic content
Posted by Kevin Blount at 8/25/2006 9:13:25 AM
As mentioned before, I'm creating a multi-lingual page where the text of the page comes from a database. This page includes a registration form which asks for address information, including the Country. I have 6 .txt files that contain a complete list of countries that we sell to (65 in tot...more >>

GridView template needs to set CommandArgument to row index
Posted by David at 8/25/2006 9:02:58 AM
I have a template field in a GridView that contains two ImageButtons. When the user clicks one of the buttons, the GridView's RowCommand event is fired and I can get the CommandName. All that is fine. However, e.CommandArgument is an empty string, presumably because the CommandArgument property...more >>

XML Object as DataSource ASP.NET with VB.Net?
Posted by Daniel Di Vita at 8/25/2006 8:54:02 AM
I want to create an XML object that can then be used as a data source on the same page. How can I create the XML object to then bind to a control? I need this all to be done without loading an external XML document. I want to build the XML on the same page that will have the control on it. I a...more >>

Membership Problem
Posted by Scatir at 8/25/2006 8:51:02 AM
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the log in become log on, but when I access the protected page, it still prompt me for log in. Pleas...more >>

TraceOutputOptions not honored
Posted by chaz at 8/25/2006 8:23:02 AM
I would like my trace entries to have a timestamp so I figured I could set the properties on the trace listener to accomplish this but THAT that doesn't see to work . dim txtListener as System.Diagnostics.TextWriterTraceListener = new System.Diagnostics.TextWriterTraceListener(sw, "txt_lis...more >>

Confused with autoeventwireup
Posted by Carlo Marchesoni at 8/25/2006 7:40:02 AM
I read that autoeventwireup="false" doesn't cause Page_Load to fire automatically and trying it out with a simple page this can be confirmed easily. However, I have a page with autoeventwireup="false" (that has a masterpage with autoeventwireup="false" as well) and Page_Load DOES fire in the ...more >>

Output Parameter?
Posted by Arpan at 8/25/2006 7:34:29 AM
A SQL Server 2005 DB table named "Users" has the following columns: ID - int (IDENTITY) FirstName - varchar(50) LastName - varchar(50) UserID - varchar(20) Password - varchar(20) Before inserting a new record in the DB table, ASP.NET first checks whether the UserID supplied by the new rec...more >>

Treeview node, add confirm javascript?
Posted by tfsmag at 8/25/2006 7:25:50 AM
Okay, I have a project management app i'm writing and in the left hand menu i have a treeview control that is populated with each project... in child nodes under each project node I have an "edit" and a "delete" node. I have the functionality of the edit and delete working fine, my issue is now ...more >>

Is there a character limit on bound controls?
Posted by pedalchick at 8/25/2006 6:40:45 AM
I'm trying to build a mini-CMS for a friend (ASP.NET 2.0/VB) - just a simple admin page w/ a text box and button that inserts some text into a database (I'm using Access 2003 - text is going into a Memo field) that will subsequently be fed to a page to display. The insert works just fine - I've...more >>

ASP SQL Server 2005 Express
Posted by AJ at 8/25/2006 6:26:02 AM
Hi All, I am reading a tutorial,that seems to suggest that i can deploy SQL Server based websites without having SQL Server installed on the server. The impression i have is that i can connect to the '.MDF' file as a standard file, rather than having to go through the database server. ...more >>

configSource and Intellisense - is it possible?
Posted by SeeSharp at 8/25/2006 5:17:49 AM
..NET 2.0 has a great feature where you can remove certain elements from your web.config and put them in an external file. For example the membership element has the configSource attribute and you can set it to configSource="myconfigs\membership.config". The only problem is that intellisense ...more >>

how define a css file in a asp page who inherits from a masterpag
Posted by Sebho at 8/25/2006 5:17:01 AM
Hi, i have an asp page (page1.aspx) that inherits from a masterpage (MasterPage.master) so i try to define a stylesheet (mystyle.css) page to Page1.aspx and i have to put a <link> tag between <head> and </head> . But my problem is in a page who inherits from a masterpage i have no t...more >>

FormView out of sync
Posted by flodpanter NO[at]SPAM gmail.com at 8/25/2006 4:29:34 AM
I have one objectdatasource which both a gridview and a formview rely on. In my Gridview I have a command button which should display the selected row in my formview. Sorting the gridview doesnt effect the formview. The formview still uses the original order by which my records are stored. ...more >>

Why are these caracters not being display correct
Posted by Jon at 8/25/2006 3:17:02 AM
Hello all, In my code im using Response.Write(someText) to write out some Japanese text to a new browser window. In the command window, the text is correct, but when the browser window opens it appears as ャーのエア抜き. Why would this be so? My code is below:...more >>

ListBox - avoid AutoPostBack when Ctrl key pressed
Posted by an at 8/25/2006 1:09:52 AM
In a ListBox I allow Multiselection. I have also the Autopostback property = True When the user wants to multiselect and presses Ctrl key and starts clicking on items, the Autopostback if firerd every time: it is frustrating. Is there a way to avoid Autopostback in this case? ...more >>

Where in the page lifecycle does validation occur?
Posted by Paul at 8/25/2006 1:04:01 AM
Hi all, I don't use auto postbacks on my web site to keep it javascript-free and browser agnostic. Whenever there's a postback to my page I'm using the Page_Load event to use the posted data for database updates. However, the page hasn't been validated at this point. I can call Validate() at ...more >>

How do i call JAVASCRIP function if...
Posted by ♥eXtreme oXygen♥ at 8/25/2006 12:30:21 AM
How do i call JAVASCRIP function from an event of ASP.NET:BUTTON, if runat=server attribute is true... actually i want to open an popup window using asp.net--button onclick event, but its not working --aankx ...more >>

XMLHTTP from database
Posted by Dikkuuhh at 8/25/2006 12:18:57 AM
Hi, I have a database with lots of information about a person, like his address etc. Now i have that information stored in 3 datasets i must get these 3 into a XMLHTTP... This part is what i don`t get. I`ll try to use AJAX for this webapplication, but who can i do these things?? Can s...more >>

button onclick event handler
Posted by moondaddy at 8/25/2006 12:15:45 AM
I have an asp.net 2.0 application and put a html button on a web page. I double clicked on the button and it crated the event handler for me and created the stub js function for it like this: <input id="btnQryFunctions" type="button" value="Query Functions" language="javascript" onclick="r...more >>

Query regarding control names on an asp.net page
Posted by jaffar.kazi NO[at]SPAM gmail.com at 8/25/2006 12:03:39 AM
Hi, What is the exact name to use to get a control reference on an asp.net page using FindControl? My experience is the following: 1. Page.FindControl does not work; it always returns null, even if I give the exact control name I'm using, eg. txtFirstName. However, this.FindControl works. 2...more >>

Need a groupbox in web application
Posted by Saranya at 8/25/2006 12:01:30 AM
hi friends i want to perform a similar control as that of a group box in my web application.i m not at all comfortable with panel,html grid layout how to achieve this plz tell ...more >>

SVN
Posted by odwrotnie at 8/25/2006 12:00:00 AM
Hi, has anyone use any svn plugin for vs2005? I am using AnkhSVN... My problem is that in WebApps when i am trying to add project to repo it adds only Website.sln file :\. Thanks in advance for any help! -- Best regards, Odwrotnie....more >>

How to implement a WindowsControl in IE that uses another Windows Control
Posted by Martin Trabold at 8/25/2006 12:00:00 AM
Hi how can I implement a WindowsControl in IE? I know I can use the following statement in a web page. <object id="MyTrendingControl" classid=http://localhost/TestControl1/DynamicGraph.dll#ClassLibrary1.DynamicGraph height=480 width=640 VIEWASTEXT> </object> This works fine if the Windo...more >>

Textfile editor
Posted by Gunawan at 8/25/2006 12:00:00 AM
Hi, If I have generated a text file and I want to display it on the web, what kind of control (ASP.NET) Control that I can use? For example in vb 6 I can use rich text control. TIA, Gun ...more >>

Problem with multiple lines in db data
Posted by Loading name... at 8/25/2006 12:00:00 AM
hey asp.net 2.0 In my db (sql server 2005) I have a record which consist of multiple lines: "HEY THIS IS A TEST OF MULTIPLE LINES" But when I retrieve this value and put it into a formview field, the data is displayed like this: "HEY THIS IS A TEST OF MULTIPLE LINES" Some of the s...more >>


DevelopmentNow Blog