all groups > asp.net webcontrols > november 2003 > threads for november 15 - 21, 2003
Filter by week: 1 2 3 4 5
how ASP.NET page gets user input from another ASP.NET page??
Posted by Matthew Louden at 11/21/2003 5:45:20 PM
In ASP, if I have asppage.asp for GUI and aspprocess.asp for process
requests from database.
In asppage.asp code will be like:
<form action="aspprocess.asp" method="POST"> GUI CODE </form>
When the user clicks the submit button on asppage.asp, it will invoke
aspprocess.asp page
aspproces... more >>
select button in datagrid to cause a redirect
Posted by TJS at 11/21/2003 1:34:23 PM
I have a select button in a datagrid which I want to cause a redirect when
clicked
I have this in script
===============================
Sub Page_Load(Sender As Object, E As EventArgs)
If Not Page.IsPostBack Then
' Databind the data grid on the first request only
... more >>
Calendar broke?
Posted by Bob Blaker at 11/21/2003 1:01:09 PM
Hi,
Has anyone sucessfully reset the background color for the "other" days,
i.e., OtherMonthDayStyle.BackColor? The default appears to be a wheat
color. I can set all the other properties for the "other" days, but not
color for some reason. Any ideas on how to make this work?
thanks,
B... more >>
Fill Tabstrip Control dynamically with multiple TreeView controls
Posted by Brian Watkins at 11/21/2003 10:05:56 AM
I am trying to dynamically add tabs to my tabstrip control and then build a
different treecontrol for each tab on my tab control.
Basically the Tabstrip control would have n number of tabs/pageviews and
each pageview would have its own treeview.
Any suggestions on how I could tweak the code belo... more >>
Datagrid summarries.....
Posted by ALPO at 11/21/2003 8:46:55 AM
I need to have three summary rows based on datagrid
information. I am already using the footer for "adding new
record" controls. Is there a way to add the summary rows
to the grid, or do I need a seperate grid?... more >>
Setting focus
Posted by Greg Smith at 11/21/2003 7:46:42 AM
Is there a way to set the focus to a control as you do with the .Focus on
the Win side?
Any help is greatly appreciated.
... more >>
Problem with adding UserControls programtic in the OnPreRender event and still keep the UC viewState
Posted by Flare at 11/21/2003 1:17:33 AM
(ASP.NET 1.1)
Hi
I have a problem with my ViewStates in a userControl. The problem is that
the ViewState is not "writte" og changed if you like after editing in my
case a textbox.
This is the code I use to add the User controll
Control Component1 = null;
Component1 = LoadControl("MyUC.a... more >>
extending treeview control
Posted by Wes Weems at 11/21/2003 12:20:32 AM
Does anyone have examples of extending the treeview control?
I'd like to add some drag/drop support to it.... and dont have a clue as
where to start
wes
wweems3SPAMSUCKS@charter.net
remove spamsucks to email back.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
page templates driving me to the brink of suicide
Posted by Mitch at 11/20/2003 3:18:00 PM
I'm trying to use page inheritance so that I can derive all web pages from a
template. There are a bunch of examples at this site
http://authors.aspalliance.com/PaulWilson/Articles/?id=1, but strangely
enough, not a single one works with my design.
My format is quite simple: large table direc... more >>
Navigation using a Tab Strip control
Posted by Cathie at 11/20/2003 3:06:21 PM
Hi all,
A curly problem for you :)
I have created a user control that contains a web strip control used to
navigate around my web application. I am not using a multi-page control as
the logic for each page is detailed and I would prefer to split it across
multiple files rather than just on... more >>
Validation Question
Posted by Keith Kowalski at 11/20/2003 1:53:03 PM
I have The Following. (Visual Studio - ASP using VB)
Radiobutton with groupname="JNL"
ID="rb1"
Text="yes"
Runat="server"
Autopostback="Tru... more >>
how to call a function in another aspx page?
Posted by Matthew Louden at 11/20/2003 11:25:16 AM
I want to provide date selection in a page. Basically I want to have similar
effect as DTPicker in Visual Basic.
My idea is to create a calendar control in mycalendar.aspx. Then I create a
button in main.aspx. When the user clicks the button, it should call
mycalendar.aspx and pop up a calenda... more >>
FYI: Webcontrols completely from a virtual directory (including the webctrl_client folder location)
Posted by Todd at 11/20/2003 10:57:22 AM
There is a reference to the "webctrl_client" folder in the source file:
C:\Program Files\IE Web Controls\src\BaseRichControl.cs
If you need the webctrl_client folder to be completely under a virtual
directory just change the code from:
private const string DefaultCommonFilesRoot = "/we... more >>
Viewstate and Dynmac controls
Posted by Steve Drake at 11/20/2003 10:55:05 AM
All,
I have a CONTROL that contains 1 control (Control ONE), the 1 control that
it can contain 1 or 2 control (Control A and B).
Control A, raises and event and Control ONE receives this event and this
causes control B to be created, when this is done the VIEWSTATE is lost for
CONTROL B.
... more >>
Client-side enable/disable
Posted by Erik J Sawyer at 11/20/2003 7:38:09 AM
Is there an way, using the built-in functionality of the
web controls, to tie two controls together so that the
value of one will enable/disable another *on the client
side* (no postback).
For example, I'd like to have a textbox that is disabled
by default, but can be enabled by ticking a... more >>
IE TreeView Control has opaque background!
Posted by SED at 11/19/2003 10:48:33 PM
I need to make the treeview background transparent, but
this does not seem to work no matter how i try and
approach it. Anyone seen this and know of a way around
it, or a fix?
-sed... more >>
RegisterClientScriptBlock in PreRender
Posted by Jon Paugh at 11/19/2003 2:09:00 PM
I noticed that if in my WebControl derived class I call
RegisterClientScriptBlock in my Render method I don't see
the javascript, but if I call it from PreRender, I do see
the javascript in my html page. I would love to know
why ? :)... more >>
ItemDataBound doesn't fire when I use DeleteCommand
Posted by Peter Afonin at 11/19/2003 8:34:55 AM
Hello:
I'm deleteing data using Datagrid, then rebind it. For some reason
ItemDataBound event doesn't fire after DeleteCommand. Why is this? Is it by
design, or I'm missing something? I have some important calculations in
ItemDataBound event. My code for DeleteCommand is below.
I would appr... more >>
Web Controls
Posted by lisa28prog NO[at]SPAM hotmail.com at 11/19/2003 7:59:12 AM
Can anyone tell me a good place to start or project to learning web
controls? I am new to .NET & started a new job today.... more >>
header template
Posted by vijaya at 11/19/2003 2:41:46 AM
i want to bind data to the header template of template
column using any one of the web server controls like
button,textbox etc.
The data comes from the database through the sql select
statement, it shouldn't be a static text
Is it possible to bind data from a source like dataset ot ... more >>
Best practice for checkboxes in repeaters
Posted by Thomas Nielsen [AM Production A/S] at 11/18/2003 12:32:28 PM
I've been struggling (for too much) with checkboxes in repeaters. It's a
mystery to me why the <asp:checkbox> control does not expose a value
property for the checkbox, so that you would be able to identify the
checkbox on postback.
Can anyone comment on best practices for working with checkbo... more >>
Can I use OnTextChanged in JavaScript for TextBox
Posted by Leo at 11/18/2003 10:25:39 AM
Hi,
I have my textbox control, I want to fire an event for
TextChanged, how can I do this?
Thanks
Leo... more >>
nektoinphx@yahoo.com
Posted by Mathew Michuta at 11/18/2003 6:46:27 AM
I'm using VS.NET and I want to use a .net webservice that
returns a dataset to populate a crystal report with data.
The webservice is going to do all the authentication, so I
don't think I need all the bells and whistles of the IDE
attached crystal report...
I'm guessing that I can jus... more >>
LoadControl don'i fire event
Posted by Stefano Rossi at 11/17/2003 11:55:44 PM
I need load a lot of usercontrol runtime in a WebForm.
The controls are displayed correctly, but the event
definited inside doesn't work.
For example when I click on a button in the usercontrol
the webform is posted and reloaded but the usercontrol
code is not execute.
Why??? Please he... more >>
Overriding ImageButton Render in a custom control
Posted by Peter Colson at 11/17/2003 9:34:51 PM
I've successfully made a custom control based on an image
button and prevented it from doing postbacks by
overriding Render and providing a doClick script function
(built in OnPreRender) that returns false, as follows:
protected override void Render(HtmlTextWriter writer)
{
writer.Wri... more >>
Global.asax On_Start Variables resetting
Posted by Israel Ordonez Jr at 11/17/2003 8:56:04 PM
Hi everybody,
I am having a problem with an ASP.NET application i am working on. I new to
ASP.NET so I'm not sure if I'm doing this right.
I am working on a website that has an oil price listed throught several
pages. In the global.asax file i have the following code.
Sub Application_Start(... more >>
IE WebControls
Posted by Anthony Fine at 11/17/2003 7:34:01 PM
Hello All,
This may sound like a trivial question, but here goes. I am using the
treeview control from the IE WebControls, and cannot get it to display
correctly. When I am in design view, it shows up correctly, but when I run
the page, all of the nodes show up as plain text. I read somewhe... more >>
checkbox checked change event question
Posted by Matthew Louden at 11/17/2003 6:03:23 PM
For the following code, I dont understand why "no" never appears even I
uncheck the check in the check box.
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged
TextBox1.Text = " "
If (CheckBox1.Enabled) Then... more >>
why some controls must set autopostback property to be true??
Posted by Matthew Louden at 11/17/2003 5:59:44 PM
why need to set autopostback property to be true?? I know autopostback event
means to send the form to the server automatically.
I tried checkbox, checkbox list, radio button, and radio button list, and
they all need to set autopostback property to be true, in order to make the
event of the co... more >>
Run-time error: <Control Name> must be placed inside a form tag with runat=server
Posted by Matthew Louden at 11/17/2003 5:45:19 PM
It happend to me more than once. When I create web controls or move the
positions in VS.NET, I encountered the following run-time errors: It doesn't
matter what controls I create, the following 'checkbox' control is just an
example.
Control 'CheckBox1' of type 'CheckBox' must be placed insid... more >>
sorting in data grid run-time error: Cannot find table 0.
Posted by Matthew Louden at 11/17/2003 4:58:19 PM
I am trying to implement the sort event in data grid. I set the data grid's
AllowSorting property = True. I implement the following code that should be
the event will fire when the user click any of the columns in the table:
Private Sub dgReport1_SortCommand(ByVal source As Object, ByVal e As
... more >>
Setting the tab order on Web forms
Posted by Joe at 11/17/2003 3:35:57 PM
Hi,
How do you set the tab order for controls on Web forms?
Thanks... more >>
Drawing Control
Posted by Don Miller at 11/17/2003 2:36:23 PM
I am looking for a web based drawing control but have had no luck finding
one. I want something that is similar to Visio where there is a palette of
objects that get dragged to a drawing surface or panel. It needs to have the
same basic functionality of Visio like drag and drop, connecting of obj... more >>
Datagrid - need to detemine index of datarow on hyperlink click
Posted by debiken at 11/17/2003 2:19:25 PM
I have an aspx page that loads a datagrid from a fairly
complex query. It grabs lots of order information but I
only display part of it on this "order summary" page. The
order number is a hyperlinkcolumn which opens a new
window, and that page displays much more order detail (but
from th... more >>
Desperately need ASP.Net Grid Control
Posted by Daniel at 11/17/2003 11:23:55 AM
Anyone know where I can find one that has the following features:
- Absolutely must be able to copy and paste multiple cells, rows, columns
etc.
- Customizable multi-line column headers. Each line in the header having
it's own customizable font, size, column span etc.
- Customizable cell for... more >>
Third Party Masked Input Textbox
Posted by rick at 11/17/2003 9:29:14 AM
Does anyone have any experience with any third party web
controls that provide a "Masked" textbox? Likes/Dislikes
of any?
For example, have a Telephone textbox masked visually with
the utilization of "( ) - " or a SSN textbox masked
visually with " - - "?
Thanks in advan... more >>
Frame VS Panel
Posted by warrenla NO[at]SPAM bellsouth.net at 11/17/2003 9:02:07 AM
I am trying to decide if I should use a FRAME SET page or
a just use panels. I will have a menu on the left and on
the right I will have various types of content that will
change. I am leaning towards frames, but I was wondering
if anyone else had a better idea....... more >>
ServerValidate event in DropDownList objects.
Posted by Antoine Oulevay at 11/17/2003 6:26:08 AM
Hello
I'm making a Web application in ASP.Net, and I've got some problems using several DropDownList controls. A CustomValidator control is assigned to each DropDownList control. And a validating function is emplemented for each of the ServerValidate event of the CustomValidator controls. Evry Drop... more >>
Selecting the first item of a datalist
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/17/2003 3:27:53 AM
I have a datalist on my page. How can I select the first item of the
datalist in loading page for the first time?
... more >>
Is there control of Tab Stops on webform controls?
Posted by James Radke at 11/16/2003 2:25:46 PM
Hello,
I have several read only textbox fields on a web page, and was curious if
there is any way to set them so when the user tabs through the web page,
they are skipped?
Thanks!
Jim
... more >>
Life cycle order for parent child relations
Posted by foldface NO[at]SPAM yahoo.co.uk at 11/16/2003 1:13:03 PM
Hi
I'm trying to find the EXACT order of lifecycle calls for web pages
and
webcontrols.
I created a control that inherits from Button but has LifeCycle
print statements in it, e.g.
protected override void TrackViewState()
{
base.TrackViewState();
Page.Trace.Write(this.ID, "In Trac... more >>
popup calendar HELP!!
Posted by Joe Bonavita at 11/16/2003 1:06:07 PM
I'm trying to use a popup calendar in my web form and I'm having a very,
very hard time with it.
I have to popup working but I can't get the date back to the parent who
opened it.
My parent unit is called WebForm1.aspx and the child (calendar form) is
called calendar.aspx
This is driving... more >>
Two Web pages
Posted by Smoothice at 11/15/2003 5:16:40 PM
Can anyone tell me how to do this I am very new and
experimenting with asp.net using vb I want to have to
different buttons that load and pass data to different
pages depending on the button pushed. I tried to use two
forms but asp.net will only allow one form per page. Is
there anyway t... more >>
Datagrid Update - Rows Lost
Posted by Demetri at 11/15/2003 3:56:05 PM
I have a datagrid on an aspx page with one column added via property builder - the edit/update/cancel. In addition there is a dropdownlist which has a list of table names.
Upon selecting one of the table names a post back is fired. During the post back the datagrid has columns added to it dynamica... more >>
ASP.NET & Dynamically generating controls or an Entire Page from ASP.NET Script
Posted by Chris Lane at 11/15/2003 12:46:27 PM
Hi,
I am still a newbie to ASP.NET. So far I have seen nothing
about dynamically creating controls on a WebForm at
runtime or about creating the entire page from asp script
by writing the HTML out from ASP.NET Script.
This was the beauty of classic ASP and I don't see how
this works in .... more >>
Scrolling of a datagrid
Posted by Sumit at 11/15/2003 12:11:56 AM
Hi,
I want to make a datagrid to be scrollable instead of
paging in it. So i have out that datagrid html tags inside
<div></div> tags and made that div scrollable.
Due to this if i scroll down the datagrid,,header also
gets off the view because that header is also considered
as a row in da... more >>
|