all groups > asp.net webcontrols > november 2007
Filter by week: 1 2 3 4 5
Gridview and Dropdown - binding?
Posted by Danny at 11/28/2007 3:50:56 PM
Hi Group,
I am working on a simple user administration system based on VB ASP.NET and
an Access database. The database contains the folowing data:
Users:
UserID, f_UserTypeID, Name, Email
1, 1, Pat, pat@someunknownemail.com
2, 1, Joe, joe@someunknownemail.com
3, 2, Tim, tim@someunknownema... more >>
RadioButtonList does not allow you to select a ListItem other than the first one that has a specified value
Posted by Nathan Sokalski at 11/27/2007 5:00:35 PM
I have a RadioButtonList with more than one ListItem that has a certain
Value. If I select a ListItem with that Value, the one that is selected is
the first ListItem with that Value. For example, if I had the following
ListItems:
<asp:ListItem Text="Boardgames" Value="12.00"/>
... more >>
webform control placement
Posted by radiolandog at 11/26/2007 12:48:46 PM
I am struggling with positioning web form controls. It was suggested that I
place a table on the page - but it seems that the controls are positioned
independent from the table.
What practices will work? What should I avoid?
Thanks,
-dog
... more >>
Closing a dedicated login page
Posted by Jeremy at 11/21/2007 12:25:02 PM
I want to use a popup login page and automatically close it when the user
authenticates. In my OnLoggedIn event handler in the code behind in the
popup page, I have the following:
protected void OnLoggedIn(object sender, EventArgs e)
{
oSessionControl.showProgre... more >>
DataList - How to programmatically add a separator row
Posted by Tony_VBACoder at 11/19/2007 6:27:00 PM
With ASP.NET 2.0 VB.NET, how do I:
I have a multi-column (4 columns) DataList control on my WebForm that
displays sports teams for our league. The data is grouped by Division Names
where there are 4 teams per Division. When the data is displayed on the Web
Page, it will be a 4x4 (4 column... more >>
Calling JavaScript Function from ASP.Net Button
Posted by WhiskeyRomeo at 11/15/2007 6:20:00 PM
Is it not possible to call a JS function from an ASP.Net button.
In the HTML I assign the onClick="JS_Function()"
But when page is rendered I get the error:
JS_Function() is not a member of MyPage.aspx.
It appears the onClick is the same as the Click event, because all the
examples I s... more >>
Binding a Gridview to a DetailsView on another page
Posted by Coby Herd at 11/15/2007 4:04:27 PM
I'm having trouble finding out how to bind a gridview containing data to
individual details on another page. Can anybody send me the code or point
me in the right direction to get a tutorial for this?
thanx
--
Coby L. Herd
112-A S.E. 13th Ave.
Ft. Lauderdale, FL. 33301
954-467-091... more >>
ImageButton does not trigger Repeater.ItemCommand event
Posted by Nathan Sokalski at 11/15/2007 3:47:21 PM
I have an ImageButton inside a Repeater control. However, the ImageButton
does not trigger the Repeater's ItemCommand event. For the moment, I am
nesting an Image control inside a LinkButton, which works, but requires more
work and 2 controls. I believe the reason for this is that the ImageBut... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Formview delete doesn't work bound to a class
Posted by Joe at 11/14/2007 1:33:55 PM
I created a data access class with get, insert, update and delete
methods. I have an object datasource bound to the class and a
formview bound to the datasource. The get, insert, and updates work
fine, but I can't get the delete to work. It does not pass any values
to the method for some reas... more >>
GridView is making two of each column
Posted by Nathan Sokalski at 11/14/2007 12:57:20 PM
I have a GridView control with three columns, all BoundField columns. They
all have a HeaderText and DataField property set, and the third one has a
DataFormatString property as well. When I run my code, the GridView displays
two sets of columns. The first set looks exactly as I would expect. ... more >>
menu control inside a gridview
Posted by Eps at 11/13/2007 6:56:45 PM
Has anyone have any experience of doing this ?
I want a small menu on each row with a few options, I have tried it and
it seems to work great at first but after clicking on a menu item and
handling that event you get some weird display artifacts, when you hover
your mouse over them all the ... more >>
Gridview error handling
Posted by Arne Garvander at 11/12/2007 2:37:00 PM
I have a gridview control that is updateable. One of the data elements is
date, which is very easy to misstype. An invalid date will throw an error. Is
there a way to handle that error in a neat and clean manner?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
Best way to do this ?
Posted by Anonymous at 11/12/2007 7:27:42 AM
I have a distributed N-tier C++ application that I want to make
available online. Because of the architecture, I should be *in theory*
be able to replace the presentation tier from the current one to web pages.
However, I am not sure what the best way to do this is - since the GUI
is quite ... more >>
Error: Unable to start debugging on the web server
Posted by Reds at 11/12/2007 1:56:34 AM
I am running Visual Studio 2003 on XP, which I have used to run VB, C#
and C++ non-web applications without any problems.
I'm just starting to use WebForms with asp.Net. When I tried to run my
first application, I got the following error.
"Error while trying to run project: Unable to start d... more >>
RadioButton and CheckBox Controls: Where is the value attribute?
Posted by Nathan Sokalski at 11/10/2007 1:59:28 PM
In the RadioButton and CheckBox controls, there is no Value attribute. The
html <input> tag has a value attribute, which is used by both type="radio"
and type="checkbox". The RadioButtonList and CheckBoxList controls have
SelectedValue properties (I realize that the RadioButtonList uses the
... more >>
Using a Forms authentication in a shared hosting environment
Posted by JEFF at 11/9/2007 2:54:19 PM
I am using a logon control in a shared hosting environment. When I do I get
the following run time error:
The SSE Provider did not find the database file specified in the
connection string. At the configured trust level (below High trust
level), the SSE provider can not automatical... more >>
Historical timeline for a web page
Posted by Chris Davoli at 11/9/2007 2:35:03 PM
I need a historical timeline for doctor appointments on an asp.Net web page.
Needs to be laid out horizontal with scroll bars horizontal. Any ideas--
Chris Davoli
... more >>
required field validators and not validating until submit button clicked
Posted by TS at 11/9/2007 2:21:02 PM
i read this in a book: "...There is also logic in place to avoid enforcing
RequiredFieldValidator controls until the page has been submitted (or has
attempted to be submitted) at least once. This allows users to fill in
fields in any order without being warned that a field is required..."
... more >>
Root master page and chikd project
Posted by Byka at 11/8/2007 5:43:05 AM
have a master page on my root project.
I would like to reuse the same master page on my child project. However when
I am setting the master page file in my child project it doesn't see that
page because it is adding a name space from my child project.
Below is what I have:
RootProject
/... more >>
Dropdownlist index change event problem.
Posted by Thanigaimani.thirumalai at 11/7/2007 8:39:23 AM
Hi guys.
i can explain for my doubt with example.see.my table have multiple type of employee details like as Mangemment,Programmer,Designers,Accountants,Contra ctEmployees.Each type of department having many employee details.Now my drop down list having types of department names like that above typ... more >>
Generated JavaScript vs. Manually Created JavaScript: Which one comes first?
Posted by Nathan Sokalski at 11/6/2007 7:57:55 PM
There are many cases in which I want to use the same event for manually
added JavaScript as one that is used for generated JavaScript. For example,
when I set the AutoPostBack property of a TextBox to True, the JavaScript
onchange event is used. However, I may want to execute a piece of JavaSc... more >>
Column Value in a GridView
Posted by SGS at 11/6/2007 1:24:03 PM
Hi All,
How do i get the column value of a gridview when the user click a column ?
Please help!!!
Suman
... more >>
Creating Dropdown List dynamically and setting the selected value
Posted by Palmi at 11/6/2007 4:59:02 AM
Hi, I have a problem with setting the select value to items in a dropdown list,
I create dropdown list in a loop and set unique id to it but I have to set
the selected index in every dropdown list but not the same index.
How can I accomplish that?
thx... more >>
Default Value in on Databound Drop Down list
Posted by Randy Galliano at 11/5/2007 12:28:33 PM
Hello,
I am populating a drop down list control with a table from a database.
I would like the control to display a value such as --- select --- when
it first comes up, instead of any values from the table. Is there a way
to do this without putting the value --- Select --- in the actual ta... more >>
Sharing a Validator
Posted by Nathan Sokalski at 11/2/2007 5:38:21 PM
I have a form that contains a number of fields, all of which have
validators. There are two submit buttons, one to update a record and one to
add a record. Because the only difference in validation is to make sure
someone is not using a username that is already in use, I would like to be
abl... more >>
Script Control.value method
Posted by john at 11/2/2007 3:43:59 PM
I read that this method:
<script type="text/javascript" language="javascript">
alert($get('<%= CheckTxt.ClientID%>').value)
</script>
Can be used instead of:
alert(document.getElementById("TabContainer1_TabPanel5_FormView8_CheckTxt").value)
But I receive a Che... more >>
Paint in ASP.NET
Posted by Jurjen de Groot at 11/2/2007 12:00:00 AM
Hi,
I'm looking for an ASP.NET control in wich I can let my users create a
simple drawing, some lines, rectangles.
Anyone know of such a control ?
TIA,
Jurjen
... more >>
Getting event when asp:checkboxfield is clicked
Posted by David Ching at 11/1/2007 11:26:37 PM
Hello, I have a DetailsView with a <asp:checkboxfield> in it. Here's the
abbreviated definition:
<asp:DetailsView runat="server" id="DetailsView1"
OnItemCommand="DetailsView1_OnItemCommand">
<Fields>
<asp:checkboxfield DataField="Contractor1099"
SortExpression="Contracto... more >>
|