all groups > asp.net building controls > december 2003
Filter by week: 1 2 3 4 5
Rendering graphics on a custom control
Posted by Gerben van Loon at 12/31/2003 12:58:57 PM
Hi,
Hope someone can help me on this. I like to make an own ASP.NET charting
control, so I need to render some graphics in a custom made control. I
already found this example which sends back a bitmap from the control to the
page:
Page.Response.Clear();
Page.Response.ContentType = ... more >>
How to use Collection Editor for control
Posted by Juan Romero at 12/31/2003 11:16:45 AM
Hey guys,
I am building a web control. Can someone give me a sample snippet or
explanation on how to use the collection editor to add/remove items to my
control's collection or array?
I am currently using an array to hold a number of items of a class X, I am
able to make the collection edit... more >>
Custom Controls Variables persistence.
Posted by Nadav at 12/31/2003 9:39:59 AM
I am building custom controls with <asp: tags and
instance variables.
The <asp: tags persist between post backs but the
instance variables do not. How do I get around this?
Thanks in advance.... more >>
keep getting not in debug config
Posted by Paul at 12/31/2003 9:31:59 AM
Hi I am trying to debug a asp.net project done by someone
else and when I try to start it in debug mode I get the
(not in debug config message). I checked the web.config
file and the tag is set as
<compilation defaultLanguage="vb" debug="true" />
which looks ok. I am running everything on ... more >>
Why is SaveViewState called twice in the Control Life Cycle?
Posted by google NO[at]SPAM 3la.com.au at 12/30/2003 9:54:36 PM
Hi,
I'm just looking at the web control life cycle and it appears that the
SaveViewState method SaveViewState is called twice.
To demonstrate, I overrode each method of the Web Control Life Cycle
with a 'Page.Trace' command (note that the string '-> SaveViewState'
appears only once):
//... more >>
get volume serial number
Posted by TJS at 12/30/2003 9:35:48 PM
can anyone help me get this working for asp.net server control using vb ?
doesn't compile, error on "disk.Properties" and "response.write"
==============command line================
vbc /t:library /out:volume.dll /r:System.web.dll /r:System.dll
/r:System.Management.dll /r:System.Web.dll *.... more >>
How to place a control under a form?
Posted by Oleg Slyuasrchuk at 12/30/2003 6:04:51 PM
Hi all,
What is the difference (probably in attributes settings) between
a control that can be dragged on a page and that has a visual presentation
(as any of "Web Forms" controls)
and
a controls from, for example, "Data" tab or "Components" of the tollbox
that being dragged on a page, are... more >>
just getting started-cant find server
Posted by Paul. at 12/30/2003 4:04:32 PM
Hi, I am trying to get asp.net going and am using the Code
notes asp.net book example. I have installed IIS and
VS.net webdevelopment along with the entire vs package. I
created a virtual directory located at c:\test, and saved
a simple test program called test.aspx in the directory.
Whe... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
custom control bindable property
Posted by MrB at 12/29/2003 11:26:34 AM
I've made a server control that overrides the dropdownlist control. It has
one new property (ddlLocation) that needs to be databound. All is working
well if I type the databound information into the asp.net html view. see
example below.
<jb:jbddl id=jbddl_court_id runat="server" Width="152p... more >>
persistent values
Posted by luis carvalho at 12/29/2003 7:40:40 AM
I'm developing a web user control. This control as global
DataTable. WhenEver a button is pressed I have a method
that adds a row to that DataTable, but it seems this data
is never persisten for although I add a row everytime (
DataTable.Rows.Add(DataRow) ) my DataTable never has more
than... more >>
Parsing InnerProperties after modifying HTML (design time)
Posted by Oleg Ogurok at 12/28/2003 10:03:45 PM
Hi all,
In my custom control, I have a property derived from BaseCollection. At
design time, the property shows as (Collection[...]) in the Properties
window, so I can click [...] button and add items to it. The items get shown
as inner XML tags. (An example of what I'm trying to do is DropDow... more >>
license an ASP.net server control (DLL)
Posted by TJS at 12/26/2003 9:50:14 PM
is there a tutorial, vb version, without using visual studio .net, of how
to license an ASP.net server control (DLL file)
... more >>
UserControl and property
Posted by Brian Bugge at 12/26/2003 7:10:53 PM
Is it possible to display properties of my usercontrol in the propertygrid
in vs.net
eg.
[System.ComponentModel.Browsable(true),System.ComponentModel.EditorBrowsable
(EditorBrowsableState.Always),DesignerSerializationVisibility(DesignerSerial
izationVisibility.Visible)]
public string Text{... more >>
Dynamic composite control
Posted by James Gomount at 12/26/2003 3:34:23 PM
I want to build a control that can dynamically display different sub
controls.
For example, there is a dropdownlist and a submit button. When an item is
selected from the drop down list and the user press the button, I want to
display other controls (i.e. Textbox and buttons) depending on the i... more >>
Positioning Controls
Posted by Colin Basterfield at 12/23/2003 4:42:24 PM
Hi,
What is the best way to position a set of runtime created controls, in my
instance I need to build a set of controls, a label, and two text boxes per
row returned from a web service, but obviously need to position them in a
tidy fashion, I read somewhere that I can simply override the Rend... more >>
autocomplete combobox ASp.NET/VB.NEt
Posted by John Koswalski at 12/21/2003 4:38:45 PM
Hello,
Can anyone guide me to a tutorial for building extra features into web
controls like auto complete .. etc ...
I'm a more of a VB windows programmer and my old tricks don't work
Thx
... more >>
XP Style Manifest
Posted by Robby White at 12/21/2003 1:36:35 PM
When I implement a manaifest to XP style my controls it
slows the loading of my treeview but as much as three
tmes? is this a known issue?... more >>
XP Style Manifest in a Class Library
Posted by Robby White at 12/19/2003 4:12:46 PM
I know how to use the manifest to acheive XP style
controls in an executable file, but how can this be
aceived in a class library? I have a component designer
that I want to apply the manifest to, but it is built
into my DLL. Help!
... more >>
Creating templates programmaticaly from a repareater DataSource
Posted by Patrice Scribe at 12/18/2003 3:36:35 PM
I would like to create templates using instantiatein depdepnding on the
current datasource.
Is this possible ? I do'nt see how I could access the datasource using the
container ?
Or should I do this at databind time (not too late ?)
TIA
--
... more >>
problems while downloading IE Windows control
Posted by Shira at 12/18/2003 2:53:34 PM
I am tring to download treeview to my computer.
I checked And found out I have the requirments:
Microsoft .NET Framework
ASP.NET
Microsoft Windows 2000 or Microsoft Windows XP Home or Professional
after I saved the downloads files I opened it.
exccepted the license.
if double cl... more >>
just getting started
Posted by paul at 12/18/2003 1:41:34 PM
Hi I am just getting started trying to install vs.net and
can not seem to install the web development section. I
think I may need IIS installed. I have a drive on my
computer mapped to a server running IIS so thought this
would be sufficient. Anyhow the web development portion
of the vs.... more >>
Dynamically change the alignment of drop down list in web form
Posted by susan at 12/18/2003 12:20:22 AM
Hi...
I have the below codes to dynamically add a drop down list
to a webform. However, the drop down list appears but the alignment is
weird. Is there any way to change the alignment programatically in the
codes ? Thank you in advance.
Codes to add a drop down list to a webform
********... more >>
Composite control with editable panel.
Posted by Rick Gunderson at 12/17/2003 3:13:51 PM
After searching google news I've seen lots of old questions on
composite controls and Panels but found no answers.
Has anyone ever successfully built a composite control that consists
of some fixed HTML (like some banner text) and a Panel control where
other controls can be dropped in the VS.N... more >>
Random content
Posted by Casper Hornstrup at 12/17/2003 10:48:15 AM
I need to make a control that can be used like this:
<csite:LocalizedHint id="hint1" runat="server">
<csite:Target>
<a href="http://whereever.net"> my text</a>
</csite:Target>
<csite:Source>
<div class="special1">Click me!</div>
</csite:Source>
</csite:Local... more >>
Problem with Calendar webcontrol in a web custom control
Posted by jeg NO[at]SPAM dlg.dk at 12/17/2003 2:39:30 AM
I'm building a web custom control, that should render out a calendar
webcontrol. I'm using the following code...
protected override void Render(HtmlTextWriter output)
{
System.Web.UI.WebControls.Calendar calendar = new Calendar();
calendar.RenderControl(output);
}
The problem is that it o... more >>
Usercontrol Method
Posted by Joe Molloy at 12/16/2003 7:10:25 PM
Hi,
I have a usercontrol containing mutually exclusive radiobuttons and I am
trying to use a public function to set a property of the usercontrol based
on which one is checked. However when I refer to the radiobuttons in my
public function (method) the runtime tells me that no object referen... more >>
Custom Template in Datalist
Posted by Mike Oblivious at 12/16/2003 4:06:16 PM
Datalists are great for viewing, selecting, and editing
data in an organized format. But what do I do if I want
to add a new record?
Conceptually, one should be able to click a "New" button
and be presented with a blank record that they can enter
data into, click "save" and then have the ... more >>
Serialize web control
Posted by Ahab Guirguis at 12/16/2003 10:30:13 AM
Can a custom web component be serialized? And how can the component be
serialized to xml?
... more >>
code :::::USer control for menu
Posted by Vannela at 12/16/2003 12:01:01 AM
I HAVE WRITTEN THE CODE FOR USER CONTROL MENU BUT I AM
UNABLE TO SEE IT IN DESIGN VIEW WHY WHERE WAS I WRONG.
THE CODE IS AS FOLLOWS:
<%@ Register TagPrefix="iewc"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, Publi... more >>
Hoe to get DataList Checkbox status in item template
Posted by Vannela at 12/15/2003 9:31:02 PM
I want to get the status of the checkbox control in the
item template of the DataList in the code behind
Using findcontrol i am not able to get the status of the
checkbox . How shouls i get the status of the checkbox
whether it is checked or not?\
Thank you... more >>
#=@=@=@=@ Help @=@=@=@=#
Posted by == Maja24 == at 12/15/2003 7:04:09 PM
Name
What this error mean ? thank you Protocol: NNTP, Port: 119, =
Secure(SSL):
No, Error Number: 0x800C006F
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
It would be nice to met some one Male 24-30 years From U.S.A=20
=3D=3D=3D=3D=3D=3D=3D=... more >>
DataGrid Cell with an ImageButton In It
Posted by klj_mcsd NO[at]SPAM hotmail.com at 12/15/2003 1:30:01 PM
I create a datagrid and at runtime I add an ImageButton to certain
cells(e.Item.Cells.Controls.Add(imgbutton)). Now when I click on a row
that contain an image button, in the ItemCommand event the row is
return.
So I do e.Item.Cells(3) is the cell with the control in it supposely.
When I do e... more >>
How to refer Page level variable from a control?
Posted by Oleg Slyuasrchuk at 12/15/2003 12:21:23 PM
Hi,
I have a composite control inherited from System.Web.UI.Control.
Inside of this control I need to refer to a Page level variable decalared
as
public string channelStructure.
In a debugger I see value of this variable as :
((CmsFormEditor.EditForm)(((ASP.EditForm_aspx)(((System.W... more >>
Is there an Equivalent control in .NET for Datawindow control Of PB
Posted by Vannela at 12/15/2003 4:03:31 AM
Is there any equivalent control in .NET for the Power
builder DataWindow control?
I am explaining the Datawindow architecture to some extent.
Power Builder DataWindow Control has got different
presentation styles and different data sources.
Presentation styles like tabular format , grap... more >>
Aligning the controls in the item template of the datagrid
Posted by Vijaya at 12/15/2003 3:05:02 AM
I have got the datagrid control with item template
property , and i want to align the textboxes or checkboxes
in the header template of the datagrid?
When i am trying for it i am getting these controls
aligned in the horizontal fashion .
Is there any way to align the controls vertically?
... more >>
Compiling error, please
Posted by Beny Rey at 12/12/2003 10:32:36 AM
Hi Everybody,
When I tried to compile my CustomControl ( to be later called from a ASP.NET
page )
I always get the following message:
"vbc: Command Line error BC2012: can not open ..\bin\CustomControls.dll
for writing"
Could anyone please explain me which is the problem?
... more >>
JOB: Houston, TX >> Web / .NET Developers (6 months+ contracts)
Posted by infoTEAM, inc. at 12/12/2003 12:10:45 AM
JOB: Houston, TX >> Web / .NET Developers (6 months+ contracts) - Local
Candidates ONLY
infoTEAM, inc. is currently staffing the following contract positions for
our client, located in Houston, Texas.
DESCRIPTION:
The Web / .NET Developers will rewrite large gas transportation and... more >>
Sending a session variable to a custom control
Posted by Scott at 12/11/2003 1:18:37 PM
I have the following code in my aspx page which calls my custom control
(this works):
<cc1:matextbox id="matextbox1" runat="server">
<questioninfo typReportID= "This is where a number goes">
</cc1:matextbox>
This is fine for a test, but I really need it to use a session variable
instea... more >>
Databinding to a custom control...
Posted by kieron at 12/11/2003 12:49:51 PM
Hi,
I've written a control that consists of a few textboxes, a dropdown box and
two radiobuttons. They make up the details of a contact, I want to be able
to bind a datasource such as a dataset or datareader to it and be able to
update/ add records. This control will serve as a detail control ... more >>
ASP.NET: Day / Work Week / Week / Month web calendar control with view like MS Outlook
Posted by gicio NO[at]SPAM gmx.de at 12/10/2003 7:44:28 PM
Hi!!
Did Infragistics or some other company else provide a web calendar conrol
with the features and look of Microsoft Outlook calendar?
I mean that feature that you can choose Day / Work Week / Week / Month view
of the calendar.
regards,
gicio
... more >>
How to implement Drop down list in "properties" box?
Posted by Oleg Slyuasrchuk at 12/10/2003 4:56:57 PM
Hi All,
It may be seem easy, but:
How do I implement a public property that I want to be able to select from a
list of predefined values (at design time)?
Like, for example, "BackColor" in "Apperance" section.( Even without any
extras as a dialog or populating from DB)
Thanks,
Oleg
... more >>
Expandable property runtime error
Posted by Robert Wilson at 12/10/2003 4:25:15 PM
Hi, could somebody please help.
I am creating a Custom Control for Asp.Net using C#. The code below creates
an expandable property called Crop. It works fine in Visual Studio, but when
I use the custom control in WebForm.aspx I get the following server error:
"System.Web.HttpException: Unabl... more >>
Custom Component and Custom Textbox binding
Posted by Bill Anderson at 12/10/2003 12:22:59 PM
Hi,
I am trying to accomplish the following.
Here is what I want to do:
1. Drop a custom business object component onto the
design surface and have it show up in the area below the
designer grid in VisStudio (like a dataadapter or dataset
does).
2. Drag a textbox webcontrol and cha... more >>
stylesheet question
Posted by Nedu N at 12/10/2003 10:02:04 AM
how to apply a stylesheet for the entire web applciation in ASP.NET?
Thanks
... more >>
properties not showing in properties window at design time
Posted by kunp NO[at]SPAM pox.nl at 12/10/2003 12:42:17 AM
I created a usercontrol using vb but the properties will not show in
the properties pane however the properties show up in the intellisence
list.
I read several posts about this but got no clear answer, any help will
be higly appreciated.
Here's the code:
Public Class myclass
In... more >>
position ascx on aspx
Posted by Saifee at 12/10/2003 12:34:40 AM
Hi,
I have a a.ascx containing a textbox and a button.
Now i drag this a.ascx on my b.aspx, but this usercontrol
always appears at the top of the b.aspx page.
How can i place the usercontrol on the desired location.
Saifee... more >>
LoadViewState override not firing in UserControl
Posted by umbaga NO[at]SPAM werusa.com at 12/9/2003 3:58:18 PM
We're trying to get an override void LoadViewState to fire in a user
control that has been added dynamically to the page. The SaveViewState
seems to be firing just fine as evidenced by the
System.Diagnostics.Debug inserted into the overrides.
In a nutshell, the page loads a control in response... more >>
Scrolling through my controls on a page
Posted by Scott at 12/9/2003 3:11:00 PM
I created a custom web control and placed a couple instances on an aspx
page. The idea is that the user needs to make a selection in each control
and then click on a button to save the answers in each control to a
database. How can I programmatically scroll through all the controls on the
page... more >>
Object reference not set...
Posted by Brian Vallelunga at 12/9/2003 2:16:43 PM
This is very strange. I have a server control that I built called "Test". It
is in the namespace "Vallelunga.Guestbook". The code for the usercontrol
looks like this:
namespace Vallelunga.Guestbook
{
public class Test : System.Web.UI.Control
{
public Test()
{
... more >>
combo box control in ASP.NET
Posted by Nedu N at 12/9/2003 1:40:44 PM
Experts,
Can anyone tell me how to create and use the combo box control (text box +
drop down list). I want to populate the dropdown list dynamically from the
database and and also want to optioanlly get the user input in the text box.
Hope there shd be an easiest way rather than going around.... more >>
|