all groups > asp.net webcontrols > april 2004
Filter by week: 1 2 3 4 5
Datalist problem
Posted by alirýza tosun at 4/30/2004 5:05:41 PM
hi,
i use a datalist object in my page .aspx...
it is bound with data.
But when i wanted to use a button i failed.
i searched and found that for trigger a button object i should use an event
named ItemComand.
i use that event and i initialise its delegate for datalist. but while
program... more >>
Creating webcontrols on the fly
Posted by Fabiano at 4/30/2004 3:05:22 PM
Please,
I need to create an webpage that when user clicks on ADD button it's create
a new line with dropdownlist, textboxes and on.
with ASP and HTML i use DHTML to create another controls. Now with ASP.NET
and C# how can i do this. May i use DHTML or can i do this on my codebehind?
Tks in ... more >>
Clientside validation with .NET Validator classes and Opera
Posted by Roger Kjærnsrød at 4/30/2004 1:47:33 PM
Will ASP.NET Validator classes (e.g. CompareValidator) support clientside
validation for non IE (Opera and Netscape) browsers in the next version?
Regards,
Roger Kjærnsrød
... more >>
Button click event handler in the custom control - not working
Posted by Divya at 4/30/2004 1:46:05 PM
Hello
This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit_Click()], is not getting invoked. Could anyone pleas... more >>
WebControls, IE and Windows Forms
Posted by JamesBrady at 4/30/2004 1:01:05 PM
I really need your help
In VB6, it was possible to create a dll that could be added to a web page (.asp) then called remotely from a browser (IE). In VB6, it was possible to use Forms (now called Windows Forms) that would open in the browser, and act just like an application running as a local .e... more >>
Resell Domain Names
Posted by Resell Domain Names at 4/30/2004 11:26:51 AM
If you provide internet related services to your clients, why wouldn't you
profit from domain name services as well? www.providenames.com is the #1
provider of eNom reseller accounts. Right now we are offering our $8.95
eNom reseller accounts at absolutely no cost. Sure, you can get them
dire... more >>
Set a text box value to DataView
Posted by Steve Bishop at 4/30/2004 8:21:31 AM
I can't believe how hard this has been! I'm sure it's just a matter of
finding the right syntax for C#, but
I can't bind a text box right now.
In testing, I'm just trying one text box for now (TextBox3). Help
appreciated C#. Thanks.
Compiler Error Message: CS0029: Cannot implicitly convert ... more >>
best way to create an 8 column-wide report
Posted by Brian at 4/29/2004 2:34:19 PM
Mobile devices are definately not suited to displaying wide pages. However,
I am required to create an 8-column wide report. What is the best way of
doing this given that one field uses CheckBoxes bound to a dataset.
Brian
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Somebody could help how to create a TreeView ?
Posted by Billy Ziggurats at 4/29/2004 12:44:56 PM
A need to make something like that, and i have few time...
If somebody have a example and instructions, I will be glad.
... more >>
DropDown List: how do i use the selecteditemschanged
Posted by Michael Persaud at 4/29/2004 11:35:16 AM
Hi
I am trying to have a drop down list that will list some items from one =
table then when a user selects an item from that drop down list it =
should load another dropdownlist that will have matching subcategories. =
Then when a user selects the subcateagory it again queries the database.
... more >>
Losing Absolute Positioning After Postback
Posted by Sammy Snyders at 4/29/2004 9:17:39 AM
Hello,
I'm working with an Infragistics WebGrid and can't figure out the
solution to this problem. After a postback, the TOP and LEFT styles are not
rendered in the HTML. So the control moves to the upper-left corner. I've
checked the code, and the proper Style Property does exist through... more >>
text on asp:button
Posted by cousto_noreply NO[at]SPAM hotmail.com at 4/29/2004 9:05:49 AM
Hello all,
is there a way to have an asp:button with the text on 2 row
like this marvelous drawing:
|--------|
|Click on|
| me plz |
|--------|
If not, is there a way to put(with his color set to transparent) it
over a asp:tablecell that has text like "Click on me plz" on 2 row.
t... more >>
Mater-Detail
Posted by Fabiano at 4/28/2004 10:49:01 PM
Please,
i need to create a web page that show data from an ORDER table. But when the
user browses over the records, dropdownlist, radiobuttons and others bounded
controls must refresh they data, such as Credit Card, Supplyer, and on.
How can i do this, using programatically Datasets? Everyth... more >>
CollectionBase
Posted by Victor Irzak at 4/28/2004 8:55:17 PM
Hello group,
I have a class that inherits from CollectionBase.
I have a public property of that class and I want it to be serialized using
[PersistenceMode(PersistenceMode.InnerProperty)].
For some reason it doesn't show up in HTML.
The same class without CollectionBase Serializes p... more >>
Textbox controls
Posted by Mervin Williams at 4/28/2004 7:15:28 PM
Does ASP.NET provide the ability to apply edit masks to textbox controls?
If so, how?
Mervin Williams
... more >>
MySQL and ASP.NET question
Posted by Mvk at 4/28/2004 2:00:30 PM
Hello;
I have a mysql database with a table column 'OrderUntil'. I declared this
column type: Time.
I get the value in my HTML code by using:
DataBinder.Eval(Container.DataItem, "OrderUntil");
Now I want to pass the resulting value to a function: GetHoursComboIndex as
follows:
GetHoursC... more >>
Disabled Panel control loses viewstate
Posted by Robert Phillips at 4/28/2004 8:08:06 AM
I have a Panel control containing a few TextBox controls. The Panel is
originally enabled, I enter data into the TextBox controls. When I submit,
the Panel is disabled during the PostBack and the TextBox controls render
greyed-out, and I can see the values in the TextBox controls....this is wha... more >>
WebControl HTML Rendering
Posted by paul at 4/28/2004 7:41:02 AM
Is there a way to retrieve the HTML of a WebControl (ie DataList) after it has been rendered
Let's say the DataList renders the below HTML after it's been databinded
<table id="DataList1" cellspacing="0" border="0" ><tr><td><table border="0" cellspacing="0" width="100%" cellpadding="2"><tr><td va... more >>
Search inside PDF and CHM files
Posted by Ya Ya at 4/27/2004 6:38:08 PM
I have a folder with a lot of PDF and CHM files.
I would like to develope an ASP.net application that enables the user to
search inside the content of those files.
How do I search inside those type of files ?
Thanks for your time
ra294@hotmail.com
... more >>
Extracting dataset components
Posted by Victor Irzak at 4/27/2004 1:55:44 PM
Hello,
How can I extract components like dataset from the web page?
I'm talking about the components that are stored in the bottom part of the
page. (non visible components)
As far as I could see, they were not in ControlCollection of the page.
Thanks
... more >>
HTML Forms 2 WebForms
Posted by Fabiano at 4/27/2004 1:33:58 PM
Please,
is there any app that converts my HTML Forms 2 a Web Form?
I would like to change every control inside a legacy ASP page, and convert
it into a ASP .NET
Tks in adv.
Fabaino
... more >>
Newbie:Extending an Image Button
Posted by MattC at 4/27/2004 11:56:11 AM
Hi,
I'm trying to extend the image button webcontrol to allow it to have an
on/off status rendering a different image for each state.
Problem is when i drag it into the design view it just says error creating
control.
Here's my code so far for the control:
using System;
using System.W... more >>
SVG Web custrom control
Posted by abicz1 NO[at]SPAM hotmail.com at 4/27/2004 9:28:05 AM
Hello,
I have a question regarding web custrom control to show dynamicaly
generated SVG using Adobe SVG Viewer.
Have any body tried to build such a control?
I've tried by connecting web user control with web form, but how to
include web user custrom control and web form in one assembly?
... more >>
ListBox problem - by design?
Posted by Geoff Pennington at 4/27/2004 8:29:12 AM
I have a page with two WebControls.ListBox controls. The first listbox is
for unassigned staff, the second is for assigned staff. I use client-side
JavaScript to let the user move items back and forth between the two lists.
The client side code works fine.
When the user submits the form I want... more >>
Passing ID to UserControl which builds dynamic textboxes
Posted by colwebb24 NO[at]SPAM hotmail.com at 4/27/2004 3:18:32 AM
Hi Guys
I've been having some fun with the following, and hopefully someone
can help out:
I have a UserControl used to display customised Address Fields. The
address fields are just textboxes which are built up dynamically from
values in a table in my database.
The user control queries t... more >>
Dropdown list Quick Search
Posted by TomChew at 4/26/2004 5:08:08 PM
Good day.
Need some helps on the 'Quick Search' function.
Apparently I am using Standard Visual Studio .Net 2003 Dropdown list box and
Infragistics webControls, anyway to achieve quick search function?
eg. "Microsoft", which the user can type-in "M" then "I" then "C" and so on,
to retriev... more >>
Access a radio button "Checked" property on the client side.
Posted by bredal Jensen at 4/26/2004 2:23:40 PM
I'm dynamiccaly creating radion buttuns. I need to respond to users
selction.
and generate a posback to the server . How can i do this?
Any comment will be appreciated..
Jensen
... more >>
Picture in DATAGRID
Posted by Kruno at 4/26/2004 2:23:07 PM
HI ALL!
help:
I have a datagrid with a hyperlink columns edit and delete
but instead of hyperlinks I want to have a pictures....
How can I do that ?
... more >>
Client-Side and Server-Side Control
Posted by Ogre at 4/26/2004 2:11:03 PM
I need to access a control that's used client-side and server side. Is this possible? For example, I have an input box on a form that's manipulated using javascript. When the form is submitted, I need the code behind the page to be able to access that input box, but I can't find any way to get to... more >>
Edit Item Template ... Help Please!
Posted by gregorywhite NO[at]SPAM gtrm.co.uk at 4/26/2004 8:27:04 AM
I have a datagrid control with a template column. I am trying to get
the text out of the textbox control.
The FindControl method finds the control but it always brings back ""
as the text value regardless of what I enter in the text box?
Dim strDay As String = CType(e.Item.FindControl("txt... more >>
tablecell with onclick in .net??
Posted by cousto NO[at]SPAM hotmail.com at 4/26/2004 7:15:49 AM
In HTML 4, I used to do this:
<table>
<tr><td onclick="myFunction">Click here</td></tr>
</table>
using table for some funky layout tech.
How can I do the same thing with <asp:table runat="server">
where the myFunction is placed in a code-behing file. or something
equivalent in asp.NET.
... more >>
Can a WebService execute a LONG process?
Posted by Garrek at 4/26/2004 1:28:19 AM
I need to expose a WebService that, when called, will execute a very
long process. It's possible the process can take two to six hours to
execute.
What I need to know is, how can I have a client tell the WebService to
start, the client 'disconnect' and the WebService continue to run
with... more >>
derived control doesn't maintain state
Posted by buga at 4/25/2004 4:11:02 AM
Hi
I've made my own DropDownList by deriving the WebControls.DropDownList control. So far, all I did was to override the Render procedure and fill the control with some pair of values/strings
Protected Overrides Sub Render(ByVal html As HtmlTextWriter
MyBase.Items.Add(New ListItem("something",s... more >>
IE Web Controls and SharePoint
Posted by Rob Kellow at 4/24/2004 2:31:01 PM
Hello
Has anyone successfully used any of the ie web controls (ToolBar, TabStrip, TreeView, etc...) with SharePoint Services running on Server 2003? I have the web controls built and working fine on my development system but as soon as I move it to Server 2003 running SharePoint the app stops wor... more >>
dropdownlist blues - can't bind datasource to datareader in codebehind
Posted by pjstreiff NO[at]SPAM yahoo.com at 4/24/2004 1:14:32 PM
I prototyped a data-entry webform w/ c# & inline aspx. After I got it
working, I tried to split my code out to a codebehind file (.cs) & now
my dropdownlist isn't populating with choices for the user to select.
Here's my code:
--------------------------------------------------
public void P... more >>
Update Anomaly in DataGrid Control
Posted by Mo Saghir at 4/23/2004 4:40:48 PM
I have a problem where I am trying to update a DataGrid command in place
pretty much as outlined in the various samples in MSDN:
private void InitialGrid1_UpdateCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
TextBox txtID = (TextBox)e.Item.Cells[1].Controls... more >>
Referencing a datagrid from code-behind
Posted by William Gower at 4/23/2004 4:05:12 PM
How do I reference a datagrid from the code behind page?
... more >>
HIDE paging controls in datagrid**
Posted by Kruno at 4/23/2004 3:08:01 PM
I want to hide paging controls in Datagrid if
there is nothing to page...If there is nothing to
page datagrid still shows them (?!)
how can I do that??
... more >>
convert html to web controls so I can loop through them on the code behind..
Posted by Hazzard at 4/23/2004 12:51:03 PM
I have been unfortunately hacking away with various editors in designing a
form. (i had some unpredictable behavior with the vs.net editor and instead
of solving that, I took another approach)
Now I want to loop through controls and I'm afraid that my html controls are
not going to get me ther... more >>
Server control that renders images
Posted by Stephen Walch at 4/23/2004 7:51:36 AM
Trying to think through how to create a server control (or user control)
that renders some HTML plus any needed images. The rendered HTML would
include IMG tags with URLs that point back to the same page in such a way
that my server control would have a chance to render the image as well.
There... more >>
Maintaining viewstate in custom control collection
Posted by Patrick Wilby via .NET 247 at 4/22/2004 9:58:39 PM
From: Patrick Wilby
Hi (this is the second time I've tried to post this message,=
apologies if the original is now up on the forum)
I have a custom control (inherited from WebControl) that has a=
property which is a collection (inherited from BaseCollection)=2E=
This collection holds cus... more >>
Datagrid question
Posted by William Gower at 4/22/2004 9:45:44 PM
is it possible with a datagrid to bind it to a table that has a column that
is an integer and then when the datagrid is display, I can tell it that if
the field is a 1, then display this value, if a 2 display this value and so
on?
... more >>
PLEASE HELP.... ALERT PostBack
Posted by walterd at 4/22/2004 8:59:07 PM
Hi All
Can someone please help me before I pull out all my hair? All my pages
inherit from PageBase class and I have the following code:
Public Shared Function CreateMessageAlert(ByRef aspxPage As
System.Web.UI.Page, ByVal strMessage As String, ByVal strKey As String)
Dim strScript As Str... more >>
value in textbox in ascx from aspx
Posted by Murphy at 4/22/2004 4:11:22 PM
How can I obtain the value of a text box in an usercontrol from the aspx
page ?
I'm using VB and WebMatrix and am presently learning asp.net whilst
struggling with the OO concepts...
Thanks
Murphy
... more >>
HTML mode in IDE: newline after closing tag?
Posted by Timo at 4/22/2004 3:35:50 PM
Is there any way to cause the IDE, when in HTML view, to put one and only
one control on each line? The horizontal scrolling is inconvenient. I don't
see anything like Insert Newline after Closing Tag (using 7.09466).
Thanks!
ServiceIntake ByAssigned ToType of Service RenderedNoteTimingDate ... more >>
making hyperlink look 'visited'
Posted by Al Cadalzo at 4/22/2004 3:08:45 PM
I want to programmatically make a asp:hyperlink appear as if it's been
visited. I experimented with setting it's enabled property to false, but I
wasn't satisfied with the appearance, so I tried this approach:
Dim cntrl As Control
Dim hlink As HyperLink
cntrl = FindControl(lnkID)
If Not cnt... more >>
'ASP.Test_ascx.UserName' is not accessible in this context because it is 'Protected'.
Posted by Murphy at 4/22/2004 10:25:08 AM
I am trying to learn how to access a web control in an ascx from the aspx
page. I have read over and over different articles realting to creating a
class, using the protected keyword etc but still without success.
From what i understand I need to expose the ascx control as a property of
the us... more >>
treeview control not expand until reload
Posted by rob.bowley NO[at]SPAM lta.org.uk at 4/22/2004 7:00:30 AM
Has anyone found that their asp.net treeview control initially fails
to expand when you first click on a crosshair? The page reloads and it
then any further clicks activate the control correctly.
It appears to be a bug because it only seems to affect some nodes but
it always occurs in some for... more >>
retrieve value of textbox
Posted by DotNetJunkies User at 4/22/2004 6:20:01 AM
hello evrybody
i have a textbox where a user can enter a value which i want to retrieve and use in my SQL QUery. i have tried the following format but it does not work .Any help on this would be greatly appreciated.thanks
Dim ID as integer = CInt(txtAppID.text )
Dim strSQL1 as String = "SEL... more >>
Mouse Events
Posted by Microsoft at 4/21/2004 8:08:35 PM
What about the events control for the mouse I used in ASP, still did they
exist in ASP .NET
Please let me know which is the way if possible
... more >>
|