all groups > asp.net building controls > january 2004 > threads for january 8 - 14, 2004
Filter by week: 1 2 3 4 5
Custom Range Validator how-to?
Posted by jdn at 1/14/2004 2:46:11 PM
Would appreciate some help, as I am blanking on the best way to do this.
I want to have a Range Validator for a textbox where the Minimum and Maximum values are based on what is entered in a different textbox. So, for instance, if the value in the other textbox is X, then the range validator wou... more >>
Write into <HEAD></HEAD> section?
Posted by Jiho Han at 1/14/2004 2:09:40 PM
Is it possible to write into HEAD section, for example to write out a LINK
tag?
... more >>
Inherited TextBox
Posted by masoodadnan NO[at]SPAM hotmail.com at 1/14/2004 12:30:31 PM
All,
I want to create a custom control which is actually inherited from a
textbox. This custom control will have one more field called
Required. If requires is set to TRUE then before user can post this
page (by clicking button or something), I want to make sure that text
field is not empty... more >>
extending the RegularExpressionValidator
Posted by Tomk at 1/14/2004 11:27:23 AM
I would like to have a RegularExpressionValidator that would also require an
entry. So I opened Reflector and looked at the RegularExpressionValidator
control and found the EvaluateIsValid function. In this function it returns
a true if the ControlToValidate is empty. OK so my thought was to e... more >>
user controls: dynamiclly added child controls dont survive post back ?
Posted by Wolfgang Brucker at 1/14/2004 11:21:58 AM
hi,
i have some strange behaviour: i've created a web user control that add's
some child controls (e.g: textbox, image buttons) to its control collection
(= Me.Controls) at runtime.
no prob. but after a postback gets fired (and the web page reloads) the
control collectionb (Me.Controls) ... more >>
validation not working properly
Posted by Stanley Glass at 1/14/2004 10:48:24 AM
Hello all,
I have a control that I am building that adds two validation controls to the
control heirarchy like so:
[code]
'setup and register client-side validation
If Not Page.IsClientScriptBlockRegistered(Me.ID.ToString &
"_ValidationClientScript") Then
Dim js As New System.Text.StringBuild... more >>
The file is being used by some other process
Posted by Jagadeesh at 1/14/2004 10:05:59 AM
hi ,
Am trying to read from and write to a same xml file.i have no prob when
reading the xml file.but when i write to the same file i get the following
error even after closing the reader object(which is open).
The file is being used by some other process.
regards
Jagadeesh
... more >>
Controls like IE URL entry field
Posted by Grey at 1/14/2004 9:56:55 AM
Dear all
I need to design a control like IE URL entry field. When I type =
"http://www.a" in URL, all the addresses have "http://www.a" would =
display. the number of URL display would be decreased as you type more =
words on the URL. Is it possible to do the same in ASP.NET? If so, which =
c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
warning sign
Posted by anonymous anonymous at 1/14/2004 7:01:45 AM
is it possible to get a warning window when using user
Control ?
(warning window like the one apper when installing exe
file )
Thank you... more >>
control value after submit
Posted by psb at 1/13/2004 6:59:58 PM
QUESTION IS AT BOTTOM...
------------- ASPX -----------------------------------------
<form id="form1" runat="server">
<asp:placeholder id="plhA" runat="server"/>
<input type="submit" id="btnS" runat="server"/>
</form>
-------------------
myControl.ascx --------------------------... more >>
Use "Class" to display CSS data in ASP.NET
Posted by Grey at 1/13/2004 6:32:50 PM
Dear all
As I know, I can use "Class" attribute in ASP to render the HTML control =
with some CSS properties. I want to know that is it the same effect in =
ASP.NET? But I found it is not.=20
Below is my code. Please suggest the correction, if I wrong. If not, how =
can i use CSS in ASP.NE... more >>
Composite control not rendering
Posted by Aaron Prohaska at 1/13/2004 3:03:08 PM
I have a composite control that for some reason doesn't get executed
when a load the page containing it. This is a strange problem because
I'm not getting any errors and the page loads, but doesn't execute my
control.
I have been able to make the control execute by instantiating it in the
... more >>
Adding Controls to Toolbox With Add-In
Posted by sherkaner77 NO[at]SPAM yahoo.com at 1/13/2004 10:29:29 AM
I'm having problems creating an add-in to install a library of custom
controls I have in the toolbox. I've created a Visual Studio .NET
Add-in project and implemented this code in the OnConnection() method:
public void OnConnection(object application,
Extensibility.ext_ConnectMode connectMode,... more >>
Controls with a client side onLoad function or seting a cursor server side
Posted by geoffrey.davis NO[at]SPAM csiro.au at 1/12/2004 9:59:32 PM
Is there any way to create a web control that calls a client side
onLoad function?
Its diffucilt since you are not able to access the form or body tags
in the control.
I inherit from:
System.Web.UI.WebControls.WebControl
What I'm really trying to do is set a cursor, i haven't been able t... more >>
dropdown list in custom control not persiting databind
Posted by Joel Barsotti at 1/12/2004 4:39:42 PM
testMy Custom Control doesn't has a drop down that pulls it's information
from another class that I use to get generic
here's the anotated version of what I'm doing:
public class AddressControl : System.Web.UI.WebControls.WebControl,
System.Web.UI.INamingContainer
{
protected System.Web.... more >>
Object property with different return types
Posted by Simbad at 1/12/2004 6:29:14 AM
I have a control 'MyControl' with a property of
type 'MyObject'. MyObject has a property 'MyField' that
is a enum type. I want the type of enum to vary
depending on a another property of MyObject
called 'MyFieldType'. E.g. if MyFieldType = TypeA,
MyField returns EnumA. See code below:
... more >>
Inherited Web forms
Posted by Santhu at 1/12/2004 2:49:05 AM
Can we have Inherited Web forms like win forms?
If so how?
Can give mw some code snippets are urls please
Thank you... more >>
Publish on web
Posted by James McGivney at 1/11/2004 10:04:39 AM
I have a small web application in VS.net/C#. I use an
Access database.
I would like to publish and run the application on the
web. My web host has frontpage extensions installed and
claims to be able to run Visual Studio applications.
My question: Do I make a deployment project and then
... more >>
usercontrol and clientside validation
Posted by Ken at 1/9/2004 10:29:48 AM
Hi there,
I have a usercontrol and i have written sone clientside
validation script associated along with it. Now when i
register this usercontrol in the mainwebform, how can i
access the clientside validation to validate the
usercontrol?
Thanks in advance
-K... more >>
Exposing an internal datasource in the designer
Posted by Art at 1/9/2004 7:45:10 AM
I've created a Custom control that inherits from the
DataGrid class. My control contains collections that I
want to appear in the DataSource property dropdown at
design time. Once I've selected the DataSource, I want
to be able to set the columns of my control from the
collection through... more >>
FREE HOMEBUSINESS-THE GURUS ARE MAKING MILLIONS
Posted by newlifesystems NO[at]SPAM rickymail.com at 1/9/2004 2:34:28 AM
AS ANYONE SHOULD KNOW,YOU SHOULDN'T HAVE TO PAY TO BE IN BUSINESS.....SO WATCH YOURSELF...
YOU WOULDN'T GO TO K-MART OR SHOPKO AND PAY TO WORK THERE WOULD U?
ACTUALLY THEY COULDN'T PAY ME TO WORK IN A PLACE LIKE THAT..HEHE...............
BUT I'VE FOUND SOMETHING THAT WORKS...IF YOU WANT TO ... more >>
CS1513: } expected
Posted by Calvin at 1/9/2004 2:24:52 AM
I get this error when accessing a web page. The Page has
a User Control, which is basically a menu panel, which
gets categories from MS SQL Svr, based on ManufacturerID.
ManufacturerID is fed into GetCategories(int
manufacturerID), via QueryString. This method is part of
an assembly file.
... more >>
How to share data between two controls????????????????????????????????????????????????????????
Posted by gicio NO[at]SPAM gmx.de at 1/8/2004 10:57:08 PM
Hi!
I have a big big problem!!!
:(
what I will do:
on my web form: UpdateFacility.aspx
are two controls: SearchFacility.ascx and AddEditFacility.ascx
SearchFacility has a dropdown list. when the user choose an item from the
dropdown list the SearchFacility shou... more >>
Properties pane of custom control doesn't change in design time
Posted by George at 1/8/2004 5:17:20 PM
Hi,
I have implemented the code similar to the one on the link:
http://www.microsoft.com/japan/msdn/library/default.asp?url=/japan/msdn/library/ja/cpref/html/frlrfsystemwebuidesigncontroldesignerclasstopic.asp
The problem is that the caption in the properties pane doesn't change after
click ... more >>
Obtain VS.NET PropertyGrid's info in UITypeEditor
Posted by RadekP at 1/8/2004 4:28:20 PM
Hello
In my custom UITypeEditor in EditValue(ITypeDescriptorContext context,
IServiceProvider provider, object value) method I would like to get more
information about my editing web control's property in context of Visual
Studio. What I'm particularly interested in is a "Category" value assig... more >>
treeview
Posted by ally at 1/8/2004 3:52:52 PM
I have a treeview in my ASP.NET c# application.when someone selects a node
on the treeview How do I set the node name
myNodeName = TreeView1.Nodes(TreeView1.SelectedNodeIndex).Text
The above code only gave me the value of the parent Node
Any and all help would be greatly appreciated!!!!
... more >>
reusable DataGrid Urgent!!!
Posted by Christopher Calhoun at 1/8/2004 1:26:51 PM
Does anyone know how to create a reusable datagrid
from a class or ASCX which could except dynamic properties like column
header text and could extend all the features of the datagrid like paging
sorting and editing.
Any links or code samples would be very much appreciated.
Thanks.
... more >>
user control properties not available
Posted by nic at 1/8/2004 12:50:53 PM
I have a user control with properties exposed as:
Public Scorecard As Integer, _
Store As Integer, _
MonthNo As Integer, _
YearNo As Integer
I can set these properties from the calling page and can response.write
these values within the user control. BUT! I cannot a... more >>
ASP.NET Menus
Posted by Sriram at 1/8/2004 11:48:15 AM
Hi,
I am developing a new web application. I am new to the
concept of menus in ASP.NET.
I want to develop a menu. I have been looking to make a
menu as it looks like in the ASP.NET forums, a horizontal
one with the tabs. Since i am new to it, i am not able to
get started as how to co... more >>
dropdownlist control
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/8/2004 2:23:50 AM
I want to display a image and the text in the dropdownlist
box.
How can i do that by adding a property to dropdownlist
control?
Is there any way to that?
And i also want a picture to be displayed in the list box?
How are these things possible?
Thank you
... more >>
|