all groups > asp.net webcontrols > september 2005
Filter by week: 1 2 3 4 5
One Time Click Button
Posted by Bishoy George at 9/30/2005 6:29:16 PM
How to make a button inactive after one click only, offcourse after all the
page validators are satisfied?
Any help?
... more >>
AutoPostBack causes script error
Posted by Coach at 9/30/2005 2:12:01 PM
I have a dropdown list and 2 radio button groups that cause a script error
when they are attempting to post back. The error for all 3 is an Object
expected error.
The page works fine from my development machine and from a development
server. The only machine I have this problem with is the ... more >>
Runtime SelectedIndexChanged!
Posted by Adam Knight at 9/30/2005 1:07:56 PM
Hi all,
I have a DropDownList that i want to attach a OnSelectedIndexChange event
Dynamically.
So far my attempts have failed.
'determine if report being generated is a 'Question Statistics' report
If(ddlReportTypes.SelectedValue = "q") Then
'specify OnSelectedIndexChanged method Sub... more >>
HyperLink control; NavigateUrl; IE vs. Mozilla
Posted by Arthur Dent at 9/30/2005 10:14:13 AM
Hi all,
I seem to have found something rather odd.... certainly unexpected.
I had a hyperlink control on my site, a logo on the header section which
when clicked, took you back "home" to the root of the app.
I had the NavigateUrl set to "~/". Now my understanding was that this was
evaluated... more >>
Value of variable in my user control keeps getting reset
Posted by Nathan Sokalski at 9/29/2005 11:19:43 PM
I have a user control that contains three variables which are accessed =
through public properties. They are declared immediately below the "Web =
Form Designer Generated Code" section. Every time an event is fired by =
one of the controls contained in the User Control, these variable are =
rese... more >>
Help regarding panel control.
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 9/29/2005 10:04:38 PM
Hi all
i am new to asp.net.
I want to add some controls in panel and i want to align them properly.
My problem is whenever i add control in panel that control is getting
added at the top of panel. I am not able to move that control in center
or i am not able to change left of that control.
Wha... more >>
Problem writing a control with DataSource support...
Posted by Shawn Wildermuth at 9/29/2005 8:31:04 PM
I have a 1.x control (that I don't own the source to) and need to expose
it to my ASP.NET dev's to work with DataSources. At first I tried to inherit
from DataBoundControl but because an issue with control itself, I have to
inherit from the 1.x control. Therefore I need to implement everythin... more >>
SelectedIndex is not submitted with post
Posted by Nathan Sokalski at 9/29/2005 6:07:52 PM
I am working on a simple user control composed of 3 DropDownLists that =
will be used to select Dates. The purpose of the control is to all the =
user to choose a date using dropdown lists but not need to worry about =
choosing a non-existing date (due to different months having different =
numb... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
custom control doesn't raise postback event
Posted by Roberta Franchi at 9/29/2005 2:52:43 PM
I'm trying to built a composite custom control ( checkbox + textbox) that
should raise an event . I can't raise the postback event from inside of the
control ( check/uncheck of the check box) . With another control (on the
same page) that do the post back correctly I get the result I wish . I... more >>
event firing problem
Posted by Yoshitha at 9/29/2005 2:48:30 PM
Hi
IN my asp.net application (C#.net) i've grid control whith pagerstyle
mode=numericpages.
in codebehind page i've events for pageindexchanged and edit_itemcommand
[protected void Edit_ItemCommand(object
source,System.Web.UI.WebControls.DataGridCommandEventArgs e)]
after executing the... more >>
?"The virtual path maps to another application"
Posted by PhillipBD at 9/29/2005 2:06:02 PM
I've got an vb.net ASP application with a separate web controls project (c#)
in one of its subfolders (but not a separate app or virtual dir). When
starting the app, the login page maps to a user control in the relative
subdirectory with the message below.
Parser Error Message: The virtual ... more >>
Checkbox does not respect checked value if disabled client side
Posted by Stu Carter at 9/29/2005 1:58:08 PM
Hi,
ENV: Windows 2003 Server, IE 6, .Net 1.1 SP1, VS 2003
We have an ASP.Net server side Checkbox on a web page. The checkbox is
disabled by some client-side JavaScript due to user interaction with some
other controls on the page (i.e. the checkbox option is no longer
applicable). We d... more >>
Radio list to image tabs - possible?
Posted by lewcio NO[at]SPAM gmail.com at 9/29/2005 1:45:48 PM
In an effort to 'fancy up' my search box, I would like to get rid of
standard radio buttons and replace them with tabs running across the
top -
see screenshot of original:
http://www.ualberta.ca/~mlewcio/screenshots/original.gif
see what I'm trying to achieve:
http://www.ualberta.ca/~mle... more >>
Datagrid does not show on a webpage
Posted by vvenk at 9/29/2005 9:06:09 AM
Hello:
I am trying to learn using the datagrid to display rows on a webpage.
I dropped a datagrid control on a page, bound it to a data set that had a
tables with 6 rows. When I run the application, nothing shows up!
Thanks.
venki
... more >>
DropDownList and GridView problem
Posted by Mariela Donkova at 9/28/2005 3:51:37 PM
Hi everyone ,
Here is the problem
I have gridview with 6 columns one of which is dropdownlist - binded to
objectdatasource - stored procedure with parameter product_id
I would like each dropdownlist of each row of the gridview to be filled
with different values depend's on parameter product... more >>
ActiveX Control on ASP.NET Page
Posted by CSharpNewBie at 9/28/2005 3:00:38 PM
Hi
I have a ActiveX control (TcpSocket Client) which has 3 Events
OnConnect/OnDisconnect and OnEvent.
my question is
how do I embed this non-visual control on a aspx webpage and create a
OnEvent Handler which receives data from a Tcp Server and add that to
dataset to be displayed on DataGrid... more >>
how to make imagebutton respond to click but not return key
Posted by mhylden at 9/28/2005 11:35:20 AM
I need to make an imagebutton that is contained in a datagrid respond
only to a mouse click, and not a return key press. I have a user
control on the same page that contains text boxes (HTML controls) and
link buttons (.NET web controls) to handle the return key press as a
search. That part wo... more >>
loading multiple drop down boxes?
Posted by Chris at 9/28/2005 10:06:02 AM
Hi
I have 5 drop down list boxes on a web form.
I've written code to populate the first one.
How can I populate the remaining 4 with the exact contents of the first
without
rerunning the identical code again 4 times?
thanks
Chris... more >>
how to move the selected checkbox to other page
Posted by narula srinivas at 9/28/2005 6:12:05 AM
hai everybody,
i hav a problem of with the checkbox list.how ca i get the selected items
moved to the other page(to understand in a rediffmail box,in that after
selecting a certain mails u will be able to move to the other folder).i need
code in c#.... more >>
Problem with Treeview Control
Posted by zoom14151 at 9/27/2005 12:35:05 PM
I know this may sound like a broken record but I can't get this
control to display in the browser correctly. It just shows as plain
text. I tried everything that was stated in the groups with negative
result. I view the pages in the server's browser and it works fine. I
view them on the client... more >>
problemes with asp .net
Posted by Elena at 9/27/2005 12:17:03 PM
I am new to ASP. NET, I can't seem to get my code to work. I am having
problems updating a database through a data grid. below is the error I
receive and below that the code.
Thanks in Advance,
Elena.
Parameter @employee_first_name has no default value.
Description: An unhandled exc... more >>
webcontrol throws error
Posted by Abraham Andres Luna at 9/27/2005 11:30:31 AM
i have a cs file in my app_code directory with the following code:
using System;
using System.Web.UI.WebControls;
namespace RDK.WebControls
{
public class DepositTypDropDown : DropDownList
{
protected override void OnInit(EventArgs E)
{
base.OnInit(E);
this.Items.Add(new Li... more >>
Not updated Textbox value inside a datalist editItemTemplate
Posted by etantonio NO[at]SPAM gmail.com at 9/27/2005 2:56:02 AM
Good Morning,
I still havent solved my problem with a textbox inside an
editItemTemplate
of a datalist,
in fact now it is filled with the word "CIAOOOOOO" , if a runtime in
the
form I put a different word
like "PIZZAAAA" this new word is not available in the Update_Command
following :
... more >>
asp:TextBox
Posted by foldface NO[at]SPAM yahoo.co.uk at 9/27/2005 2:13:18 AM
Hi
I have code like this:
<asp:textbox id="theID" Runat="server" readonly=True width="150px">
It gets rendered as this:
<INPUT id=theID style="WIDTH: 100%" readOnly value=Normal name=theID>
Why has the width changed? I've seen this before and, like now,
I resort to using
<inpu... more >>
Tricky one regarding Menu control and SiteMap
Posted by J. Jespersen at 9/26/2005 7:07:34 PM
Hi people,
I'm trying to build a menu i asp.net 2.0 (RC) using the Menu control and an
XmlSiteMapProvider.
I want all letters of my menuitems to be capitalized, but i want the first
letter in every menuitem to be in a larger font.
Any ideas, clues, pointers?
J. Jespersen
Denmark
ps... more >>
Passing Parameters in Hyperlink
Posted by SJ at 9/26/2005 6:42:10 PM
I want to pass a value in the NavigateURL property of the asp.HYPERLINK tag.
right now i'm using something like this :
asp:hyperlink id="Details" ImageUrl="images/btn.gif"
NavigateUrl='details.aspx?id=<%=p.mystring%>'
But it doesnt evaluate the <%=p.mystring%> into the actual value it
conta... more >>
Updating DDL by script
Posted by Vik at 9/26/2005 3:48:02 PM
Is it possible to set any property of a dropdown list by JavaScript, so that
this property can be checked out later by the server-side code? I tried to
set some attribute of the DDL but the attribute does not keep its value
after the page is reloaded.
Thanks.
... more >>
Textbox value in the edittemplate of a datalist doesn't report the changes
Posted by Antonio D'Ottavio at 9/26/2005 11:24:15 AM
Good Morning,
I've a problem with a textfiled inside a datalist, in particular it's value
it is not updated with the changes,
I mean sNomeCampo has still the value coming from the dB and not that
changed by the user,
May you help me ???
Antonio D'Ottavio
www.etantoni... more >>
Can a web control which is in another assembly be loaded using Register tag and not LoadControl?
Posted by Gery D. Dorazio at 9/26/2005 2:37:44 AM
Hi,
I am building a library of user controls which can be used by different
projects. These controls are Web User Controls which have the corresponding
ascx file. (They are not the Web Custom Controls which are rendered through
code.)
Is it possible to have a Web User Control load automa... more >>
IPostBackEventHandler
Posted by Bernhard Wurm at 9/26/2005 12:00:00 AM
Hello!
I try to programm my own CustomControl.
Therefore I myControl is inherit from WebControl.
It contains a collection of Items, which inherit from HTMLGenericControl.
Now my Item does a postback by
parent.Page.ClientScript.GetPostBackEventReference(this, "")
the postback is done, an... more >>
ASP Calendar - cell "OnClick" event
Posted by wwcoop at 9/24/2005 1:08:02 PM
The calendar control allows the user to select a date by clicking
on the day number in the cell. I would like to extend
this functionality so that the use can click anywhere in a calendar
cell to trigger the selectionchanged event. I would like to assign
an "OnClick" event to the calendar cell i... more >>
custom, clickable image
Posted by C Williams at 9/23/2005 4:44:16 PM
Hi,
What I am trying to build is an image created on-the-fly to be displayed
in an aspx page. I can do this, using GDI+, no problem. The catch is
that now I would like the ability to carry out customized actions based
on where a user clicks on the image (basically as if rectangles or
ci... more >>
request help with strategy for loading multiple drop down lists
Posted by Chris at 9/23/2005 1:38:06 PM
Hi,
Am developing a web form in asp.net using C#.
I have a drop down list box. that will contain usernames on the web page.
I have a user control in the page that contains 5 dropdown list boxes.
I'd like to create a function or procedure in the proper place that can be
called 6 times o... more >>
CWebBrowser2 Navigate problem when called from Service on Server 2003
Posted by ScottLR at 9/23/2005 10:29:08 AM
I have an application that opens an html page via the Web Browser control. I
have created a user "X" and given them administrative privileges on Server
2003. I log on as User X via control-alt-delete, the application is able to
open the html page using the Navigate call. Next, I created a serv... more >>
Very strange button problem
Posted by James Pemberton at 9/22/2005 3:52:22 PM
I have an ASP.Net page with a button on it. Nothing to exciting there. I
have one user though that when accessing the page, the button won't display.
It appears on any other machine I have tried it on but this one. The weird
things is, if you do a print preview of the page, the button appea... more >>
CheckBoxList formatting
Posted by Buddy Ackerman at 9/22/2005 11:05:55 AM
Is there any way to make the rows of a CheckboxList alternate the
background color like you can with a repeater?
... more >>
Error when databinding
Posted by Nathan Sokalski at 9/22/2005 2:20:58 AM
When I run my application, which uses databinding in a DataList, I =
recieve the following error:
Server Error in '/' Application.=20
-------------------------------------------------------------------------=
-------
Public member 'title' on type 'DataRowView' not found.=20
Description: An... more >>
Accessing the current DataRow of the DataSource from ItemDataBound
Posted by Nathan Sokalski at 9/21/2005 8:47:07 PM
I want to access the DataRow used in DataBinding from the ItemDataBound
event. In my case, the reason for doing this is to determine whether I need
to make a word singular or plural. How can I do this? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
... more >>
Setting pager-style in DataGrid
Posted by Friso Wiskerke at 9/21/2005 10:21:44 AM
Hi all,
is it possible to set a separate style in a datagrid pager for the selected
page to make it more clear for the user which page is selected?
For example: page 3 is selected out of the 8 possible pages and the number 3
is then displayed in bold and with an alternate color.
There's a... more >>
Automatic Control Prefixes like _ctl0
Posted by DFB at 9/21/2005 10:20:03 AM
I have created a custom control which contains an asp:dropdown inside it and
embedded my custom control in my web page.
I am accessing this dropdown via javascript.
The Problem: when this asp:dropdown control was embedded directly in my
webpage ... my javascript call to reference this drop... more >>
Date in Datagrid footer
Posted by zoom14151 at 9/21/2005 7:29:17 AM
Hello,
I need to have a datagrid footer textbox have today date entered on
loading the page. Just the date and not the time.
... more >>
Dynamic listbox
Posted by Vik at 9/20/2005 2:56:54 PM
I need to add/remove the items to/from the dropdownlists/listboxes on an
..aspx page. I tried the following code in JavaScript:
document.getElementById("ListBox1").add(new Option("5","5"));
The code adds the new item for a moment (I can see it in the listbox and can
retrieve it by the code) bu... more >>
Repeater Control Problem
Posted by Sam Solomon at 9/20/2005 8:51:09 AM
Dear All,
I have a Repeater Control which gets populated from the Database table.I
have a
separate column which has checkbox in it. So the last column of the repeater
control is a check box. Now I have a separate Button called delete . What I
want is that when I press the delete button I w... more >>
Playing audio file thru streaming
Posted by Ufit at 9/19/2005 10:54:45 PM
I'd like to play a desired audio file - not by loading
the whole file but by streaming it chunk by chunk.
Any ideas how to do it? Appreciate help.
Uf... more >>
how to set properties of webform page by code?
Posted by Bishoy George at 9/19/2005 10:43:13 PM
How to set the properties of the webform page itself like (bgColor) with
coding?
In Other Words: What is the object name of the webform(Document)?
... more >>
Text-based controls: Formatting as inline elements
Posted by Nathan Sokalski at 9/19/2005 7:37:58 PM
I have had a question that I have been avoiding or using workarounds for for
a while. When using text-based controls (Labels, HyperLinks displayed as
text, LinkButtons, etc.), how do I format certain parts differently? For
example, I might have a set of instructions that I want keywords displa... more >>
How we can creat this?
Posted by Jerry Lee at 9/19/2005 5:28:34 PM
Hi,
Does we have any controls to create these type of stuffs
http://www.speedysigns.com/lettering/lettering_tool.asp in ASP.NET.
Especially the text effect styles[arch up, arch down ].
Thanks in Advance
Lee
... more >>
Height of a Datagrid
Posted by Russ at 9/19/2005 2:26:22 PM
I want to place a button right below a datagrid. The datagrid has
variable number of items, and the items have variable height. How can
I find the position of the bottom of the grid? I have tried using
Datagrid1.Height, but it is always zero. When, if ever, is the height
value set? Is there ... more >>
Tabstrip link stylesheet
Posted by DSISupport at 9/19/2005 1:21:03 PM
Hi,
I'm using the IE Webctrols in my ASP.Net apps, and I'm trying to use
stylesheet files CSS to apply formatting.
For instance I want to format the tabStrip webcontrol using the an external
CSS file however I don't see how?
The TabStrip has several attributes to manage the formatting like:
... more >>
Custom web control in a repeater
Posted by jw56578 NO[at]SPAM gmail.com at 9/19/2005 12:18:51 PM
If i create a custom web user control and place this into a repeater,
what event must be raised to be recognized by the repeater and raise
the ItemCommand event?
... more >>
|