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 2007 > threads for thursday august 9

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

Client and Serverside Script
Posted by Prashant C at 8/9/2007 9:40:00 PM
Is it possible to call javascript function from code behind page? If yes, how to do that ?? -- Regards, Prashant C...more >>


Creating user account by activation link.
Posted by archana at 8/9/2007 9:24:08 PM
Hi all, I want to develop one web application. What i want is to allow user to create account but at that time before giving rights to that user admin should accept this person's account. So what i want is when user create any account, adming will decide whether to allow user to use site or n...more >>

VSNET2005 config question
Posted by Stimp at 8/9/2007 9:13:11 PM
Sorry not really on topic, but doubtless most of you will be using Visual Studio 2005 so I suppose this is as good a place as any. I've recently switched to VS2005 from VS2003 and notice that when you have a few files open and you open a new file, the new file bookmark appears to the LEFT o...more >>

form submission that triggers email notification
Posted by Homer at 8/9/2007 8:46:53 PM
Hi, I just got a requirement from my HR department to automate their form submission process and integrate it into the Intranet project that I had just completed Phase 1 of. Because of the short time frame that I've been given, a week to be exact, I do not have the luxury to explore it on my...more >>

Right-to-Left in textbox
Posted by rayreeves at 8/9/2007 8:21:33 PM
I want to display an accumulator as I punch numeric digits into it, but there is no RightToLeft property in a textbox. Is there a way? Ray Reeves ...more >>

Access control Property by App_Data module?
Posted by MING NO[at]SPAM HongKong at 8/9/2007 7:50:39 PM
If i create a module inside App_Data, how can i access the web control = Property on webform? Just like VB6 , i create a *.vb , the can direct access the control = property like FrmMain.TextBox1.Text =3D "Hello" --=20...more >>

Help with Regular Expression
Posted by carlos at 8/9/2007 7:49:39 PM
I am working on a regular expression validation for my search page. What I have so far works for most cases, but I would like to fine tune it some. I am new to regular expressions, and I do not have the time to read up some more on it. Can someone help? What I would like to do is allow words t...more >>

Help getting a lock to work properly
Posted by BEwebdev NO[at]SPAM gmail.com at 8/9/2007 7:20:09 PM
I have had my head spinning for two days on this one. I have what i thought was a simple enough locking issue, but havnt been able to get it working. Here is my setup: App Server is a .net 2.0 dB is Sql Server 2005 I have a aspx page that creates an object, lets call it an asset object f...more >>



Couple of asp:calendar questions...
Posted by Homer J. Simpson at 8/9/2007 6:26:44 PM
I'm porting a classic ASP page with a calendar to ASP.NET. I appreciate the fact that ASP.NET has such a control built-in, but I'm finding it's far less flexible than I thought it would have. I'm sure I must simply have missed a few things, so here's a couple of questions: a) How can I cu...more >>

UserNameRequiredErrorMessage question
Posted by Stan SR at 8/9/2007 6:26:13 PM
Hi, I use the login control and I set different messages for the UserNameRequiredErrorMessage and PasswordRequiredErrorMessage but I still have an * when the fields are empty. Any idea to fix that ? Regards, Stan ...more >>

Getting Other Data from SQLDataSource ?
Posted by jobs at 8/9/2007 5:55:10 PM
I have a GRIDVIEW I have bound to an OBJECTDATASOURCE that has the select pointing to a class method that uses ADO to grab a dataset from SQL Server Stored Procedure. One of the columns that comes back I am not interested for the Grid, But I would like the first ROW's value for a label. I c...more >>

Can't get started
Posted by rayreeves at 8/9/2007 4:06:55 PM
I have a dozen buttons on the form with typical HTML code: <asp: RadioButton id = "RadioButton2" ... runat = "server" ... > </asp:RadioButton> It compiles, but when run I get: Control 'RadioButton2' of type 'RadioButton' must be placed inside a form tag with runat=server. RadioButton...more >>

Different Assemblies At Runtime
Posted by Kulgan at 8/9/2007 2:51:42 PM
Hi We have a serious problem here with a 1.1 web app that has been upgraded to 2.0! Our web app can optionally use Crystal Reports. This means that it must be compiled on a machine with the Crystal runtime installed on it. In ASP.NET 1.1 we could then deploy to a production server that did...more >>

Doubt creating a class/function?
Posted by Paulo at 8/9/2007 2:36:08 PM
Hi, I have a lot of this piece of code (C# asp.net 2.0 - VS 2005) to fill a lot of combos: SqlConnection mycn; SqlDataAdapter myda; DataSet ds; mycn = new SqlConnection(connectionString); myda = new SqlDataAdapter("Select CIDADE_ID, NOME_CIDADE FROM CIDADE Order By NOME_CIDADE", mycn); d...more >>

Detect in C# the name of the ASP.NET user.
Posted by Vilhelm at 8/9/2007 2:02:03 PM
I am making a ASP.NET application that connects to a database. I want to distribute this to my customers that may have different Windows OS, so my installer must handle different windows versions. The installer makes sure SQL Server 2005 is there, IIS is ready and ASP.NET is set up properly...more >>

Manipulating style at runtime?
Posted by Homer J. Simpson at 8/9/2007 1:59:39 PM
Hi all, I'm trying to manipulate a calendar header's style programmatically at runtime. This works: <asp:Calendar id="clndr" [...]> Page_Load() { clndr.TitleStyle.BackColor = System.Drawing.Color.FromArgb( 255, 0, 0 ); } This, however, doesn't: Page_Load() { clndr.Titl...more >>

ajax pagemethods
Posted by Jerry C at 8/9/2007 1:54:03 PM
I am trying to get AJAX pagemethods working. Are there some good examples in asp.net VB Thank you -- Jerry ...more >>

question about compiling application
Posted by Mark at 8/9/2007 1:01:15 PM
Hi, i want to compile my application with this code: cd \windows\microsoft.net\framework\v2.0.50727 aspnet_compiler -p "c:\inetpub\wwwroot\myapp" -v / c:\compiled\myapp -f But the problem is that this application creates at runtime an asp.file (test.aspx). When a user tries to start tha...more >>

Problem with TextwriterTraceListener
Posted by WT at 8/9/2007 12:58:43 PM
Hello, My code is using a class inherited from TextWriterTraceLister, creating a new object on Application_Start and inserting it in the listeners collection. This has run for years,but on a new 2003 server with all last fixes, I am unable to get a trace, it seems that our code is not call...more >>

ColGroup for a table element gets lost when the table element is made visible/invisible
Posted by TS at 8/9/2007 12:53:50 PM
I am losing my colgroup html element of a table that i toggle back and forth of being visible=true/false. is there any workaround since the rendered html doesn't contain it even though it has not been explicitely been made invisible? note also that even when the table is made visible=true, col...more >>

Adding columns to a new DataTable
Posted by Nathan Sokalski at 8/9/2007 11:46:06 AM
I have a new DataTable that I want to add columns to. I have found that you need to do this using the DataColumnCollection class, but I am still having trouble doing this. Can somebody give me an example? Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/ ...more >>

Webservice returns recordset as XML-File
Posted by Michael Haberfellner at 8/9/2007 11:22:34 AM
hi everyone, as newbee in asp.net-webservices i was looking for examples, solving the following problem: i do have to programm a webservice that connects to a sql-server and selects a recordset by the handed id (parameter of the webservice). so far no problem. but the webservice shoul...more >>

Working on a server other than localhost
Posted by Mike Gleason jr Couturier at 8/9/2007 9:17:39 AM
Where I work at, we have a development machine with Vista. We have a project we must develop in ASP.NET 1 We can't debug the application due to an issue with IIS in Vista with MSDEV 2003 Is it possible to create/edit/build the project remotely on another machine running XP on our local netw...more >>

Is it a good option to use some components developed by web client software factory
Posted by DotNetGuy at 8/9/2007 9:04:53 AM
I have developed a data access layer in my web site application by using web client software factory and put it in my business module as a service. The question is: Is it a good option to reuse this data access layer in my web services developed with Web service software factory to remove th...more >>

ASP.NET Design and Development Best Practices?
Posted by H Powell at 8/9/2007 8:44:02 AM
Greetings! Our existing high-traffic internationalized websites were built with "classic" ASP. We are currently planning to migrate the sites to ASP.NET 2.0 (maybe 3.0?). Our current "classic" ASP sites use XML/XSL to separate content from design. This allows our designers to create the...more >>

Forms Authentication / Role based security
Posted by djhexx NO[at]SPAM gmail.com at 8/9/2007 8:40:08 AM
Is it possible to do role based security using AD groups in conjunction with Forms authentication? If so, how? I've seen people talk about using AzMan to solve this problem...but is there an easier way? Right now we have a site that uses Windows authentication and role based security to lock...more >>

Programmatically Modify Value In Web.Config
Posted by Joey at 8/9/2007 8:18:05 AM
Is this possible? I have an app where we are using forms authentication and are allow editing/changing of security role names. Since I have set permissions with <location> tags in web.config (i.e. allow roles="Administrator"), I will also need to modify the values there. TIA, JP ...more >>

App_Error In Global.asax and HTTP 404 File Not Found
Posted by Joey at 8/9/2007 8:15:52 AM
Why do HTTP 404 File Not Found messages not get trapped and sent into App_Error in Global.asax, like most other errors/exceptions? How do I detect it? ...more >>

Regex match excluding search string in result:
Posted by jobs at 8/9/2007 8:01:00 AM
I have a string that looks like this: 'ACCEPT - The transaction succeeded. Merchant Reference Code:OrderId Request ID: 1865550982350176174087 Authorized Amount: 10.00 Authorization Code: 123456 Authorization Time: 2007-08-09T14:18:18Z I need to pull out that string after "Request ID: " wh...more >>

A DropDownList control updating Gridview Control
Posted by Peter at 8/9/2007 7:26:01 AM
Hi folks, A web form has a DropDownList control and GridView control. Both are data binding. I expect that selecting an item in the DrowDownList will update the GridView visually. But, extra step is necessary by selecting any item in the gridview, the gridview then refreshes. the rel...more >>

Check Box Question
Posted by JJ297 at 8/9/2007 7:08:57 AM
I need some assistance with a check box question. I have two check boxes on a page: <asp:CheckBox ID="ChkYes" runat="server" Text="Yes" / > <asp:CheckBox ID="ChkNo" runat="server" Text="No" /> This is under button_Click My two fields i...more >>

.aspx.vb code syntax
Posted by slinky at 8/9/2007 6:59:18 AM
I'm making a OLE DB connection in code and was wondering if anyone could identify what the syntax errors would be in this just as it is pasted (I tried putting & _ at the end of the first line and that only brought up other errors): New OleDbConnection("Provider=Microsoft.Jet.OLEDB....more >>

EnableViewState strange behaviour ???
Posted by Chris Peeters at 8/9/2007 4:31:11 AM
Hi, I have a listBox listed with colornames and a panelcontrol that takes the color of selecteditem from the listbox whenever I click a different item: protected void lstColors_SelectedIndexChanged(object sender, EventArgs e) { pnlColor.BackColor = Color.FromName(lstColo...more >>

How to get repeater cell values without using ID
Posted by ksenthilece NO[at]SPAM gmail.com at 8/9/2007 12:00:00 AM
I needed to get each values of a particular cell ..i.e cell value is integer and add each value of the column and display it in the footer..can anyone suggest ...more >>


DevelopmentNow Blog