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 > december 2004 > threads for monday december 27

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 to ignore postback values?
Posted by Bob Owens at 12/27/2004 11:35:12 PM
Hi all, I have an html form (generated by asp.net of course) with several DropDowns and text boxes on it. I'd like to handle things such that every time the form is posted back this information is saved (to a database in my case, but that's not important here) and the various asp elements ar...more >>


FormsAuthentication using windows
Posted by Fredrik Elestedt at 12/27/2004 10:12:07 PM
Hi, I've been trying to use FormsAuthentication agains windows users and groups - not Active Directory. I couldn't find any articles on this directly, not to say that there aren't any out there, if you know of one - please let me know. Anyways - the problem I'm having is that only Administr...more >>

Arrays
Posted by et at 12/27/2004 9:18:37 PM
It seems that Arrays is one of those things that got more difficult with ..net. How can you add an item to an array? The examples I found say you have to declare the array at the same time you set its values, which doesn't help. I have a public array declared in the declarations section o...more >>

Make scrolling text
Posted by David at 12/27/2004 8:48:46 PM
how can I force Label to scroll horizontali on my form? ...more >>

or_C#?
Posted by Asha at 12/27/2004 8:03:01 PM
hello can someone tell me how to accomplist IIF in C# thanks!...more >>

ANN: ASP.NET Barcode Professional WebControl
Posted by Neodynamic at 12/27/2004 5:28:33 PM
Neodynamic Components for Microsoft .NET Plataform Is pleased to announce the new version of its proven ASP.NET Barcode Professional WebControl. Barcode Professional is a server control which can generate the most popular Linear and 2D Barcode Symbologies. Cross-Browser Compatibility. At ...more >>

Calling DataBind() multiple times-- strange side effects?
Posted by Jim Bancroft at 12/27/2004 5:26:01 PM
Hi everyone, I have a DropDownList I populate as outlined below. This is from my code-behind file: private void Page_Load(object sender, System.EventArgs e) { BindMyData(); DataBind(); } private void BindMyData() { DropDownList2.DataSource = ADONetDataSet.Tables[0]; DropDown...more >>

EnableViewState does not appear to work for asp textboxes?
Posted by John Blair at 12/27/2004 4:21:45 PM
Hi, I have the following code which suggests state information will not be kept for the textbox - but when i submit the form with textbox1.value ="ABC" and reshow the page it shows "ABC" instead of "test" i.e. the initial value. Any idea whats going on here? Note: This property enablevie...more >>



referencing assembly in GAC
Posted by Rod Snyder at 12/27/2004 4:21:06 PM
I have a dll that I want to reference in various projects; I have it strongly named and used the gacutil to put it in the GAC. I can browse to the assembly directory and see the dll, but in Visual Studio, when I use the add reference dialog box, the assembly doesn't appear. I've tried searching ...more >>

Dynamic Controls
Posted by Irfan Akram at 12/27/2004 4:03:01 PM
Hi Mr.Steve, First of all many thanks for your kind response. The thing is that I am trying to control the user's action of deselecting a checkbox, once he has selected it. Also the checkbox has been generated dynamically. If it is selected I do some other processing, so if it is then desel...more >>

Conditional display of web page element
Posted by Tom Wells at 12/27/2004 3:17:55 PM
I have a few things such as buttons and URLs that may or may not be shown based on the value of a database column. I can hook to the database and get the dataset and datarecord just fine. I can retrieve the value into a variable fine. My problem is that I have no idea what code to use to tell a...more >>

Hitting the enter key
Posted by Andy G at 12/27/2004 2:56:27 PM
I have a login page w/ a few buttons on it. When the user types in their username and password and hits the "Enter" key the applications runs the on click event for another button on the page. I don't think tab control has much to do with this. I need it so whenever someone hits the enter key ...more >>

Opinions wanted regarding efficiency and drop down list data
Posted by Wysiwyg at 12/27/2004 2:42:03 PM
I was hoping to get some opinions on the efficiency of various methods of reusing the same dropdown list data. Here is the situation: Multiple panels on maintenance pages with TAB menus across the top showing different panels. A DropDownList with a 50+ value/text entries exists on more than...more >>

Displaying warning messages...
Posted by Irfan Akram at 12/27/2004 2:41:03 PM
Hi Guys, I was wondering if you can help me with this question. I am trying to display warning messages on my web-page, prompting the user to check his action, and confirm what the current action would do. What is the best way of doing that in asp.net. I know that we can do that easily in w...more >>

aspnet_wp.exe (PID: 2248) stopped unexpectedly.
Posted by John A Grandy at 12/27/2004 2:26:57 PM
Has anyone unexpectedly encountered the following error for an ASP.NET application that was working fine? --------------------------------------------------------------------------------------------- web page displays error: Server Application Unavailable The web application you are attemp...more >>

DataList ItemCommand Needs two clicks
Posted by John Famiglietti at 12/27/2004 2:15:47 PM
Hi All, I'm using a pretty straightforward implementation of the DataList control. I'm only databinding if !IsPostBack, but I need to click on a button whose ItemCommand is DataList.SelectCommandName twice in order for the item to become selected. On the first click, my ItemCommand handl...more >>

Getting the page to display at the right place..
Posted by Irfan Akram at 12/27/2004 2:15:02 PM
Hi Guys, Wondering if you can provide me with some assistance on this one. I have dynamically generated radio buttons on my screen, which autopost back when selected. The problem is that each time the page loads, it ends up at the top of the screen and not where the interaction is taking pl...more >>

VB Code for PayPal
Posted by Bishop at 12/27/2004 2:06:40 PM
Any idea where I can find some sample vb asp.net code to redirect to PayPal. I can pass a total and an email address in the address line but wanted to find out how to do it like the encrypted button. PayPal's site has C# examples only. ...more >>

Startup script problem
Posted by bill yeager at 12/27/2004 1:38:58 PM
I'm registering a startup script in my "page load" event. Everything works fine when I run it locally, but when it's deployed to the webserver, it doesn't execute the javascript which is inside a ".js" file (on the root directory of the website). Here is the HTML where I have the javascri...more >>

New Line Error in URL (URGENT)
Posted by Vishal at 12/27/2004 12:40:02 PM
Hello, I have a URL like this: http://www.bla.com/login.aspx?url=....%0a.... now I need to remove the %0a, but it doesnt work. I tried this: <code> Dim strURL as string = Request.QueryString("url") strURL = Replace(strURL, "%0a", "") Response.Redirect(Server.URLDecode(strURL)) ...more >>

XML error in Web.config Error (Forms Authentication)
Posted by David GB at 12/27/2004 12:23:12 PM
I'm trying to set u forms mode authentiaction on a sub-directory. The web.config for the overall site is set to <authentication mode="None" /> In the sub-directory I have a very simple web.conig, but it gives me an error when IIS tries to process it: " '<', hexadecimal value 0x3C, is an i...more >>

Could not quit MSACCESS.EXE
Posted by Ezhil at 12/27/2004 12:01:04 PM
Hi- I am trying to create MS access file (.mdb) from the data set with the following code. Every thing is working fine. But I found the MSACCESS.EXE is still running in the Task Manager. When ever I run this program new MSACCESS.EXE is added to task manager. I could not kill the process aft...more >>

How do a make an <ASP:DataGrid column invisible when its data bound?
Posted by John Blair at 12/27/2004 10:44:02 AM
Hi, Code attached but the line that gives me an error is MyDataGrid.Columns(2).Visible = False It actually gives me an error for any value instead of 2 even when 9 bound columns of data exist. How do i hide a column? Thanks. MyConnection = New SqlConnection("server=(local);data...more >>

Datagrid Sizing
Posted by MrMike at 12/27/2004 10:31:01 AM
Is it possible to specify (or somehow set) the amount of space between each datagrid row without changing the amount of space between datagrid columns? I have a datagrid displaying data which needs to print on specially-sized labels. In order to accurately print one-datagrid row-per-label, I...more >>

How to create a hint?
Posted by Marek at 12/27/2004 9:41:12 AM
I'm trying to create a web page. I will have one column with records (table filled from dataset). If mouse will be on one from this records, i want to show a hint what is it (like in Windows - cursor on shortcut and i have a path to application). How can i do this? ...more >>

Get a value between 2 tags in a string???
Posted by DaveF at 12/27/2004 9:23:35 AM
I have a string like: [~tag~]Value I need[~/tag~] basically I need to replave that string with: <a href="TheLink.aspx">Value I need </a> -- Dave ...more >>

Whidbey and Classic ASP
Posted by gokulrajad NO[at]SPAM gmail.com at 12/27/2004 9:15:20 AM
Hi, Iam using WinXP professional machine, have installed the visual Studio 2005 (Beta) along with Whidbey. Iam able to run ASP.net applications but Iam unable to run classic ASP application on my machine. Could anyone suggest why. Thanks and Regards Gokul ...more >>

How to open a secure aspx page in a window without 'chrome'
Posted by kermit at 12/27/2004 9:15:15 AM
Hi, I am hoping this is a foolish or simple question. I am creating a multiuser app. consisit of a login page and a dataentry page. If the user leaves the data entry page (other than exiting the browser). I want them to 'have' to go back through the login screen and re-login. My proble...more >>

ASP.net Multi-Pages problem
Posted by pei_world at 12/27/2004 5:40:42 AM
I am trying to create a multi-pages app. I have created a template(T) and three other content usercontrols(u). how should I construct this structure? it is like T(u1) --take QueryString--> T(u2) -> T(u3) thanks ...more >>

display an image from the database
Posted by Thubaiti at 12/27/2004 4:53:05 AM
Hi, I have an image web control with other web controls.. <asp:Image id="itemImage" runat="server"></asp:Image> <asp:Label id="itemNameLabel" runat="server"></asp:Label> <asp:Label id="itemDescribeLabel" runat="server"></asp:Label> <asp:Label id="itemPriceLabel" runat="server"></asp:Label> ...more >>

easy sql connection
Posted by AccessStarters at 12/27/2004 3:21:22 AM
Can anyone please help me simply connect to northwind? Maybe some logical steps that I may be missing? I have tried many tutorials and they all give similar connections to the one below. Dim objConnection As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;" ...more >>

Forms authentication puzzle
Posted by branton ellerbee at 12/27/2004 2:19:21 AM
How do you implement a login control across multiple .aspx pages that allows access to pages and directories with the application you are designing? For example, imagine a login control that is located on everypage you go to until you have logged into the application. Once you have logged in...more >>

Find size of GetString in DataReader (vb.net)
Posted by Lee Walters at 12/27/2004 2:05:02 AM
Hi All I'm doing a 'select * from table' in my DataReader below and populating an array with the results. Obvisouly I'm only getting the first field from the results by the use of the GetString(0). My Question is how do I find out how many elements there are to GetString without havin...more >>

beginner's question about asp.net
Posted by pei_world at 12/27/2004 2:01:41 AM
I want to insert my usercontrol in to the middle of my template page according to switch case. something like [Register.aspx] switch(i){ case 0: insert usercontrol1 break; case 1: insert usercontrol2 } how can I control where to display this usercontrol in my page?? please help ...more >>


DevelopmentNow Blog