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
January 2007
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 webcontrols > october 2004 > threads for october 1 - 7, 2004

Filter by week: 1 2 3 4 5

Can't load/retrieve a picture from the database
Posted by Comfort at 10/7/2004 4:41:34 PM
I have made my webform which is used to load and retrieve the picture from the database. When I run that form in a machine where it is developed it work properly. But when I run it in another machine, it fail to save/retrieve the picture. Is there any one aware of this problem? ...more >>

How can I load a picture from the database and display it on the form
Posted by Comfort at 10/7/2004 10:50:19 AM
How can load a picture already saved into the database and display it on the form using the VB.NET? Up to now I have already managed to take a picture from any storage drive and save it into the database and take it back to any storage drive. The issue is on how can I take it directly from the da...more >>

VS 2003 and VS 2005 Beta
Posted by Mariusz at 10/7/2004 8:36:15 AM
Hi, I would like to know if this is possible to have VS 2003 and VS 2005 Beta installed at the same time. And if it is possible to launch Asp.Net applications on old framework while using asp.Net 2 applications with new Framework. I would like to check out new VS byt I don't want it to mess with...more >>

ViewState of Child Controls Not Working Mystery???
Posted by Earl Teigrob at 10/7/2004 8:03:07 AM
I can not get the child controls of my custom control to retain view state To use this control initial page load 1. the containing page dynamically creates a control (button, in this case) and assigns it to the property "ControlToCreate". 2. This property saves the type and id of the cont...more >>

DropDownList with EnableViewState="false"
Posted by Rajagopal at 10/7/2004 5:30:20 AM
Hi all, I am trying to fire SelectedIndexChanged event at server with EnableViewState = "false". Since I have more than 10 DropDownLists in single page, I don't want values of DropDownList maintained in ViewState. Is there any way that I can do it without ViewState? Thanks, Rajagopal ...more >>

Prevent access back.??
Posted by Daniel at 10/7/2004 12:59:03 AM
Hi, Can asp.net prevent user to click "Back" button that's on the top left coner of the IE web browser ?? any ideas.. thanks in advance.. daniel....more >>

Very weird thing ...
Posted by Koen Hoorelbeke at 10/6/2004 9:35:02 PM
Hi there, I have a very weird problem. I've created a page with a user-control on it. Very simple. A form that simply sends some information to an email address when you push on a button. When I try it out on my laptop, no problem. When I upload it to my staging/development server, it wo...more >>

Add RequiredFieldValidator -- Post doesn't work.
Posted by Michael Reinhart at 10/6/2004 6:27:15 PM
Hi all. I've got a form with lots of stuff on it, but nothing really unusual... some text boxes, listboxes, dropdownlists, and a couple of Peter's Calendar Text Boxes. I've got a button that some does some oledbstuff, inserting data into a database--- this all works fine, until I put a R...more >>



LoadViewState not called in custom control
Posted by Brad at 10/6/2004 3:54:10 PM
A custom control I have created overrides LoadViewState and SaveViewState. Problem is that my override of LoadViewState is not getting called: debugger breakpoint is not stopping at in it. The control is similar to panel control, it allows child controls to be added within it: so ParseChildre...more >>

Icon as errorProvider in WebForm
Posted by Ken at 10/6/2004 2:01:02 PM
hi I'm using a RequiredValidator (WebFom).. is there a way to show an icon similar to the erroProvider's icon (WinForm) when there's not input on a field? Any Sug Ken...more >>

How can i handle post back event of the control that is added on the OnPreRender () method
Posted by Umut Tezduyar at 10/6/2004 10:08:30 AM
Because of the fact that, handling events method ( IPostBackEventHandler.RaisePorstBackEvent method) is prior to OnPreRender method, i cannot handle the events of the controls that i am adding on the OnPreRender method. Is there a way for that. Can i manually tell asp.net page to check a...more >>

Important Information on ASP.NET Vulnerability
Posted by Ken Cox [Microsoft MVP] at 10/6/2004 8:47:14 AM
"Microsoft has posted guidance that protects against a reported vulnerability in all versions of ASP.NET that could allow a Web site visitor to view secured content by using specially crafted requests to a Web server. " Here's a suggested fix: Global.asax code sample (Visual Basic .NET) ...more >>

User Control not in available controls to validate
Posted by thadpeiffer at 10/6/2004 8:41:05 AM
Hello! Is it possible to create a web user control, drop it on a web page, and then validate it using any of the validators other than the custom validator? None of the controls that I've created show up in the DropDownList as being able to be validated. Thanks! Thad...more >>

ListItem VALUE -I can not set with code (taking text property inst
Posted by Ron at 10/6/2004 7:51:04 AM
I am trying to use code to create a dropdownlist box that has different values than text for instance: <asp:DropDownList id="someID" runat="server"> <asp:listitem value="12345">ABCDE</asp:listitem> <asp:listitem value="98765">FGHIJ</asp:listitem> </asp:DropDownList> I am using cod...more >>

TabControl in a WebForm?
Posted by no0spam NO[at]SPAM yahoo.com at 10/5/2004 8:27:46 PM
I'm trying to figure out how to create a tabControl in a WebForm (I'm a newbie - sorry if this is a dumb question :) I've been able to set it up in a Windows Form, but would prefer to get it working directly in the WebForm. a) Is it possible to do? b) If it is, can an anybody point me to som...more >>

Dataset items to variables !!! URGENT!!!
Posted by Michael Persaud at 10/5/2004 4:57:32 PM
Hi All, I am trying to write the contents of a dataset to variables that i have declared as string types. I cannot seem to get it right to assign the field values to the variables Pls Help Thanks MP Sub getuserDetails() Dim str As String = "Select Address,City,Telephone,Alterna...more >>

Place .NET custom control on any WebPage
Posted by Steve Amey at 10/5/2004 3:48:02 PM
Hi all Is it possible to create a Web User Control using VS.NET 2003 and have that control displayed on any web page. The pages may be made using any web development tool, not necessarily .NET. If it is, are there any useful source projects or articles that would start a beginner off on the...more >>

Refrence image in datagrid with OnItemDataBound
Posted by David A. Coursey at 10/5/2004 3:32:38 PM
I am trying to change the image in my column depending on the status of the db field. All of the data is being populated correctly, I just haven't been able to get the image path to work. aspx page: <asp:boundcolumn visible="False" datafield="success" /> <asp:templatecolumn headertext="Sta...more >>

Custome Control...
Posted by Samir Patel at 10/5/2004 10:51:25 AM
Hi Everybody hai i am fine what about all of u? i have a problem regarding to ASP.NET custom control , can anybody help me? my problem is when i placed my custom control on page at design time i am not able to select the child control of my custom control,how can i do this second thing how...more >>

Calendar Control - Selecting a date in another month
Posted by Bob Hansen at 10/5/2004 9:17:56 AM
Howdy all, I'm setting the SelectedDate property on a Calendar control through code and sometimes that date may be in the next month, however, the calendar control still displays the current month and not the month of the date selected. If I advance to the month where the date is selected, it...more >>

Datagrid Expand/Collapse
Posted by Calvin KD at 10/4/2004 6:27:01 PM
Hi everyone, Can anyone advice me of a way to emulate the Tree Control by the use of DataGrid for Web forms? What I would ideally like to do is to have Summary rows with details rows hidden until such time that the user clicks a particular Summary row. Clicking it again will hide the details...more >>

User Controls Versus DLLs
Posted by geeksgk NO[at]SPAM yahoo.com at 10/4/2004 5:28:59 PM
Wondering what's the pros and cons in creating reusable web controls using 1. User Controls 2. C# class that creates the controls programmatically Example, I want to develop a page menu (Reset, Back, Submit etc) that I can reuse in all my screens. Reset and Back are Hyperlinks and Submi...more >>

HOW CAN I STORE AN IMAGE INTO THE DATABASE
Posted by Comfort at 10/4/2004 12:11:40 PM
I'm findout the way I can store an image file (a picture ) into the database using VB.NET. Is there anyone aware of this? It's very urgent. Any helpt on this will be highly appreciated. ...more >>

Remove an item from a datagrid on binding
Posted by A Traveler at 10/4/2004 10:54:05 AM
Hello, i have a datagrid which i have set up so it has "Accounting" style formating (alternating items with a different backcolor). There are a few rows which the client wanted removed. This is no problem to do, however the rows still count into the sequence for item,alternateitem,item,alter...more >>

Datagrid paging question
Posted by JK at 10/3/2004 3:48:49 PM
Hi, I use a datagrid and make use of paging. To add new records I use a stored procedure in SQL server, which returns the unique ID of the new record. This works well, but how can I make the datagrid automatically display (and highlight) the newly added row (how do I retreive the page number o...more >>

Help me in making users/deleting users in active directory
Posted by Sara rafiee at 10/3/2004 12:30:56 AM
Hi there, I need help in active directory, I want to make user in it and delete a user, but I couldn’t. could you please help me. as follow it is a code which should make user but it gives me error message. pLease if anyone could correct it and send it to me. Thanks in advance. Regards ...more >>

Use of a Repeater control in tricky situation
Posted by Alex at 10/2/2004 8:49:04 PM
Hello . I have the following situation : let's say I have 2 tables : Orders , Customers ( the classic simple case , eh ?) Orders has a field CustomerId - which is of course a FK to ID field in Customers Now I have to display something like this in a report : For a specif...more >>

Same prob in a different view (add buttons)
Posted by Richard at 10/2/2004 3:42:54 PM
(ASP.NET C#) why doesn't this work protected ArrayList editButtonArr; public void showArticle() { editButtonArr = new ArrayList(); for (int i = 0; i < comments.Length; i++) { Button editButton = new Button(); editButton.Text = "Testing"; editButton.Click += new EventHandler(edit...more >>

Add a button without adding it to design
Posted by Richard at 10/2/2004 12:30:08 PM
I'm making an ASP.NET project in C#, in Visual studio 2003, but when I add it only from the code, then I can't catch the event, but when I add it to the design I can catch it. the problem is that it isn't predefined how many buttons I want, so I can't add them to design, How do I solve this probl...more >>

Translate calendar control
Posted by Bnob at 10/1/2004 4:43:59 PM
It's possible to translate the month and days in the calendar control ? How can I reach the TEXT proportie of the month and days in this control ? Any idea ? thanks -- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com ...more >>

Giving Active X Component Permissions
Posted by Gary Townsend at 10/1/2004 4:40:42 PM
Server OS: Windows 2000 Server SP4 IIS: 5.0 Component Language: Visual Basic 6.0 Hey folks quick question hopefully be a quick answer too... I built an ActiveX DLL Component to manipulate file positions on servers other than the local machine. I went this route to avoid permission denied prob...more >>

Deployment of WebService
Posted by Danijel Valentic at 10/1/2004 1:51:51 PM
Hello! I have a asp.net application that uses a webService. I have made a webService as a undependent project and than added the webRefernece in MyApplication. When I was debugging it was working just fine. But now I want to deploy it to the server and I get the error that the ....mywebserv...more >>

Datagrid + Datareader + Paging
Posted by David A. Coursey at 10/1/2004 12:46:45 PM
This code works if I don't use paging, but then I get a mile long page. As soon as I put in paging it throws the error: AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID dgWebLog when AllowPaging is set to true and the selected datasource does not imple...more >>

HyperLink
Posted by Giuseppe Vitalone at 10/1/2004 11:38:26 AM
Hi! I've a Hyperlink and I want to give him a dinamic url... how can I do? In another point of my application I used <asp:HyperLink runat="server" NavigateUrl='<% #GetLinkUrl(DataBinder.Eval(Container.DataItem, "item")) %>'/> In the code behnid file: protected string GetLinkUrl(object ite...more >>

HowTo Use RegularExprValidator and DataList
Posted by HelpForNewbie at 10/1/2004 6:21:03 AM
I have a datalist of parameters that I need to validate. Each parameter (row) can represent a different data type. Some are dates, some are patterns as \d{2}[-]\d{2}. All are kept in the same table as varchar columns. How I would like to do is to add a new column to this table that contain...more >>


DevelopmentNow Blog