all groups > asp.net webcontrols > october 2003
Filter by week: 1 2 3 4 5
launching asp page in frame in frameset based on toolbar
Posted by stephencmyers NO[at]SPAM hotmail.com at 10/31/2003 11:58:40 PM
Ok, learning .net and working with a frameset. The "Top" frame is
basically a toolbar using the microsoft webcontrols. I want to load
the "Bottom" frame based on the button selected on the top frame.
I can retrieve the button info in this vbscript sub:
Private Sub Toolbar1_ButtonClick(ByV... more >>
Custom DataGrid
Posted by Hermit Dave at 10/31/2003 9:09:32 PM
Hello people,
This is my second post. Someone answer it...
Okay I had issues with using DataGrid control that comes by default. Had
some paging issues and also needed sort and filter to be added. Realised
that I need to write the code myself. So I got myself to building my custom
control.
It... more >>
possible to draw a line between two ImageButton WebControls?
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 10/31/2003 11:44:49 AM
I need to draw lines connecting ImageButton controls. Is this
possible, and how to do if so. Thanks.... more >>
Help! How do I hide or override property/category display under webcontrols?
Posted by lavey at 10/31/2003 10:25:16 AM
greetings everyone,
I have search throughout the net but still no luck... ok what I am facing
here is that...
how do I hide or override property/category display under webcontrols?
do I have to hardcode it myself just like the following codes? cos but
default, there's lot of properties to o... more >>
Dynamically loaded User Controls - problem with button_click event
Posted by Tim T at 10/31/2003 9:54:51 AM
[this is a simplified / clearer explanation of an earlier post - hopefully
someone can help!]
Hi,
I have the need to use dynamically loaded user controls in a webform page.
I have the controls loading dynamically, and that part works fine. this is
the code used in a webform to dynamically loa... more >>
Using an apostrophe in a textbox
Posted by Doug at 10/31/2003 8:47:58 AM
I am creating an ASP.Net application that has a textbox
populated with a store name field from a SQL Server
database. I need to allow the user to change the name
string, and update the database. In several instances,
the name will contain an apostrophe (i.e. Macy's). In
the code behind, ... more >>
insert comma
Posted by susie at 10/31/2003 7:58:43 AM
How to insert comma to a number entered into a textbox?
Say if the number entered is 10000000000, when user press
enter key, the text in the textbox will be changed to
1,0000,000,000.
Thank you.... more >>
run validation error message page from a new window
Posted by susie at 10/31/2003 7:16:38 AM
I have the following code to run the validation summary
page:
<asp:ValidationSummary
ID="Summary"
DisplayMode="SingleParagraph" Font-Size="8pt"
runat="server"/>
By default the summary of validation will be on the same
page with the data being validated ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem programmatically creating tabstrip webcontrol
Posted by Hal at 10/31/2003 4:14:26 AM
I hope I'm getting the right group this time.
I am trying to programmatically build a tabstrip (creating a template
class for my site that contains a tabstrip in the header). I'm using
the tabstrip from "Microsoft.web.ui.webcontrol" (iewebcontrols).
I have a form (as htmlform) to which I am... more >>
IE Webcontrol Dropdownlist
Posted by freddie at 10/31/2003 1:13:16 AM
I am trying to populate a dropdownlist with data from two
fields with cod like the following:
"select OrderNo + ' - ' +OrderName as OrderName from
Orders "
This works fine as long as OrderNo and OrderName are both
Varchar, but OrderNo must now be of type Integer.
How do I still get... more >>
Button_Click event in user control not firing on page
Posted by Tim Thomas at 10/30/2003 6:00:33 PM
Hi,
I am very new to .NET and am in the process of building my first web
application.
I will briefly describe what i am trying to achieve:
I have a system where suppliers register their details, their locations, and
then add themselves to categories. Each category requires additional info
f... more >>
Getting HTML style attribute in Custom WebControl
Posted by msnews.microsoft.com at 10/30/2003 5:14:00 PM
This seems like it should be easy (and maybe it is) but I can't figure it
out.
I have a custom web control (derived from
System.Web.UI.WebControls.WebControl)
I'm in Grid Layout mode so at design time the HTML in the .aspx page looks
like this:
<cc2:CAUTreeView id="cautv" style="Z-INDE... more >>
convert textbox value to integer
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/30/2003 1:54:01 PM
How to convert textbox value to integer?
Say txtBox1.text="10"
Thank you!... more >>
Why save as dialog is displaying twise
Posted by Vijay Neelam at 10/30/2003 1:08:36 PM
Hi all,
Dim a As String = Response.ContentType
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/msword"
Response.AddHeader("content-disposition", "attachment;
filename=Document.doc")
Response.Write(strDoc)
Response.ContentType = a
Response.End()
I'm writing thi... more >>
Change "Enabled" appearance for a LinkButton
Posted by Nils M. Lunde at 10/30/2003 12:20:30 PM
Hi!
I'm trying to make a LinkButton appear black and not dimmed when disabled.
To accomplish this I tried to override the Enabled property, but wthout
any luck.
No matter what I do in my derived property, the control remains dimmed.
How can I make the disabled LinkButton appear black, or
... more >>
Setting color in ASP.Net
Posted by M. Craig at 10/30/2003 8:25:52 AM
Is it possible to assign an object a color based on a value like "#CCCCCC"
or "Gray", without using the Color.Red syntax?
... more >>
differring option and value in ddlb
Posted by Mark at 10/30/2003 8:19:04 AM
I populate a drop down list box from a database, and then
insert a block value at the top (to represent "all
values"), using a ddlb.Items.Insert(0,"");
This sets both the value and the text to "". How can I
set them to different values? I need something
(conceptually, I know this overrl... more >>
custom web control with sort, filter and page
Posted by HD at 10/29/2003 8:49:45 PM
Hi,
Having issues with DataGrid and got to designing my own web control. Would
be glad if someone can help me with some of the issues.
* for custom column names which are clickable to execute sort even i need
something similar to DataGrids Columns collection which can be populated
with multiple... more >>
Textbox Right alignment
Posted by Reddy at 10/29/2003 8:41:46 PM
Hi! All,
I am using a text box to enter the Currecny. It should be right aligned. How can i do that. Textbox has no property align. So how could we make it in ASP.NET
Can anybody give small example.
Thank You very much
Reddy... more >>
TreeView responding very slow...
Posted by hkhatri NO[at]SPAM nexgenix.com at 10/29/2003 8:15:42 PM
Hi all,
I have around 1500 records under a node of a TreeView
control. When the node in clicked, it takes a lot of time
to expand and display child nodes.. This is becoming a
performance issue for my application.
1. I do not have any images on my TreeView..
2. Populating treeview from cli... more >>
Click event not firing with custom control
Posted by Zane at 10/29/2003 6:38:33 PM
Hi all,
I have created a custom control library in Visual
Studio .NET 2003 using .NET framework 1.1 on Server 2003.
The problem is when I promatically add a click event to a
button within a custom web control it won't work unless
it has a property attached to the class (IE like text for ... more >>
dropdown list does not change selected item?
Posted by SSP at 10/29/2003 2:51:44 PM
I have a dropdown list on my page as:
<asp:dropdownlist id=ddJobtypes runat="server" ></asp:dropdownlist>
<asp:button id=jobtypes_btn runat="server" Text="GO!"></asp:button>
This is bound in the codebehind file as:
JobTypesDD_sqlDataAdapter.Fill(dsJobTypesDD1);
ddJobtypes.DataSource... more >>
DataGrid: Setting row background color programatically
Posted by M. Craig at 10/29/2003 1:58:16 PM
Does anyone have an example or suggestion as to how to programatically
databind a row's background color? I understand how to use an
asp:TemplateColumn to set the BG color on a column, but I want to
dynamically set the BG color based on a value returned from a database
I've tried the following... more >>
Textbox Properties from VBScript
Posted by Gary Nelson at 10/29/2003 1:40:53 PM
I am trying to get at the properties of a TextBox from VBScript on an
ASP.NET page. In particular I'm trying to find the equivalent of the
Textbox1.SelectedText property. Could anyone tell me what it is?
Is there any place where you can find a list of equivalents between VB.Net
and Script?
... more >>
Authorization error (401) when loading treeview
Posted by sutcliffe_grant NO[at]SPAM hotmail.com at 10/29/2003 12:01:27 PM
I am having a problem loading a tree view web control.
This problem does not occur on my development machine but
occurs when testing on a QA server.
We can load dropdown lists with data on the same pages.
When attempting to load the treeview, a trace of the call
to the database reveals n... more >>
DataGrid issue
Posted by PatLaf at 10/29/2003 10:30:40 AM
Hello all,
In my previous post about the grid's sort event not
firing I didn't include the code. Here it is on the code
behind page.
Public Sub dgLaserEtch_SortCommand(ByVal source As
Object, ByVal e As
System.Web.UI.WebControls.DataGridSortCommandEventArgs)
Handles dgLaserEtch.SortComma... more >>
Tabstrip control for web pages?
Posted by Geoff Pennington at 10/29/2003 10:10:38 AM
I am using DotNet Framework 1.0. When working on a Windows project the
toolbox contains a tab control, but when working on a web project there is
no tab control. Is there anyway to obtain a tab control I can use on a web
page?
Much obliged.
... more >>
Printing a large datagrid (hopefully a simple problem)
Posted by chrismichaelgardner NO[at]SPAM hotmail.com at 10/29/2003 10:10:19 AM
I have a datagrid that prints a large number of records from a SQL
database. Because it is a large table, when printed the table
"bleeds" from one page to the next. Ideally, I would like to have 8
records to a page, then have the printer page break. Crystal Reports
is not an option.
What w... more >>
Grid won't fire event in code
Posted by PatLaf at 10/29/2003 9:50:23 AM
My original post must not have been clear enough and for
that I apologize.
The response that I got about the event not firing was
that I had to write the sortation code myself. I did
this. That isn't the problem. Somehow the grid's sort
event never fires. Does anybody know why this would
... more >>
Repeater ITemplate all in one table
Posted by chrismatheson77 NO[at]SPAM hotmail.com at 10/29/2003 8:30:46 AM
I'm currently using classes implementing the ITemplate interface to
format the display of data that is bound to databound objects. I
started out using the DataList, but soon found that the datalist
performs some initial formatting for you. Specifically, it
automatically puts any bound data int... more >>
Alright smarty-pants, solve this problem:
Posted by mike NO[at]SPAM kingscott.f9.co.uk at 10/29/2003 6:53:26 AM
Ok, I have a table of fruits (Apple, Orange, Pear, Banana), a table of
people (Rod, Jane, Freddy), and table that links who likes what (Rod
likes Apple, Orange; Jane likes Pear, Banana; Freddy likes Orange,
Pear).
(Hopefully you will realise that the first two tables have a primary
key identi... more >>
AspNet DataGrid won't fire sort routine
Posted by PatLaf at 10/29/2003 6:34:31 AM
Hello to all,
I have an asp.net application that uses a datagrid but it
won't fire the sort command even though I've set the
allow sort to true. Any idea's?
Thanks in advance
Patrick Laferriere... more >>
Adding Controls Dynamically
Posted by Prabhu Ram Prasath at 10/28/2003 10:42:12 PM
Dear Friend,
Does anyone could answer this simple problem!!!
I have a textbox, submit button and a panel (all webserver
controls) in a web page.
After entering some text in the textbox and pressing the
submit button, it will add the text into the panel as a
Hyperlink.
The code in t... more >>
DropDownList Delete all
Posted by news.microsoft.com at 10/28/2003 2:27:19 PM
I can't believe there is not an easy way to just delete a list box so it can
be refilled in C#?
Mick
... more >>
show same datagrid twice in a page.
Posted by John Ninan at 10/28/2003 2:21:16 PM
I have a query like this
"SELECT employeeID, employeeName FROM EMPLOYEE"
Which will return 1000 Rows.
I want to display two tables in the same page with 500
records each.
Datagrid 1 Datagrid 1
Emp ID Emp Name Emp ID EmpName
1 xxtte 501 Xx
2 xxttee 502 Yy
3 tteeww .
... more >>
Conditional user interface in ASP.NET
Posted by Terence at 10/28/2003 2:15:51 PM
Dear all,
I am converting an asp application to aspx and encountered a problem.
The problem is that i need output different html code based on some
condition. For example,
in asp, there is a variable (let say, bEditMode), if bEditMode= false, then
the page display the value in text.
If the b... more >>
ad rotator imageurl tags
Posted by David Bartosik - MS MVP at 10/28/2003 1:51:24 PM
It was no great surprise to find that the ad rotator schedule file only
supports 1 imageurl tag per ad. Would anybody know of a workaround?
I use an ad service that uses 2 images, 1 is the ad image the second is a
blank 1 pixel image that they use for tracking purposes. So I need 2
imageurls per... more >>
how to use DTS package?
Posted by susie at 10/28/2003 10:01:21 AM
Can SQL DTS package be used in asp.net application? If it
can be used, can anyone show me how to use it? Say my
package name is "TranferFile"... more >>
populate data to dropdowlist
Posted by susie at 10/28/2003 9:34:47 AM
I have following code to populate a downdownlist
dynamically:
Dim myCmd As SqlCommand = New SqlCommand("SELECT LName,
FName FROM Manager", con)
Dim myReader As SqlDataReader = myCmd.ExecuteReader()
dropdown1.DataSource = myReader
dropdown1.DataValueField = "LNam... more >>
dropdownlist issue
Posted by seamad at 10/28/2003 6:14:34 AM
how can I populate one dropdownlist field from two
seperate database fields eg. product number and product
description on one line? I'm using the ie webcontrols... more >>
datagrid webcontrol
Posted by wilson at 10/27/2003 11:12:39 PM
i have a datagrid control in my webform which i am using
for filling data and i want to put one submit button,
webform button control, at the bottom of the datagrid.
but my problem is i don't know how many records will be
displayed in the datagrid. so i am not able to find the
location f... more >>
Datagrid question! losing a column on page refresh... why?
Posted by James Radke at 10/27/2003 4:51:33 PM
Hello,
I am using a datagrid on a asp.net (1.1 version) webform.
In the .aspx page I have a blank ItemTemplate column defined as:
<asp:TemplateColumn HeaderText="Line-DL<br><br>">
<HeaderStyle HorizontalAlign="Center" Width="40px"
VerticalAlign="Bottom"></H... more >>
Re: Assigning Hot Keys in Web Applications
Posted by Garfield at 10/27/2003 2:08:44 PM
Hello,
Can anybody help me to add a hot key to a web application button and have
the text on the button underscored. I'm using C# within .NET
e.g. assign Alt-C to a button with text "Click Me" where the "C" is
underscored.
Many Thanks
Garfield
... more >>
Dropdownlist in web application similar to DropDown in windows
Posted by Guogang at 10/27/2003 2:00:09 PM
I want to have a DropDownList in web application that behaves similar to
DropDown in windows control. i.e., if user can not find what they want in
the dropdown list, they can simply type their choice in the text box, and
submit that to our web server.
Is there a nice solution for this?
I a... more >>
Retrieveing values form server side textboxes
Posted by Kerri at 10/27/2003 11:55:48 AM
Hi,
I have an aspx page with some server side textboxes.
I have a button onmy page which allows users to add data
to a database.
In my onclick event for my button when I try and get teh
value from the textbox using..
Dim myString as String = textbox1.text
...it is blank.
When I... more >>
throw exception back to the page
Posted by SteveS at 10/27/2003 8:52:15 AM
Hello,
I created a user control where there are several text boxes and a button.
When the user clicks the button, I want to validate the data. When the the
data is not valid, I would like to throw an exception. Is there a way to
handle that exception on the main page? In other words, afte... more >>
Child controls disappearing
Posted by kelly_miller NO[at]SPAM ultimatesoftware.com at 10/27/2003 7:38:08 AM
I've created a WebControl (that inherits from WebControl) that has
child controls that need to be persisted in the HTML. They seem to be
rendered initially at design-time, but then if I change something
about the parent control, all my inner controls are lost. I've seen
numerous other posts abou... more >>
Client Side Javascript / DataGrid question - Can anyone answer this?
Posted by James Radke at 10/26/2003 2:57:36 PM
Hello,
I have a datagrid on a vb/asp.net webform. Due to the number of elements on
each line item we have opted to not use in-line editing for each row, but
instead we are making the first item "clickable" which will then copy the
selected rows information to one row of data entry fields - te... more >>
Serious issues with webcontrols...
Posted by Nicolas LeBlanc at 10/26/2003 11:58:52 AM
Hi,
First of all, sorry for cross-posting, but some groups look more active than
others, and I sure need to find an answer to this.
I recently rebuilt my website using ASP.NET and I did my forum system using
a datagrid and template columns. I was asked by many users to remove the
LinkButton... more >>
Error message
Posted by Eli at 10/25/2003 5:16:03 PM
I am a new developer using ASP.net. Trying to follow the
Web Matrix Project Guided Tour. I was doing fine until I
got to the "Sending E-Mail Form". Upon testing, I am
getting a browser error "There was an error sending the
mail: Could not access 'CDO.Message' Object.
Any tips, ideas.
... more >>
|