|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
getting Membership userid to use and store in a custom database
TdarTdar -
5 Nov 2005 7:01 PM - 16 messages
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 ...
Custom DropDownList Control and ListItem
Vi -
5 Nov 2005 6:50 PM - 3 messages
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 ...
GridView DataFormatString not formatting
AcaBrian -
5 Nov 2005 1:36 AM - 4 messages
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 ...
How to add my web user controls to toolbox?
ABC -
4 Nov 2005 11:41 PM - 2 messages
I created a web user controls on the same project. When I recompiled, I cannot found my web user controls on toolbox. What happen? ...
General Event Handler For Runtime Buttons
roblaro -
4 Nov 2005 9:39 PM - 3 messages
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 ...
How to raise an event from web user control in C#?
ABC -
4 Nov 2005 8:01 PM - 2 messages
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. ...
detailsview asp.net 2 and insert confirmation
TdarTdar -
4 Nov 2005 5:51 PM - 5 messages
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" ...
AssociatedControlID??
Rob R. Ainscough -
4 Nov 2005 5:44 PM - 2 messages
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 ...
"Generatate DataSet" namespace
STech -
4 Nov 2005 2:50 PM - 3 messages
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. ...
Read file from webcontrol
STech -
4 Nov 2005 2:50 PM - 6 messages
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; ...
Composite control, postback and change control tree
STech -
4 Nov 2005 4:59 AM - 8 messages
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 ...
DropDownList question for PayPal button
GJH -
3 Nov 2005 10:04 PM - 2 messages
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 ...
Simple user control
Buddy Ackerman -
3 Nov 2005 9:16 PM - 2 messages
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 = Property2;" in the Page_Load procedure. Seems too simple to have an error but I've managed to do it. What am I missing? ...
Repeater with a nested DataList
Erik -
3 Nov 2005 8:12 PM - 16 messages
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 ...
solution: a radiobuttonlist with images
tim -
3 Nov 2005 6:50 PM - 4 messages
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 ...
DataList Indentation
SJ -
3 Nov 2005 5:05 AM - 2 messages
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> ...
How to use Javascript to add Treeview control
Peter -
2 Nov 2005 6:34 PM - 4 messages
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"" ...
WebControl with Collection Property in Design Time
Mirek Endys -
2 Nov 2005 11:54 AM - 7 messages
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: ...
Clickable labels
Peter Kirk -
2 Nov 2005 8:29 AM - 4 messages
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. ...
I want to have an ASP.net Textbox with TAG property like VB.net windows form???
Annie -
2 Nov 2005 1:50 AM - 2 messages
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? ...
ASP.NET 2 ICallbackEventHandler
Maya Nasri -
1 Nov 2005 2:02 PM - 3 messages
Hello everyone, I have upgraded to ASP.NET 2 and since then i had the code below stopped working after upgrading and modiftying the code: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; ...
Stop page going back to the top when submitting
Mike Owen -
1 Nov 2005 12:13 PM - 9 messages
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 ...
UserControl
Peter Kirk -
1 Nov 2005 10:17 AM - 4 messages
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 ...
about web control and thread
pan -
1 Nov 2005 9:40 AM - 2 messages
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; ...
Any freeware Side Menu with vb/c#?
Annie -
1 Nov 2005 9:33 AM - 4 messages
hello guys, Is there Any freeware side menu written in VB.net or C#? TA ...
Rounded corner button
RahulH -
31 Oct 2005 11:30 PM - 3 messages
Hi, I am a novice to System.Drawing namespace. I want to create a web custom button control with rounded images. I can create rounded corners, and image of text. but is there a way that i can now join these images into a single image. ...
error on query of derived datatable in dataset
cindy -
31 Oct 2005 5:49 PM - 3 messages
Get data into datatable, add to dataset dsSearch " Get data into datatable, add to dataset dsSearch Using In-Memory SQL Engine join the tables and select the filenames from the join, add to dataset dsSearch CODE ON [link] ...
Value and text are nothing on postback if ddl is filled client sid
Chris Lane -
31 Oct 2005 3:59 PM - 4 messages
Hi, Can somebody please explain why after postback a dropdownlist selectedindex.value and text are nothing if the dropdownlist was populated clientside with javascript. Are there any workarounds besides using the request object to get the value of the dropdownlist? ...
referring to a third-party contol in window.onload
dchillman -
31 Oct 2005 2:27 PM - 3 messages
I have a user control page (ascx) that contains a third-party spreasheet control. When the user clicks the insert button on the spreadsheet control, I am trying to pre-insert values into the new row. If I put the spreadsheet ...
Events fired by custom controls not caught
Richard Lionheart -
31 Oct 2005 5:43 AM - 8 messages
Hi All I'm following the tutorial at [link] to build a custom control consisting of three built-in ASP.NET controls: a textbox, button and calendar. The custom control builds correctly and ...
Accessing the properties of a dynamically loaded control
Vivek Sharma -
30 Oct 2005 10:45 PM - 2 messages
Hi There, I have a situation where I wish to load the controls dynamically on the basis of user role. Hence, I am using this code. if (UserRole == "IS Administrator") { Control UC1 = LoadControl("../UserControls/ISJob/uctlJobGeneral.ascx"); ...
Checkbox in datagrid
Tommy -
30 Oct 2005 8:57 PM - 2 messages
I have a datagrid with a checkbox in one col. It's bound to a row in my table. I need to allow my user to select multiple records then process each one when they click a button. How can i iterate through each row in my grid and check the checkbox's ...
|
|||||||||||||||||||||||