all groups > asp.net webcontrols > august 2006
Filter by week: 1 2 3 4 5
I am trying to hide some textboxes, dropdownlists and labels in datalist
Posted by Dgreer at 8/31/2006 1:25:20 PM
I am trying to hide some textboxes, dropdownlists and labels in
datalist.
I have some textboxes, dropdownlists and labels in a table in a
datalist how do I hide them after they're bound?
Here is some of my code in the datalist.ItemDataBound Event.
Select Case editvisiblity
... more >>
Video Player in browser... how do I do?
Posted by ThunderMusic at 8/31/2006 11:07:37 AM
Hi,
I want to have a video player in my web app... How can I do that? must it be
an ActiveX? is there any other format I can use? I don't want to use Java if
possible... I heard it's possible tot do with flash. If it's true, is it
pretty easy to do? because I've done some little animations wi... more >>
Javascript disabled Menu control Accessibility
Posted by Mike Logan at 8/31/2006 6:37:01 AM
According to this page: http://msdn2.microsoft.com/en-us/library/ms227996.aspx
For the Menu control:
"In browsers that do not support the full client-side functionality of the
control, the browser will refresh the window to show the secondary
navigation, which might cause screen readers ... more >>
Really Stuck on a Canlendar Control PLEASE HELP!!!
Posted by Midway at 8/30/2006 10:03:02 PM
Hi guys,
This is what I'm doing, have a calendar control that I'm invoking from an
hyperlink. the calendar control has some javascript code that when I pick a
date, the date gets transffered to a text control on the calling form, that
is all work working fine.
Now here's the chanllenge ... more >>
CustomWeb Controls and Events
Posted by Michael Morse at 8/30/2006 9:31:02 PM
Hi Everyone,
I've got quite the unexpected problem occuring here and I can't see to
figure this out.
I've developed 2 custom controls that inherit from the WebControl class.
This first control is basically a DHTML flyout menu that allows the user to
make a selection. This control implem... more >>
I want to know what is a Functional Specification Document?
Posted by MAHERNOZ at 8/30/2006 9:24:42 PM
Can anybody help me to know what is Functional Specification Document?
Any Example? Any Tutorial?
... more >>
UserControl values lost on PostBack
Posted by paul.hester NO[at]SPAM gmail.com at 8/29/2006 6:43:21 PM
Hi all,
I have a very simple user control that contains 3 drop downs. Whenever
there's a postback the values of these drop downs are lost. I've tried
enabling viewstate everywhere without success. Could anyone shed any
light on what's going wrong?
Thanks,
Paul
Asx:
<%@ Control Lang... more >>
Events for programatically added controls
Posted by John Austin at 8/29/2006 9:45:02 AM
I am new to asp.net. I need to create a form programatically. I could use
Response.Write to create html input fields and the Request.Form collection,
but there is the Placeholder conbtrol that can be used to add controls on the
fly. However, I can't see how to respond to events raised by the d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Menu control. Clickable area
Posted by Jim Andersen at 8/29/2006 12:00:00 AM
I have a static menu with items
Long, easy clickable menuitem 1
Long easy clickable menuitem 2
menu item3
Long easy clickable menuitem 4
Items 1-4 are easy to clik on, because the "fill" the menu.
Item 3 is harder to click becaus I have to hit the characters. I cant just
click below "men... more >>
Custom Server Controls and javascript
Posted by Mantorok at 8/29/2006 12:00:00 AM
Hi all
I have some client-script to accompany some of my custom server controls, at
the moment these functions are added at run-time.
Is it feasible to put all these functions into one .js file and have the
controls include it? If so, how can I include the file?
Thanks
Kev
... more >>
Clikable rows in Grid View
Posted by Seema Multani at 8/28/2006 3:20:36 PM
How can I make clickable rows in Grid View in ASP.Net 2.0 in VS2005
Thanks in advance
... more >>
Need some advice on a GridView control.
Posted by Midway at 8/27/2006 11:47:01 PM
Hi there,
I am having this problem with a gridview control. what I'm doing is
assigning the gridview's datasource to a objectdatasource which calls a
parameterized stored procedure and that is all fine.
I need to enable the paging and sorting on this gridview, so I have
AllowSorting = ... more >>
Exposing an event handler as a control property
Posted by paul.hester NO[at]SPAM gmail.com at 8/27/2006 10:27:48 PM
Hi all,
I have a custom server control that can contain one or more buttons.
I'm trying to expose an event handler as a property so that the buttons
can fire a click event when clicked. However, I'm getting the following
error:
Cannot create an object of type 'System.EventHandler' from its ... more >>
Add control to TreeView (ASP.NET 2.0)
Posted by Moistly at 8/25/2006 8:43:12 AM
Is it possible to add, for exampl,e a button to a node of a TreeView?
Thanks
... more >>
objectdataSource case sensitive with parameters??
Posted by Trapulo at 8/24/2006 4:21:46 PM
I'have this error on a runtime page:
ObjectDataSource 'dataSourceActivityLogs' could not find a non-generic
method 'GetActivityLogsCount' that has parameters: veichleID, originalName,
status.
My class has this method declared:
Public Function GetActivityLogsCount(ByVal veichleID As Nullable... more >>
Page CallBack
Posted by Ben Schumacher at 8/24/2006 3:31:36 PM
I have a .aspx page that implements ICallBackEventHandler. On the page I
have texbox server controls and a button with a click event set to trigger
the call back to the server. I put a breakpoint in the page_load event to
step through whats happening in the codebehind as the page is called b... more >>
Don't understand state in WebControls class
Posted by kasterborus NO[at]SPAM yahoo.com at 8/24/2006 11:33:55 AM
I've been working on a web control class that generates a grid of
checkboxes dynamically, based upon a DB query. I've been creating them
in the Render method as needed.
CheckBox _cb = new CheckBox();
_cb.Text = "Assigned";
_cb.RenderControl(tw);
The only problem is of course any user int... more >>
label overlap during design
Posted by James Martin at 8/23/2006 10:49:01 AM
I have several labels in a FormView control on a C# ASP.NET web form. Each
label is bound to a specific field in a datasource. In the template
ItemTemplate I have positioned the labels where they should be. The problem I
have is that when designing the layout in some instances the labels are ... more >>
CompositeControl Property Persisted But Not Reflected At Run/Desig
Posted by swalkertdci at 8/23/2006 7:28:02 AM
I have a compositecontrol derived class that I am working on that exposes
several design-time properties. Most of these properties simply delegate to a
corresponding child control property. In most cases this works just fine in
both the designer and runtime. However for two properties on my co... more >>
button problem
Posted by gauravkg via DotNetMonster.com at 8/23/2006 12:00:00 AM
i have two pages
in first.aspx
i have a data entry form .
in that i have a preview button it takes me to previw.aspx
on preview.aspx i have edit button . i want that on clicking edit button it
goes back to first.aspx with same values how can i do it..
--
Message posted via DotNetMonst... more >>
Dynamic gridview values lost on postback
Posted by Bryan at 8/22/2006 3:56:54 AM
Hi all,
I am developing an application that uses a GridView that has its
columns added dynamically.
The user selects from a Drop Down List of offices, this populates a
list of employees, the user selects one.
Clicking the "Add_Emp" button adds column relating to this employee to
a DataTa... more >>
which expert can finally solve this?
Posted by Cas at 8/21/2006 1:50:07 PM
Hi,
I tried to solve this for a while, but there is always somewhere a problem.
Here my story:
The table contains two fields (field1, field2).
I use a gridview for editing the table: field1 can be updated manually, but
field2 must be updated with the selectedvalue of a dropdownlist. So I
c... more >>
WSS document event handler that will use System.web.mail sendmail
Posted by cindy at 8/21/2006 10:49:01 AM
WSS document event handler that will use System.web.mail sendmail
I am not using vs studio 2.0 I have 1.1
I have a WSS document event handler that works on a document insert, I want
to use system.web.mail to get to sendmail and put out an email. Document
event handlers are written with ... more >>
Disappearing Web Part Trick
Posted by AL at 8/21/2006 9:44:01 AM
Hello, I'm pretty new to web part development. On playing around with this,
pretty much for the first time, I noticed that when I ran the page and closed
the web part, on subsequent runs of the page, the web part remains resolutely
closed.
I also noticed that resetting the controls ID prop... more >>
Conditional True/False output for datalist item
Posted by googlegroups NO[at]SPAM tlbsolutions.com at 8/21/2006 9:21:13 AM
Hi All.
I have a datalist which pulls back a list of categories from a
database. In the returned table are the CategoryID, the CategoryName
and the IsActive Field.
CategoryID is an integer, CategoryName is a VarChar(250) and IsActive
is bit.
When the data comes back and I try to display ... more >>
Center Login Control and Firefox
Posted by tinzo at 8/20/2006 1:30:56 AM
How to horizontal center a Login Control using DIV that works fine with
Firefox ?
My page width = 775px.
... more >>
error: can't find control 'mylabel'
Posted by Ben at 8/18/2006 10:31:20 PM
Hi,
In the code-behind, i can refer to the dropdownlist defined in the aspx file
with this (e.g.)
dropdownlist1.sekectedvalue = ...
but why can i not refer to the label defined in the TemplateField in the
same aspx file like below?
This gives the error: "can't find control 'mylabel' ":
... more >>
data inserted again after refresh
Posted by SOW Olivier at 8/18/2006 3:38:44 PM
Hi,
I'm begin in ASP.NET.
I use a gridView and DetailView in a same page,
I add a button which set DetailView in InsertMode.
When i click insert button in the DetailView, data are stored fine in my DataBase.
But if I refresh the page juste after the insert, data are inserted again in the ... more >>
Can't use standard controls - drag and drop fails
Posted by oaksong NO[at]SPAM hotmail.com at 8/18/2006 11:54:51 AM
My standard controls have stopped responding to drag and drop.
I can drag and drop the HTML controls onto the designer, but not the
standard controls.
I saw that someone else ran into this recently, but there were no
replies.
... more >>
strange problem with EditItemTemplate
Posted by Ben at 8/17/2006 3:41:34 PM
Hi,
It's about a table with two fields: 'team' and 'color'. Each team has a
color.
What I want is to update the field 'color' in the gridview only with the
selected value of the dropdownlist, which is bound to a table ('colortable')
with one field ('allcolor') containing all available colo... more >>
Create popup after server side validation
Posted by Joe90 at 8/17/2006 8:21:01 AM
Scenario: We have a TreeView on our website that when a user clicks a leaf a
new browser opens displaying a report in a ReportViewer.
However, on clicking the TreeView we need to do some server side validation
BEFORE calling the Client side script to generate the popup.
We can do the serve... more >>
how to do this?
Posted by Ben at 8/17/2006 12:00:00 AM
Hi,
I need the values of the fields of the record that has been selected for
updating in a gridview.
In the
"Protected Sub GridView1_RowEditing(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.GridViewEditEventArgs) Handles
GridView1.RowEditing",
i couldn't find those value... more >>
Table can't be a container for other controls?
Posted by Rob R. Ainscough at 8/16/2006 1:43:58 PM
So the System.Web.UI.WebControls.Table doesn't support being a container
control? I can't seem to place an Image control or other controls in any of
the cells?
I can do this with the HTML Table so I'm puzzled why I can't with the
ASP.NET Table??
Am I missing something obvious?
thanks... more >>
GridView
Posted by EGON at 8/16/2006 11:43:01 AM
Hi!
I have a web application with a grid view.
The grid has been modified with Bound Fields and Command fields for Edit.
When initialising the grid I have an own created DataSet that are used as
DataSource for the grid.
When I start the application the grid is fed with the data and everything ... more >>
controls & Session
Posted by Peter Kirk at 8/15/2006 5:13:01 PM
Hi
does a control know when it is no longer being shown?
What I mean is that I have several controls (ascx) which use the Session to
store data. The controls are not on the same page (aspx) but use some of the
same "names" for data in the Session - and this can cause conflicts between
th... more >>
cant set skin id to user control embedded in formview
Posted by reiale NO[at]SPAM gmail.com at 8/15/2006 10:27:42 AM
Hi,
I understand we need to use page_preinit but the dynamic controls
inside of the form view don't yet exist at that event. I also tried
setting the skinID in the render event of the form view but it is too
late by then.
Lastly, I tried setting the SkinID to a function using the <%= %>
sy... more >>
Localization of the ASP.NET login control
Posted by Martin Bischoff at 8/15/2006 3:23:02 AM
Hi,
do the ASP.NET 2.0 controls (such as the login control) have built-in
support for localization?
In other words, if I install the german language pack for .NET 2.0, will the
login control be displayed in german or do I have to manually translate all
the strings (in the ASPX page)?
Th... more >>
Asp.net charting control
Posted by AD at 8/14/2006 9:30:21 PM
Hi,
Does anyone know of a good charting tool to use in ASP.NET? I need to
be able to do 3d pie charts, stacked column charts etc...
Thanks,
AD
http://www.reliefshifts.com
... more >>
What happen to powerupasp.net?
Posted by msxkim NO[at]SPAM yahoo.com at 8/14/2006 5:45:15 PM
I need to buy their product but couldn't get to their website for last
two days. Does company still in business?
... more >>
usercontrols and postback
Posted by Peter Kirk at 8/14/2006 3:28:23 PM
Hi
I have a page with several ascx (user controls) on it. The first few
user-controls are dropdowns and so on, which initialise themselves from a
database.
The last user-control has some "<a href>" tags in it, which link back to the
same page and should cause this last user-control to pe... more >>
Calendar control - disabling past dates.
Posted by Greg Smith at 8/14/2006 12:51:49 PM
Is there a way to disable past dates for a calendar control, or individual
date for that matter?
Any help is greatly appreciated.
... more >>
Drop Down Box Validation Problem
Posted by sasquatch1000 NO[at]SPAM gmail.com at 8/14/2006 9:45:14 AM
I am using Visual Web Developer 2005 Express Edition.
There is a drop down box on a webform that I would like to have
validated by a required field validation control. The first item in
the list simply says "Select..." Currently the required form
validation control allows "Select..." as a va... more >>
Need Help with Control Selection
Posted by Kristen at 8/13/2006 6:00:48 PM
I am using ASP.Net 2.0 and I need to display information in a grid type
format and the user needs the ability to expand certain rows to display
related child records. I was wondering if I should use a datagrid or
maybe just an HTML table (server or client side) with text boxes and
labels with j... more >>
remove border around checkboxes
Posted by Walt Zydhek at 8/11/2006 7:32:01 PM
Is there a way to remove the border around check boxes in webcontrols?
Specifically, I am trying to remove the border from around the checkbox for
the "Remember Me" option of the Login Control.
I have tried numerous ways with no success.
... more >>
TemplateBuilder
Posted by Jerry C at 8/11/2006 2:07:01 PM
I am trying to use the template builder in a Web part. this code runs but no
control in the Template column. this is the CreateChildControls Sub from Form
4 of a sample from MSDN "Introducing the ASP.NET 2.0 Web Parts Fromework"
modifyed to try to add a grid view and custom columns to the cont... more >>
Nested Properties in a GridView ASP.Net 2.0
Posted by Eyal at 8/11/2006 11:58:02 AM
Hi.
I am using a GridView to display records from an ObjectDataSource. My
middle-tier layer have nested properties, meaning that I have things like
Employee.Name.FullName, where Employee is what I am binding the grid to
while FullName is what I want displayed.
For some reason the GridView d... more >>
Validation of 2 Textboxes
Posted by RChase at 8/9/2006 1:01:49 PM
Here is my situation:
I have two fields (let's call them FieldA and FieldB). If FieldA contains a
value then FieldB cannot, and if FieldB has a value FieldA cannot.
Is there a way using the Validation controls to check for this?... more >>
How to call a Method in a UserControl from another UserControl
Posted by jsausten NO[at]SPAM hotmail.com at 8/9/2006 11:56:04 AM
I have two UserControls sitting alongside one another on a ContentPage,
loaded within a MasterPage
My two UserControls (and the dozen other controls on my site) share
some common code so I have created a Class called MyUserControl that
Inherits System.Web.UI.UserControl, and my UserControls in... more >>
Table cell with images
Posted by Seema Multani at 8/9/2006 11:26:00 AM
I want my cell to be clicable. The cell contanis an image. I am doing in
the following way but it is not working.
tCell.Attributes.Add("onclick", "floor_plan.gif")
Thanks,
... more >>
.Net 2.0: Button, OnClientClick, and Click EventHandler not all working nicely...
Posted by Dan Christensen at 8/9/2006 10:12:01 AM
Hi, I've got my own validation javascript for a form, which works
great.
I add it into the processing loop with
btn.OnClientClick = "if (!form_onsubmit(this)) return false;";
form_onsubmit is my custom validation function which disables the
button, validates my fields, and returns true if v... more >>
|