all groups > asp.net webcontrols > december 2005 > threads for december 1 - 7, 2005
Filter by week: 1 2 3 4 5
Control.Controls bug? Control's child controls missing at the run time.
Posted by sinelnikov.andrei NO[at]SPAM gmail.com at 12/7/2005 1:56:13 PM
Hello,
..NET 1.1/VB.NET:
I have a custom web control
Public Class DatePicker
Inherits Control
Implements INamingContainer
In the CreateChildControls I adding some controls to it:
Protected Overrides Sub CreateChildControls()
placeJavascript()
... more >>
Events not fired for Dynamically Created Controls in VS2005 ASP.NET 2.0
Posted by Richard Huang at 12/7/2005 1:29:11 PM
Following code worked for VS.NET 2005 Beta 2, but not for the final
release. When clicking the button, it posted back, but the
"addQL_Click" method is not called. Any suggestion would be very much
appreciated.
public class MyEditor: EditorPart, INamingContainer
{
protected override... more >>
Understanding query strings
Posted by Rickey Whitworth at 12/7/2005 10:25:19 AM
I have a page with two web controls - a drop-down list of server names and a
gridview that shows details about that server. The gridview is using the
drop down list as a parameter, so changing the selected server in the
drop-down list causes a postback and the gridview updates to the new serve... more >>
preserve password field over steps in wizard
Posted by sam at 12/7/2005 4:55:02 AM
A wizard control has 5 steps. On step 3 the user is prompted for a value
that is entered in a password box mySecretValue. What is the best way to
ensure that the value in mySecretValue is available when the final processing
is done in step 5. At the moment it keeps getting set to empty str... more >>
onload called only once
Posted by hemant at 12/7/2005 4:43:02 AM
I have a function foo() which gets called on <body onload=foo()> but i want
this function to run only once, once the application loads, all subsequent
postbacks should not fire this function. give me a complete solution. How to
handle this?
--
Hemant Singh
Software Programmer
... more >>
contenteditable
Posted by Michael Richter at 12/7/2005 1:26:01 AM
hi, all,
this is my first attempt in this newsgroup so please be forbearing if I am
posting to the wrong newsgroup or the question might be some kind of rtfm ;-).
I actually have a little problem in understanding the contenteditable
property. MSDN2 declares this as a good thing to use if wan... more >>
View State problem when multiple user work on the same page
Posted by Yong Kurt at 12/6/2005 7:38:12 PM
Hi, there,
When I use View State to save sort expression between page post so that
paging after sorting can work fine. I get following problem:
When multiple user work on the same page and they are sorting the data
with different field, because there is only one copy for the data (sort
expr... more >>
Custom Buttons
Posted by martinharvey via DotNetMonster.com at 12/6/2005 4:50:22 PM
I would really appreciate some help with two questions
1) I have some buttons that i created with dreamweaver and i want to use
these as asp.net buttons. Can anyone tell me how to do this
a ) outside and b) inside the datagrid
2) I want to click on an image in the datagrid and have the det... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VS2005 Designer does NOT display asp:panels!! Why?
Posted by Rob Dob at 12/6/2005 2:19:06 PM
The following code works fine when executed, however will not display
correctly within the VS2005 Designer, why is this? is this a bug? it
works fine in VS2003, If I move the ASP:Panel to also contain the <TABLE
then everything displays correctly, but my orginal VS2003 code makes use of ... more >>
Coding issue
Posted by John at 12/6/2005 2:41:05 AM
Hi
I am using the following for a check box;
<asp:CheckBox ID="KeepLggedin" runat="server" Text="Keep me logged in"
Height="1px" Width="302px" EnableTheming="True" />
The problem is that the text "Keep me logged in" always appears under the
tick box and not next to it on the right. What... more >>
2.0 menu control and color
Posted by Trapulo at 12/5/2005 10:46:43 PM
I've created a menu control, that I use in my master page. I've a problem,
because my pages use a css that define a color for "A" tags that is
invisible over menu background. So I need that all menu's item have white as
forecolor, but I cannot make this. I've tried to set to "white" all
"forecol... more >>
Requiredfieldvalidator1 Cancel??
Posted by GW at 12/5/2005 7:28:07 PM
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnCancel.Click
Requiredfieldvalidator1.Enabled = False ' tried
Requiredfieldvalidator1.Dispose 'Tried
Response.Redirect("default.aspx")
End Sub
How does one cancel the Requiredf... more >>
Access db with login control
Posted by John at 12/5/2005 5:06:33 PM
Hi
Is it easy enough to use Access db with the built-in user control in asp.net
uses? Is there an example somewhere?
Thanks
Regards
... more >>
UserControls via LoadControl within a TreeView
Posted by Keith Patrick at 12/5/2005 2:29:45 PM
I'm trying to do the old "dynamically create controls via LoadControl don't
fire events" thing, but whereas normally, I could put some code in the
viewstate handlers to put the controls back into the control hierarchy
during initialization, the problem in my case is that my base control is a
Tre... more >>
Dropdownlist: SelectedValue which is invalid
Posted by Karl-Inge Reknes at 12/5/2005 12:48:02 PM
I have a Formview with a dropdownlist. The dropdownlist is bind to the
formview datasourceobject. When I retrieve a value that is not in the
dropdownlist I got this error:
“'DropDownList1' has a SelectedValue which is invalid because it does not
exist in the list of items.
Parameter name: ... more >>
Formview current Row
Posted by Karl-Inge Reknes at 12/5/2005 10:45:04 AM
Can anybody tell me how I can get an column from current row from
code-behind, C#.
The formview is connected to an objectdatasource.
Karl-Inge... more >>
Login control tutorial
Posted by John at 12/5/2005 4:05:25 AM
Hi
Is there a step by step tutorial that explains how to use user login/roles
feature built in the asp.net 2.0?
Thanks
Regards
... more >>
Webparts design mode question
Posted by Jonathan Carter at 12/5/2005 3:41:21 AM
Has anyone been able to successfully get webparts to work properly in
design mode for any browser except for Internet Explorer? My experience
shows that the "dragability" feature doesn't work out of the box for
Firefox, Mozilla, or Opera, but I've heard that some have gotten it to
work. Any ... more >>
Spin box control
Posted by Andrew Chalk at 12/3/2005 6:20:58 PM
I do not see a "spinbox" control in VS v7.1 (ASP.NET v1.1). Does anyone know
of a URL that describes how to create one?
Thanks.
... more >>
ObjectDataSource .net 2.0
Posted by Joe Reiss at 12/3/2005 2:15:48 PM
Hi all,
I'm using a gridview with a embedded dropdownlist and a objectDatasource as
its DataSource. The objectDatasource uses a DataObjectType for its data
instead of the parameter collections for Select,Update,Insert and Delete
methods.
In this Gridview I have a dropDownList which disp... more >>
Formview DropDownList bug??
Posted by Karl-Inge Reknes at 12/3/2005 11:52:01 AM
I have a page with a formview control who datasource is a objectdatasource.
In edit mode template I have tree dropdownlist; Year, Month and Day. Each
dropdownlist i populated from an objectdatasource object and is bind to
column in the formview control objectdatasource. The objectdatasource ob... more >>
validation summary not always showing message box
Posted by TS at 12/2/2005 3:33:13 PM
i have a form with val summ on it and most of the time it displays the
errors on the screen as well as a popup. If all validators are passed and
execution goes to the server, on certain conditions, i will dynamically
create a custom validator and add it to the form. The problem is, these
alw... more >>
Why usercontrol won't allow Request.Cookies
Posted by Andy Sutorius via DotNetMonster.com at 12/2/2005 2:55:46 PM
I'm getting an error, Request is not available in this context, when I run a
usercontrol and instantiate a class and call a property in that class which
calls Request.Cookies. The instantiated class inherits the Page class. Why
won't this work?
namespace ui
{
public partial class topNav ... more >>
uniqueidentifier and updating record
Posted by Al at 12/2/2005 10:39:03 AM
Hi,
I am using the GridView control to display membership info. However I
cannot get it to update a record. I think the issue has to do with
uniqueidentifier and have tried some things I found around the Internet to no
avail. The UserId is a GUID and a SQL trace shows a NULL in the update.... more >>
DataGrid and ViewState
Posted by mfergu98 NO[at]SPAM yahoo.com at 12/2/2005 7:50:46 AM
Hello: I have several dynamic datagrids being created with editable
templatecolumns. I have a button added at the end of each datagrid
which fires off an update event. The event fires fine, but I can't
seem to be able to retrieve the datagrid. I have tried placing it in
the ViewState, but it... more >>
client side access.
Posted by kishor at 12/1/2005 9:53:02 PM
hi,
i have used Page.RegisterHiddenField to implement some client side
functinality in my application. after the page is loaded I have manuplated
value of the hidden field using javascript. now how will i get the changed
value on server side. can any one let me know. I have earlier trie with ... more >>
VB.NET2005, "The request was aborted: The request was canceled" when uploading
Posted by alex19063 at 12/1/2005 5:18:11 PM
my app was working fine in VB.NET 2003 (and framework 1.1). Now wit
VB.NET 2005 (framework 2.0) the uploading to an http server (ie
www.sharebigfile.com) stops with the error "The request was aborted
The request was canceled" after about 7 MB.
For example, I might be uploading a 73MB file. Af... more >>
Display an images in Datagrid
Posted by sameer at 12/1/2005 12:16:05 PM
Hi All,
heres an easy question which for benig new , i cannot figure it out.
A datatable pulled from the database which has 10 columns is binded to a
datagrid and it shows all of them in the datagrid successfully. Now i want to
add an image next to each record inteh grid, the image is stored... more >>
VS2005 is a PIECE of Garbage and is bug Ridden
Posted by Rob Dob at 12/1/2005 11:32:24 AM
VS2005 is a PIECE of Garbage and is bug Ridden, I wonder how many others
feel the same, I am so sorry that I have moved away from VS2003,
VS2005 is unstable, and half the stuff doesn't work, Microsft has spent so
much time trying to make it simply that when you try to do something useful ... more >>
drop down list box - client side code won't execute OnSelectedIndexChange
Posted by ezelasky NO[at]SPAM hotmail.com at 12/1/2005 10:55:51 AM
I am trying to get a client side javascript function to invoke when the
selection changes in a drop down list box. I have tried :
ddl_specs.Attributes["language"] = "javascript";
ddl_specs.Attributes["OnSelectedIndexChanged"] = "return
OnChangeSpec();";
with & without the "return"; and wit... more >>
|