all groups > asp.net webcontrols > october 2003 > threads for october 8 - 14, 2003
Filter by week: 1 2 3 4 5
RequiredFieldValidator question..
Posted by James Radke at 10/14/2003 5:13:17 PM
Hello,
I am placing a required field validator control to ensure that some data is
entered into a textbox, but when I bring up the web page, the required field
validator only generates a client side error AFTER the user has modified the
field once, and erased all data, and not if a user tabs t... more >>
Extender Controls for WebForms?
Posted by James Radke at 10/14/2003 4:26:37 PM
Hello,
I recently read an article on developing extender controls for a windows
application. My question is, can you only create extender controls for a
windows application, or can you also create extender controls for webforms?
If you can also create extender controls for webforms, does an... more >>
Binding Datasource to a textbox?
Posted by Mike Lambert at 10/14/2003 3:01:11 PM
How do you (or can you) bind a texbox to a datasource since the textbox
doesn't have a datasource property.
Thanks,
Mike
... more >>
The View State is invalid for this page and might be corrupted Error
Posted by Harish at 10/14/2003 1:22:47 PM
hi I am getting the following error very frequently:
The View State is invalid for this page and might be
corrupted
I have searched the web and found the Microsoft article
http://support.microsoft.com/default.aspx?scid=kb;en-
us;323744
but could not resolve the error. The article says:
A... more >>
editablegrid
Posted by TJS at 10/14/2003 12:56:35 PM
I am stumped on an editablegrid error
msde
webmatrix
one table (orders) two fields (orderID,custname)
error on update command text in following subroutine
any suggestions ????
============================================
Sub DataGrid_Update(Sender As Object, E As DataGridCommandEven... more >>
timer control on webforms?
Posted by Eddie B. at 10/14/2003 9:05:49 AM
Is there a way to put a timer control on a webform? What I want to do is
rediredt to another page after 5 seconds.
Thanks,
Eddie
... more >>
Client-Side Validation to change Textbox Background Color?
Posted by James Radke at 10/13/2003 11:36:28 PM
Hello,
I would like to create some type of client-side validation that will change
the background color of a textbox (say to red with white text) when the
entered data is invalid (i.e. not numeric, not a valid date, etc.)...
I have figured out one way to do that using javascript, and the exi... more >>
How can I use working Linkbuttons within a Web Custom Control?
Posted by Jan Limpens at 10/13/2003 11:29:50 PM
hi!
I've got a Web Custom Control within which I'd like to use LinkButtons.
This looks more ore less like this...
protected override void Render(HtmlTextWriter output)
{
output.WriteLine();
output.WriteFullBeginTag("P");
LinkButton b = new LinkButton();
b.Text = "Bla"... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Does adding a .dll to the GAC require a reboot?
Posted by Christopher Campbell at 10/13/2003 4:34:32 PM
I have a custom control that I developed working fine. When I deployed it
to my staging server, I copied the DLL into the global assembly cache just
using drag-n-drop. This worked fine and the .dll was registered. However,
when I ran the application, I got a "Parser Error" indicating that the ... more >>
Blank top row in ListBox
Posted by Mark Aurit at 10/13/2003 2:38:40 PM
Im populating a drop down list box from a database, and Id
like the top row to be blank - or be populated with the
words " select from entries below ", or something along
those lines.
I suppose I could do this at the database level, but it
seems it would be cleaner if I could populate the c... more >>
[expletive deleted] checkboxlist datavaluefield
Posted by Paul Bryant at 10/13/2003 2:35:34 PM
Having spent several fruitless hours trying to set the value of checkboxes
in a checkboxlist control, and then another hour or two searching google
discovering many other people with the same problem (but no working
solutions) I finally came across a reference to a post in this group from a
MS s... more >>
repeater
Posted by AJ at 10/13/2003 2:00:48 PM
Hello,
I have a repeater control data binded to an sqldatareader.
There are a total of 10 columns. Of the 10 columns I only
want to show the first 3 columns once at the top of the
table and the rest of the columns displayed per row.
How do I do that? Am I using the wrong control?
I tr... more >>
How do I set up a control's visible property at run time
Posted by Angel Ko at 10/13/2003 11:47:37 AM
Hi,
I tried to set up a label control to be
invisible/visible property to be false/true at run time.
I am using C# and .Net ASP development environments.
For example, my control' name is lblName. I set it
up as lblName.Visible = false at run time. I would like
it to take it im... more >>
TreeControl first node selected
Posted by ilona at 10/13/2003 10:08:43 AM
Hi,
trying to use Microsoft Treeview control w/dynamically populated nodes.
The problem is that the first node in the tree is always selected and as a
result when user clicks on it, OnSelectionChange event can not fire. So if a
user has permissions to see only one node then he can not do anythin... more >>
DataGrid Paging - Index out of Range Error
Posted by Bill Byrd at 10/13/2003 9:13:54 AM
I am attempting to implement paging with a DataGrid. The
control populates fine. The < > paging links appear.
However when I click the > to go to the next set of
information I receive "Server Error in ... Application.
Index was out of range. Must be non-negative and less than
the size of... more >>
for each webcontrol
Posted by thomas.hauser NO[at]SPAM hannover-leasing.de at 10/13/2003 7:02:33 AM
hello,
i know how to set values for each control on my windows-form.
but how to do this in asp.net??
example for windows-forms:
dim txtBox as Textbox
dim myControl as Control
for each mycontrol in control
is typeof mycontrol is textbox then
txtbox.text = "Hello"
end if
next
... more >>
How do I read a jpeg image from a folder on a server
Posted by Lucas Cowald at 10/11/2003 10:14:46 AM
Hi,
How do I read a jpeg image from a folder on a server, and give it to a user
as a file that his browser would download it (stream it) directly without
sending any HTML tags.
Here is exactly why I need it:
1) User goes to a page image.asp
2) image.asp would connect to a database and ch... more >>
some controls not displayed on web page
Posted by Jayesh Suthar at 10/10/2003 11:39:10 PM
Hi,
I have Win XP Profession OS. I have made ASP.NET
applicaiton using C#. In that i have put 4 controls(1 Edit
Box, 2 Label Text, 1 Button). Now when i build the
application and run it, it opens my application web page
on Internet Explorer. But it shows only Label Text. It
can't show B... more >>
DataGrid - Options for displaying many items in one row without requiring scrolling - HELP!
Posted by James Radke at 10/10/2003 4:50:43 PM
Hello,
I have a web page (vb.net within VS.NET 2003) where we have approximately 15
columns that we would like to display via datagrid. Given the avg screen
size is not enough space to see all of this without scrolling back and
forth, I was curious what options I may have to display all the d... more >>
Trace: Can anyone suggest a good tool to catch trace messages?
Posted by Rukmal Fernando at 10/10/2003 3:56:20 PM
Hi,
I've been looking for a good Trace message monitoring tool to monitor trace
messages (through System.Diagnostics.Trace.WriteLine() etc).
I need it to collect traces from non-EXE code (esp. WebParts).
Can anyone recommend a good tool for my purpose?
Many thanks in advance.
Rukmal.... more >>
Getting a ClientID of a control in the footer
Posted by Jon Turner at 10/10/2003 1:55:47 PM
How do you get the client ID of a control located within the footer ?
Thanks
... more >>
DataGrid and style sheets
Posted by Robert Strickland at 10/10/2003 1:23:17 PM
Is there any way to assign css classes to items in the datagrid? For
example, I want to set the alternating feature to a css class. How would I
do this?
... more >>
dynamically created datagrid updatecommand not picking up values!!!! about to go crazy!
Posted by davidf NO[at]SPAM dayspring.com at 10/10/2003 8:39:45 AM
Greetings all,
I'm in a bind this time - I've got a beutifully created and
working(mostly) editable datagrid, all created in code behind - which
works really well for my application.
The only issue preventing me from moving on is I can't pick up the
values in my updatecommand sub - the ones... more >>
DataGrid - select row
Posted by Jan Smazinka at 10/10/2003 3:19:20 AM
I have DataGrid and I need select row. I don't want to use
ButtonColumn! I want to select row by click on any
position on DataGrid table and I want to get
DataGrid.SelectedIndexChanged event.
Thanks
... more >>
File upload and page PostBack.
Posted by pamelachatterjee NO[at]SPAM yahoo.com at 10/9/2003 8:10:38 PM
In my project I am uploading file using File control. After browsing
file user needs to select other values from DropdownList to determine
uploading path. After selection in couple of drop down lists page
needs to postback. The problem is File input field becomes clear
after posting pack of the... more >>
Hooking into control events?
Posted by Donal McWeeney at 10/9/2003 4:06:43 PM
Hi,
Quick question - when developing custom controls - which is the better way
to hook into the lifecycle events - through overriding the methods (OnInit)
of via events (Init)?
I suspect there may be some additional overhead through the events
approach..
Thanks
Donal
... more >>
Calling javascript from a component
Posted by Marius Horak at 10/9/2003 12:02:02 PM
Hi,
I have a component.
It will create a number of tables and buttons.
When a button is pressed it executes code and next it has to execute some
javascript.
All this code (javascript) has to be inside that component. I cannot add
javascript to a page. (this component is being used on a numbe... more >>
Licensing controls for sale?
Posted by Christopher Ambler at 10/9/2003 11:30:22 AM
I have a custom control that I have created and compiled into a DLL. I've
had a number of clients tell me that they'd like to purchase the control.
For clients, I have no problem giving them the DLL, as I'm sure they're not
going to give it away. But if I want to sell the control in general, what... more >>
¿How-to read port RS-232 from a ASP.Net on the client?
Posted by Arturo Estigarribia at 10/9/2003 11:17:41 AM
¿How-to read port RS-232 from a ASP.Net on the client?
I want to read from the client PC, the port rs-232, and then the string that
I should get... send it to the server from the client.
I would apretiate any help about this, thanks in advanced.
Arturex.
... more >>
How do I remember the cursor positoin?
Posted by Judith Stanley at 10/9/2003 8:33:01 AM
Hi, I am new to ASP programming and have been creating
ASP.NET applications and I am trying to figure out how to
keep the cursor position after each button or text box
call back because it keeps getting repositioned at the
top of the page. Someone on my team told me that in old
ASP this wa... more >>
Calendar Control Render Problem
Posted by adunfield NO[at]SPAM hotmail.com at 10/9/2003 8:10:46 AM
I am running into a problem with ListBox and DropDown controls being
displayed over top of the Calendar control. I have tried putting the
Calendar in between div and span tags but to no avail. The Calendar
will display over top of a Textbox control just fine but not over
DropDown or ListBoxes.... more >>
composite control
Posted by john pryor at 10/8/2003 7:07:02 PM
I've built a composite control which I then put into a
datalist control. When I run my web page I only get one
rendering of my composite controls all of the other items
in the list are the default text from the control. This
is my first attempt at building a composite control so
I'm sure I... more >>
LisBox.SelectedItem always returns 0
Posted by Michal Rezler at 10/8/2003 3:14:55 PM
Hi,
I have very simple WEB form with 1 ListBox and 1 Button. Fillig ListFox is
OK,
BUT in Sub Button_Click(..) I always see, that ListBox.SelectedItem always
returns 0.
Any idea?
Thanks advice
Michal Rezler michal.rezler@centrum.cz
... more >>
Get value of a dynamic control
Posted by dominic NO[at]SPAM vitrasoft.com at 10/8/2003 1:39:05 PM
..net newbie getting used to things and am in documentation overload.
Can't seem to find info on what should be a simple/common thing.
I've created a text input control on the fly:
Dim item As HtmlInputText = New HtmlInputText
item.ID = "testitem"
Page.Controls.Add(item)
How do I g... more >>
Free module for uplading pictures?
Posted by gicio NO[at]SPAM web.de at 10/8/2003 12:39:23 PM
Hi!
is there a free module somewhere available to upload pictures?
regards,
gicio
... more >>
Word-wrap in DropDownList
Posted by wrobel_p NO[at]SPAM poczta.onet.pl at 10/8/2003 9:03:55 AM
Hi I have to use DropDownList to display some long names and I have
limited horizontal space. When I assign specific width to this
DropDownList, I cannot see whole text, only first few letters
(depending of course on given width). Is there any way to wrap words
in DropDownList? On MSDN site they... more >>
Hyperlink
Posted by enak at 10/8/2003 6:20:54 AM
I have put a HyperLink control on a page. When I click on
the link I am expecting the next page to display. However,
when I run it through the debugger I can see that the page
where the link resides is being processed again and the
link object is not set.
I have put "If not IsPostBack th... more >>
|