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 > november 2005 > threads for november 1 - 7, 2005

Filter by week: 1 2 3 4 5

Datagrid paging I lose my sort
Posted by cindy at 11/7/2005 2:40:23 PM
I have a ds from sql, datagrid has sorting true, 3 databound and 1 template column sort expression are the data values Does a sort and then I page to second pageand I lose the sort. How can I sort the data and then page the results without losing the sort. Also is there a way that when I do...more >>

Hyperlink Control
Posted by chandra at 11/7/2005 3:09:00 AM
Hi, I am a newcomer in the asp .NET c# area. I really need some help here. I have two web page DEFAULT.ASPX and JOBCATEGORY.ASPX. Inside the DEFAULT.ASPX there are some webparts. There is a hyperlink control in one of the webparts that I generate using the following codes, HyperLink ...more >>

Sorting only certain columns in datagrid
Posted by Cathryn Johns at 11/7/2005 2:26:55 AM
Hi I'm binding a dataset to my datagrid at runtime, and I want to allow sorting only on certain columns. How do I do this? If I set AllowSorting to true, all the column headers are underlined and sortable; if I set it to false, none of them are, even if I set the SortExpression property for...more >>

Error in DataList test query - aspnet 2.0
Posted by dennist685 at 11/7/2005 12:31:42 AM
Error in DataList test query - aspnet 2.0 I found some vs 2005 asp.net walkthroughs. The first I tried required Northwind. But sqlserver 2005 came with AdventureWorks, so I used that instead. I followed the walkthrough instructions, dragging a DataList to Design, and clicking the smart tag t...more >>

VB and get text behing java
Posted by Jake at 11/7/2005 12:00:00 AM
Hi, I have to connect a http address in where is page that contains java functions. The functions fetch needed text to page. How I can get the text for VB-handling??? Web Newbie, Jake ...more >>

Enter Key posts the Page
Posted by Prakash at 11/7/2005 12:00:00 AM
i am using a textbox and i need to popup a dialog on Enter Key, i have used javaScript for it.The pop-up is coming but the page gets posted.I am using asp:button to save the information in page.i have set tabindex and focus but nothing is working,how to stop the page being posted, Is there any w...more >>

FormView DataBinding in Insert mode
Posted by Anders Skoglund at 11/7/2005 12:00:00 AM
Hi, I'm using the FormView control in combination with an ObjectDataSource control to handle insert and update operations. The ObjectDataSource control has a DataObjectTypeName defined that stores the information for each field. When entering Insert Mode I would like to Bind the FormView co...more >>

Gridview Updates not writing to database after clicking update
Posted by Rickey Whitworth at 11/6/2005 7:08:45 PM
I have a gridview tied to a single table in a sql server database. I have created an update query on the datasource UPDATE dbo.PredefinedTasks SET PredefinedTask = @PredefinedTask, TaskFilterID = @TaskFilterID WHERE (PredefinedTaskID = @original_PredefinedTaskID) I have enabled the gridv...more >>



Dynamically Adding DataLists
Posted by Nathan Sokalski at 11/6/2005 5:30:07 PM
I have a page on which I want to display several sections each of which contain a list of names. I have two database tables, one of which contains the section headings, and the other contains the names and which section they belong to. I would like to use databinding to display this informatio...more >>

getting Membership userid to use and store in a custom database
Posted by TdarTdar at 11/5/2005 11:01:03 AM
Hello, What is the code to retrive the userid of the currently loged in user from the asp)user membership databse using the new login controls of asp.net 2. How do i use that in the "configure database source. What is the source would it be profile or from the cookie, and if it is ...more >>

Custom DropDownList Control and ListItem
Posted by Vi at 11/5/2005 10:50:02 AM
Hi, I'm trying to create a custom DropDownList Control. Everything seems to be OK until I'm adding ListItem-s to the control. I'm getting the error: " Could not load type ControlLib.ListItem from assembly ControlLib" (ControlLib is the project where the custom DropDown control is defined). H...more >>

GridView DataFormatString not formatting
Posted by AcaBrian at 11/4/2005 5:36:58 PM
Formatting of column values was working fine with Beta 2 but is not working with the final release. What changed? eg. {0:c} or {0:d} not working...more >>

General Event Handler For Runtime Buttons
Posted by roblaro at 11/4/2005 1:39:02 PM
Hello, I have an asp.net 2.0 app that will create a group of linkbuttons at runtime. The ID of these links buttons will autogenerated. I want to write a method that will be fired when any one of these buttons is clicked. For some reason I can not figure out how to do this. Here is some...more >>

detailsview asp.net 2 and insert confirmation
Posted by TdarTdar at 11/4/2005 9:51:05 AM
Hi, using a detailsview and sql, setting the details view to insert as the primary view, after someone inserts the data they want to I would like to do something eather A: have that page show "Your Request has been Processed" or B: Rediret them to another page after they click t...more >>

AssociatedControlID??
Posted by Rob R. Ainscough at 11/4/2005 9:44:28 AM
I've done some checking and Microsoft's documentation says that this property is only available in .NET framework 2.0?? I only have .NET framework v1.1 and this property IS available? I'm not clear what this property is supposed to accomplish -- what I've read about it varies. Can someone...more >>

"Generatate DataSet" namespace
Posted by STech at 11/4/2005 6:50:23 AM
How can I specify a namespace for the generated dataset class? It picks up the folder name the xsd is in and adds it to the namespace. I do not want it to do that. Thanks in advance....more >>

Read file from webcontrol
Posted by STech at 11/4/2005 6:50:13 AM
What is the recommended way for reading a file in a webcontrol. I cannot use the code below because HttpContext is not available in design time and so the user cannot preview the data at design time. HttpContext hc = HttpContext.Current; if (hc != null) myDataset.ReadXml(hc.Request.MapP...more >>

How to add my web user controls to toolbox?
Posted by ABC at 11/4/2005 12:00:00 AM
I created a web user controls on the same project. When I recompiled, I cannot found my web user controls on toolbox. What happen? ...more >>

Composite control, postback and change control tree
Posted by STech at 11/3/2005 8:59:07 PM
I am writing a WebControl that has a dropdownlist and 1..n TextBox controls. Autopostback is enabled for the dropdownlist. When the first dropdown item is selected, I want 1 TextBox control to be rendered, when the second dropdown item is selcted I want 2 TextBoxes to be rendered and so on....more >>

Dynamically Created Controls in VS2005 ASP.NET 2.0
Posted by Amelyan at 11/3/2005 5:57:15 PM
My standard dynamically created controls (e.g. Button, RadioButton, etc.) stopped firing event assigned to them in VS2005 (final release) ASP.NET 2.0. Is anyone else having the same problem? I guess a better help would be for someone to recommend a proper way of dynamically creating a contr...more >>

DropDownList question for PayPal button
Posted by GJH at 11/3/2005 5:04:21 PM
I am using paypal's AddToCart button control. I have a datagrid with the AddToCart button and dropdownlist nested inside and the dropdownlist is being bound with different data based upon what row the dropdownlist is in, in the datalist. I need to set the AddToCart button's "ItemName" with the v...more >>

Simple user control
Posted by Buddy Ackerman at 11/3/2005 3:16:55 PM
Trying to create my first user control (one that really doesn't do much) = and I keep getting an error saying "Object reference not set to an = instance of an object." on the line "mylabel.Text =3D Property2;" in the = Page_Load procedure. Seems too simple to have an error but I've managed = to...more >>

Repeater with a nested DataList
Posted by Erik at 11/3/2005 12:12:06 PM
Good Afternoon, I am trying to nest a DataList in a Repeater ItemTemplate, but am receiving a error stating that the datalist is not defined. The id is set for the DataList. Is this possible? The reason for this architecture is to dynamically create the column header labels and items for...more >>

solution: a radiobuttonlist with images
Posted by tim NO[at]SPAM mackey.ie at 11/3/2005 10:50:47 AM
i looked on this group to see if anyone had posted anything about this, and i found a few dead-end posts which seemed to conclude that it couldn't be done. i used a very simple approach that works well, and am posting it here for anyone looking to see how to do it. the requirements are to pre...more >>

How to raise an event from web user control in C#?
Posted by ABC at 11/3/2005 12:00:00 AM
I am a starter. I use ASP.NET. I just write a web user control. Is there any samples or tutorials about to raise events from web user control. ...more >>

How to use Javascript to add Treeview control
Posted by Peter at 11/2/2005 10:34:01 AM
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%"" BORDER=""0"" CELLSPACING=""0"" CELLPADDING=""0"" ID=""Table1""> " & vbNewLine) writer.Write(" ...more >>

Clickable labels
Posted by Peter Kirk at 11/2/2005 9:29:17 AM
Hi how do I create a "link" which calls a method in my code behind? I have a repeater which shows a table of results, and some of the cells in the table need to be clickable and cause things to happen. Could be something like the following I want (doesn't work of course). Here I try to ...more >>

WebControl with Collection Property in Design Time
Posted by Mirek Endys at 11/2/2005 12:00:00 AM
Hallo, I need to create WebControl, that stores List of Hyperlinks. I have problem in design-time. When I add an hyperlinks, they are rendered in contents, hyperlinks are vsible on page. In case I switch into source and then back into design, the control says: Error Creating Control - Web...more >>

DataList Indentation
Posted by SJ at 11/2/2005 12:00:00 AM
I'm using codebehind to populate my datalist, but having a lot of trouble keeping the indentation of the datalist in place. This is what i'm doing right now : <asp:datalist id="LogList" Runat="server" width=150 Itemstyle-wrap=true> <ItemTemplate> <table cellSpacing="0" cellPaddi...more >>

UserControl
Posted by Peter Kirk at 11/1/2005 11:17:11 AM
Hi I have an ascx: a web page + code behind. In the code behind I generate several lists (generated from a database) which are displayed on the page. When a user clicks on an item from one of the lists I have to perform a new database search, and present another page. One question is, i...more >>

Stop page going back to the top when submitting
Posted by Mike Owen at 11/1/2005 4:13:01 AM
I have a LinkButton in the middle of a page, which is used to submit search criteria to a piece of back end code. The results of the seach are shown just above the button. When the user clicks on the link button to perform a search, they are taken back to the top of the page when the resul...more >>

Any freeware Side Menu with vb/c#?
Posted by Annie at 11/1/2005 12:00:00 AM
hello guys, Is there Any freeware side menu written in VB.net or C#? TA ...more >>

I want to have an ASP.net Textbox with TAG property like VB.net windows form???
Posted by Annie at 11/1/2005 12:00:00 AM
hello guys, I really need to have a textbox tht has a TAG property. I don't know why the webform doesn't have one. Is it easy to add a new property to an existing textbox? Any examples around? Does it require a lot of work? TA ...more >>

about web control and thread
Posted by pan at 11/1/2005 12:00:00 AM
hello,everybody: Can i update a web control's value in a thread without refresh the web page ? i create a thread and a web page which has a listbox; i plan to add some text into listbox in the thread; but when i set text to the listbox in thread,there is no change on the listbox....more >>


DevelopmentNow Blog