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 2006 > threads for sunday march 19

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

Random number generator, generating 10 different numbers. Need Help.
Posted by Wally at 3/19/2006 11:37:30 PM
I am after VB.net code for a random number generator that will generate 10 different numbers between 1 and 10 and put them into an array. For example I want the output to be something like 10,7,8,6,9,4,5,2,3,1. Can anyone provide me with the code? Thanks, ...more >>


make web.sitemap location dependent
Posted by mike at 3/19/2006 10:03:32 PM
I have 2 sites in my company. My .NET site uses a master page and a Menu control connected to a sitemap. In my sitemap file I would like to be able to do something like this: <sitemap> <sitemapnode site="City1"> <sitemapnode name="home" ... /> ***other menu items ...more >>

How to access a control in master page?
Posted by Miguel Dias Moura at 3/19/2006 9:38:34 PM
Hello, The pages on my web site use a master page. In my master page I have an Asp:Image. The Asp:Image has the same properties and position in all pages which is defined in my master page. However in each page I need to change the ImageUrl. How can I do this? Thanks, Miguel ...more >>

Global variable
Posted by Miguel Dias Moura at 3/19/2006 9:25:42 PM
Hello, I need to declare a global variable in my Aspx.Vb code to be available on my Aspx page. Where should i declare my variable inside my asp.vb code? Thanks, Miguel ...more >>

How to Sign Out in Asp.Net 2.0?
Posted by Miguel Dias Moura at 3/19/2006 6:51:56 PM
Hello, In my web site I am using Asp.Net 2.0 and "Membership.ValidateUser" to login a user. I didn't use the login controls. I created my own custom look login and used membership API. I created an image button which says logout. How to I make it logout when it is pressed. I tried to f...more >>

Move a <Div> through vb code
Posted by Vear at 3/19/2006 5:51:15 PM
Hi, I have several <Div>'s that I have assigned an ID for. When the page loads It set the Absolute Position through a Style sheet. Can I then reference the <Div> through VB to move it to another Absolute. if so can you show me the VB syntax. Thanks ...more >>

passing values between controls
Posted by evandela NO[at]SPAM bigpond.net.au at 3/19/2006 5:27:57 PM
Hi all, learning the asp.net is a slow process... but I am plodderign along. I have hit a bit of a snag - I have 4 pages of code here... control1.ascx control2.ascx default.asx... default.asx.vb relevant details (i think) on default.asx: <uc1:ProductList ID="ProductList1" runat="server" OnP...more >>

need help on datasouce select
Posted by guanfenglin NO[at]SPAM gmail.com at 3/19/2006 3:55:29 PM
Hi guys, I am a newbie in Visual Web Developer Express 2005. I have created a datasource bind to a ORACLE table, with a custom select query, it has a where clause to filter the id specified. query: select * from asp_test where person_id = :person_id code: selectSource.SelectParameters...more >>



Tricky Problem. Possible to modify response object?
Posted by cuj0 NO[at]SPAM bigpond.com at 3/19/2006 3:46:47 PM
Don't ask me why, but I have a situation where a "<base href="..." value has been set for all my pages, but under certain situations I don't want it to have an effect. Therefore, I was hoping that I could use a HTTPModule or the Global.asax to remove or modify the base href value when my condit...more >>

OT: getting older copies of IE to run
Posted by Darrel at 3/19/2006 3:38:21 PM
Has anyone gotten the older versions of IE to run on XP? I used to be able to run the standalone versions of IE on 2K: http://browsers.evolt.org/?ie/32bit/standalone I just downloaded 5.5 and 5.0. 5.5 ran once as 5.5, then I ran 5.0, and got the 'this is running in compatibility mode'. Fr...more >>

showing who is logged on
Posted by Tina at 3/19/2006 3:27:08 PM
(using 1.1) I need to show who is logged on to my asp.net application. I'm using forms authentication. I can add users to an application variable when they log in. But I need a way to remove them from the list after they have been inactive for so long. How can I do that? Is there an ea...more >>

Tree View for Non-Navigational Purposes
Posted by dave.dolan at 3/19/2006 3:10:26 PM
I have generated a nice tree view that displays some otherwise cyptic XML in an easy to follow manner. The trouble is that the TreeView assumes that I'm wanting a link in each of the nodes, and I really just want to display them for view only. How can I disable the link-ness of the data in t...more >>

GDI+ and SAVE JPG or BMP on the server
Posted by Ada at 3/19/2006 2:24:45 PM
First of all, I thought this might be a directory security issue but it's not. I was able to upload the file to the directory via HTTP. Here's the situation. I have a JPG file on my server. ..../images/myPIC.jpg I wanted to draw a box or line using GDI+ on top of myPIC.jpg and then save t...more >>

Response.WriteFile
Posted by christof at 3/19/2006 1:56:09 PM
I have situation like this, a file is made on server, then the clinet is downloading it to his machine and afterwards i wish to delete file on the server, unfortunately if i'm doing it like that, it doesn't work: Response.AppendHeader("content-disposition","attachment; filename="+...more >>

Dropdownlist in usercontrol doesn't fire
Posted by Kim at 3/19/2006 1:21:27 PM
I have a user control with 3 dropdownlist when a user selects the first listbox based on his/her selection the 2 listbox will load based off the users selection from the 2nd listbox the 3rd listbox will load. My problem is the first listbox works but when the user selects the 2nd listbox th...more >>

use vb.net function from classic asp page
Posted by Kent.Gallinger NO[at]SPAM gmail.com at 3/19/2006 1:11:41 PM
I have a web application that contains asp.net and classic asp pages. I have a vb.net function that I would like to use in one of the classic asp pages. How can I do this? Can I do this? Thanks, Kent. ...more >>

insert row using Gridview and SqlDataSource?
Posted by Dabbler at 3/19/2006 12:47:31 PM
I have an Insert command specified on my SqlDataSource but there's no AutoGenerateInsertButton property on the GridviewControl? Is there an easy way to use these controls to do an insert? Thanks....more >>

bridview doesn't appear if table is emtpy
Posted by Dabbler at 3/19/2006 12:06:28 PM
I'm using a gridview bound to an SqlDataSource. If the table is empty the gridview doesn't appear on the page. Is there a way I can force the empty gridview to appear to allow inserting new rows? Thanks much....more >>

Getting other data from Membership Provider
Posted by Dave at 3/19/2006 11:59:46 AM
Hi, I am using a membership provider in .net 2.0 for all my customer login etc. I am using their email address as their username which User.Identity.Name will give me. I want the actual Id (which I have against each user in my database at the PK) for my user though so that I can referenc...more >>

DataGrid paging on usercontrol
Posted by kimberly.walker NO[at]SPAM consultant.com at 3/19/2006 11:48:15 AM
I have a datagrid on a usercontrol and im using paging the problem is when i click on the second page and select a row it gives me the value of the first page in that specific row. Ive set the currentpage but it still isn't working. Any help will be greatly appreciated Thanks ...more >>

what sql datatype should be used with radio buttons or checkboxes?
Posted by Dabbler at 3/19/2006 8:53:11 AM
Not sure what SQL datatype should be used with radiobuttons since MS SQL doesn't support a boolean datatype. I would like to bind radiobuttons to an SqlDataSource. Thanks for any suggestions on this....more >>

regarding ICallbackEventHandler problem!!!
Posted by baroque Chou at 3/19/2006 5:19:36 AM
I have try a lot and found if I add "DataBind" to my codebehind, the callback dosen't works, but if I remove the databind ,it works again. ...more >>

Determining which control cause post back??
Posted by sunilthk NO[at]SPAM gmail.com at 3/19/2006 3:25:50 AM
Hi All, I have a question. If javascript is disabled how asp.net determines which control has caused the post back. As we know that when we clicks on the button the buttons name goes with posted data, so asp.net can detrmine which btn caused the post back. In case of dropdown lists(if auto...more >>

Reading Blobs from SQL and using it in an Image control of a webfo
Posted by JuniorProgrammer at 3/19/2006 2:39:13 AM
Please This is queit a task av been trying to solve. Could anyone please tell me how to read a blob from an SQL using a dataset and stuffing this image into the Image control of a webform. Any suggetion that would help would be highly appreciated. -- Iyke...more >>


DevelopmentNow Blog