all groups > asp.net webcontrols > january 2006 > threads for january 29 - 31, 2006
Filter by week: 1 2 3 4 5
Get data, make textBoxes, edit values, and re-save to database. Simple?
Posted by \ at 1/31/2006 11:55:36 PM
I'm using asp.net/vb.net/ado.net to create a very simple user interface.
(Everything works if I use STATICALLY created textBoxes... but not when I
make them DYNAMICALLY.)
1. Execute a SQL SELECT cmd to retrieve a record.
2. Loop through the dataReader values, creating textBox boxes dynami... more >>
Datagrid soes not page nor edits
Posted by Doru Roman at 1/31/2006 7:14:01 PM
Hi,
I try to use a datagrid with paging. Even though it shows the numbers for
the following pages at the bottom of the grid, when I click on the page
number it does not go there, it keeps the first page, even though there are
lots of them to be seen.
And when I provide an EDIT button it does ... more >>
A question about Repeater control
Posted by Vincent Ye at 1/31/2006 4:20:16 PM
Hi, All
Let me describe my problem:
I store some link information in an Access database. Now I want to show
these links in a table on my asp.net page. let's say there are 3 columns in
the table. I want to show one link per cell.
I tried to use Repeater control to implement it, but foun... more >>
getting graph to display - crystal reports vs2003 version
Posted by astro at 1/31/2006 4:06:55 PM
I've reached the point where I can get a crystal report to display in my
browser - with the detail band showing all the rows.
The bar chart in the header does not display though. My hunch is some
configuration issue(s.) The same report/bar chart works perfect in my
vb.net client-server ... more >>
object reference not set as an instance of an object
Posted by jtleb at 1/31/2006 3:47:33 PM
hi all,
I am new to ASP.NET so please bear with me. i am trying to use mulitple
radio buttons on one page with a submit button. There is one radio button in
one table and 6 more in another table. When i try to get the first value it
works fine but when i try to access the value of the rest i g... more >>
detailsview, inserting new record and request.querystring
Posted by TdarTdar at 1/31/2006 1:14:34 PM
Hello,
I have a value from another page called shipkey, I would like to use this
value
to populate the field shipkey in the detailsview for inserting a new record.
how would that be done correctly?
code:
<%@ Page Language="VB" MasterPageFile="~/Site.master"
AutoEventWireup="false" C... more >>
Web User Control
Posted by Frank at 1/31/2006 12:58:35 PM
Hi,
I have two user controls. They are small. One is for login in and the
other one is for a new user. I was thinking to have both, and in the client
side, switch them (if both are load it), yet I want them in the same
position. How can I achieve that? and if is not possible on client sid... more >>
GridViewUpdateEventArgs not including complete set of OldValues and NewValues
Posted by Stephan Steiner at 1/31/2006 11:48:54 AM
Hi
I have a GridView with 10 columns. However, when the RowUpdating event
fires, the GridViewUpdateEventArgs.OldValues collection only contains 8. It
seems to be missing two (always the same) but I can't find any logic to the
behavior. I use a combination of standard and template fields. On... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
EnableViewState=False creates problems with Visible & Enabled
Posted by Revoemag at 1/31/2006 11:42:12 AM
I have a very simple WebForm that has 3 Web Controls: 1 TextBox (TextBox1)
and 2 Buttons (Button1 & Button2).
Button1 checks if the TextBox is Visible (or Enabled) and sets it to False
(or True in the opposite case). Button2 does absolutely nothing.
If I set EnableViewState=False on the T... more >>
Menu displays I-Beam cursor, not Hand
Posted by Walter at 1/31/2006 5:41:42 AM
I have a .NET 2.0 Menu control on my aspx page using a web.sitemap. On the
top level menu, when the cursor is going over the Static part, the mouse
cursor turns into an I-Beam (text) cursor. When I open the menu, the dynamic
menu items properly use the Hand cursor. I would like the Static menu... more >>
Datagrid template column in C#
Posted by Tim_k at 1/30/2006 6:36:27 PM
Hi,
I have a dropdown control as a template column in a datagrid on an asp page.
I bind the datagrid to a dataset. My code worked in VB but in C# I get an
error "specified cast is not valid" on the datagrid.bind. Can anyone give me
a suggestion? I tried to cast the DataBinder.Eval to (Dro... more >>
Communicating between windows control and web page
Posted by poppy at 1/30/2006 8:34:28 AM
I have a windows control hosted in IE which contains a bunch of methods
e.g getCurrentUser(int ID) as integer
How can I invoke this method from my web page, pass it the "int ID" and then
get access to the returned integer ?
I have been trying for ages but cant seem to crack this.
If I... more >>
Error: Content is not allowed between the opening and closing tags for element
Posted by Allan Ebdrup at 1/30/2006 12:00:00 AM
I have a ascx webcontrol that I register with:
<%@ Register Src="../Controls/Default/Library/Basket/Basket.ascx"
TagName="Basket"
TagPrefix="uc1" %>
and instantiate on the page with:
<uc1:Basket ID="Basket1" runat="server" />
This works without problems, Now I've added the attribute:
[Par... more >>
Invalid FORMATETC structure (Exception from HRESULT: 0x80040064(DV_E_FORMATETC))
Posted by Allan Ebdrup at 1/30/2006 12:00:00 AM
Now I've tried to create my own class library and reference it, when I drag
and drop a control (Basket) from the library in VS.Net 2005 I get the error:
Invalid FORMATETC structure (Exception from HRESULT:
0x80040064(DV_E_FORMATETC))
The code in the class library is:
Basket.cs:
----------
... more >>
Need Help: AccessDataSource and Assigning Variables for Data (ASP 2.0)
Posted by Michael at 1/29/2006 8:28:30 PM
I am using Visual Studio 2005 (ASP 2.0) to build a webpage that uses a
Microsoft Access Database. The data in the database
simply holds the information on a link to a document that I am storing on
the website. The information is written into the webpage
dynamically. That way when I add docu... more >>
|