all groups > asp.net webcontrols > february 2005
Filter by week: 1 2 3 4
Dynamic Control capture button click.
Posted by sakieboy at 2/28/2005 2:53:03 PM
I have dynamically added controls using a Placeholder to a form. This form
is data driven thus I never know how many records will be retrieve. My form
looks like this
txtKey0=1111, txtBox0, txtDate0, btnEdit0
txtKey1=2323, txtBox1, txtDate1, btnEdit1
txtKey2=4343, txtBox2, txtDate2, btnEdi... more >>
Save state when create image
Posted by Mango at 2/28/2005 3:51:32 AM
Hi there, I will be very happy if someone helps me. I need to create dynamic
image, and save the state between the postback. I mean I've got 5 buttons
and when I click on one of them, the image is creted with:
System.Web.UI.WebControls.Image Img1 = new
System.Web.UI.WebControls.Image();
Img... more >>
3-tier, data-layer
Posted by Mike Questioner at 2/28/2005 1:01:33 AM
Dear people ,
I have a question about seperating data code from presentation code for,
like in client server applications. The example i am looking for goes
about the topic data layer. In my server code i often use the same code
for connecting, calling the data adapter and the dataset, and the... more >>
DataGrid and AutoFormat
Posted by Siu at 2/28/2005 12:35:01 AM
Hi,
a DataGrid can be formatted thanks to the AutoFormat dialog box. My question
is:
is there a DataGrid's property which can be set from the codebehind and does
the same formatting?
For example (in codebehind):
myDataGrid.AutoFormat = "Professional1";
myDataGrid.AutoFormat = "Remove..... more >>
url in cell.innerhtml not doing a postback
Posted by pradeep at 2/27/2005 9:45:02 PM
i have a url which i create using <a href=...> tags and it also contains a
query string im passing..when i click on it..the parameters passed in it are
used and are processed in the same page. The issue is when i click on the
resulting url it is not a post back.
'url is a string var
url = ... more >>
How to Add / Remove From Collection
Posted by Chuck Insight at 2/27/2005 3:46:49 PM
Please Help a Novice with a WEB Form Problem.
I have discovered that both an Array and an ArrayList can contain a
collection of 300 integers. The things I cannot seem to figure out are:
1 - How to populate these objects,
2 - How to test the members to determine whether they contain a particula... more >>
ASP.NET Newbie radiobuttonlist bind datasource
Posted by bisrael at 2/27/2005 10:15:39 AM
I'm attempting to build a survey like application in ASP.NET 2.0 (VB) and
I'm looking for some assistance,
I have a dataset of questions that I want to page thru 1 at a time to obtain
a score for each item.
Questions UniqID (int, identity)
Question (nvarchar)
S... more >>
Microsoft.Web.UI.WebControls - Parser Error
Posted by Richard Steele at 2/27/2005 7:09:04 AM
have recently installed Microsoft.Web.UI.WebControls to my shared hosted
server at 1and1
The only control that does not seem to work is the TabStrip, treeview,
multipage, toolbar work as expected
I get the following error when running the example - tabstrip.aspx
Parser Error Message:... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dynamically adding DropDownList - if I set ID also, I lose PostBack EventHandler
Posted by DotNetJunky at 2/27/2005 6:39:48 AM
I have built a control that runs an on-line help system. Depending on the
category you selected via dropdownlist, it goes out and gets the child
subcategories, and if there are any, adds a new dropdownlist to the screen
for selection. This continues until there are no children, and then it
c... more >>
Date validation problem
Posted by John at 2/27/2005 12:03:13 AM
Hi
I am using a compare validator to validate a text field for a date value.
The problem is that the validator does not accept a single digit year like
1/1/5 but would accept a two digit or four digit year like 1/1/05 or
1/1/2005. What is the problem and how can I fix it?
Thanks
Regards
... more >>
Dynamic Sizing Based Upon the Parent Element's Width
Posted by Frank Buchan at 2/26/2005 7:28:21 PM
My apologies for the double post, but I was unsure which of the two groups
would be best suited for this question.
This is a non-critical problem of sorts, because it is a secondary display
issue. Some background helps.
I have an Enterprise website application written in ASP.NET that uses ... more >>
unable to limit width of datagrid column
Posted by Craig Traxler at 2/26/2005 1:59:01 PM
I am unable to limit the width of a column in a datagrid and not have the
column wrap text. I would prefer the column just clipped. The column is a
hypertext column and I have unchecked wrap text on the column properties in
the format tab of the property builder. I have also set wrap text p... more >>
Dynamically created Web User Control and ViewState problem
Posted by A at 2/25/2005 8:37:48 PM
Hi everybody,
I'm building a Web page in ASP.NET / C#.
On that Web page, there is a button that when clicked will add a Web User
Control (contains some labels, textboxes, radio buttons, and such). The user
can click that button many times, each time adding one additional Web User
Control... more >>
ValidationSummary reuse
Posted by Jeronimo Bertran at 2/25/2005 4:21:19 PM
I have a we page that uses Validators and a ValidationSummary to show the
results. However, after all input fields are verified I do additional
verification on the server side and if there was a problem that cannot be
determined by the validators I show the error in much the same way as the ... more >>
Better method
Posted by VK at 2/25/2005 7:04:50 AM
Hello:
What is the best way to update a selected checkboxlist or a dropdown
menu, the information is stored in database - a datagrid or datalist or
any other way?
Your time is appreciated.
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participa... more >>
Treeview like control for Visual Studio 2003 (that is free?)
Posted by CoreyMas at 2/25/2005 6:57:02 AM
Are there any third party treeview controls on the market that work with
Visual Studio 2003?
Unfortunately the company I work for does not believe in newer technology
(like VS 2005) and is too cheap to buy any controls?
Thanks
Corey... more >>
Dynamically writing a <BR> in a panel or placeholder
Posted by CoreyMas at 2/24/2005 5:35:08 PM
Hello everyone,
I am in a bit of a dilema trying to write an HTML <br> tag into a panel or
placeholder.
Here is the situation
I have 4 tables that represent 4 levels of data (level4 is linked to a
level3 etc) all the way up to a level 1
Example
Level1
Level2a
Level2b
Le... more >>
System.InvalidCastException: Specified cast is not valid.
Posted by DOTNET at 2/24/2005 4:42:08 PM
Hi,
Anybody help me regarding this error:
I am assigning the values to the session variables when the button is
clicked and passing these session variables to the next page and when I am
printing these session variables they are printing. After that I am
assigning these things in hidden... more >>
no really smart controls in asp.net v2 ? (out-of-band communication)
Posted by sooly59 NO[at]SPAM hotmail.com at 2/24/2005 3:46:30 PM
Hi,
I have just read the new functionality list in ASP.Net v2 : I have
been very disappointed to not see any real support for out-of-band
communication between the client and the server. Nothing for creating
efficient interface à la gmail easily. True, there is something like
ICallbackEventHa... more >>
Clicking On A Form Sets Focus To A Button - ASP.NET 2003
Posted by steve NO[at]SPAM dsainet.com at 2/24/2005 2:23:02 PM
I have a aspx form that has focus set to an <asp:button> on the form
when the user clicks an area within a <form></form>. This causes the
click event on that control to fire even though the control was not
clicked. For example, if the button was a "save" button, the form would
be saved whenever... more >>
dynamic dropdownlist control not selecting right value
Posted by Sam Lam via DotNetMonster.com at 2/24/2005 8:35:15 AM
Hi Experts,
I have a routine that create a dropdownlist dynamically like so using
c#.net...
private void AddFilterControl(string ControlID, string LabelText, string
ControlType, string spName)
{
string ControlName = ControlType + ControlID;
if (ControlType == "Label")
{
Label lb... more >>
deriving from datagrid and adding other controls too
Posted by Secret Squirrel at 2/24/2005 7:34:40 AM
So what I want is to have a button that the user clicks that will cause
a datagrid to pop up in an iframe. I want the datagrid, the button, and
the iframe to all be part of the same control... ideally.
Any suggestions on how to do this and still be able to use templates to
setup the datagrid?
... more >>
Calling SubmitForm-Method from outside the PDF-Document by browser script
Posted by robert.dehmel NO[at]SPAM skpfcw.de at 2/24/2005 1:30:43 AM
Hello!
- initally: english is not my native tongue (you'll notice about ;-)
so don't feel astonished, if the description of my question seem to be
pretty complicated -
I have build an asp.net web-application to compose pdf-documents from
several templates and fill them up with data from our... more >>
ASP.Net - Newbie Needs Some Help
Posted by psmith NO[at]SPAM mcwy.com at 2/24/2005 12:42:20 AM
I am a newbie to ASP and I am trying to create a small on line
helpdesk reporting tool. I have a table with about 7 fields in a
database on an Sql server. I have created an ASP page with has Web
Form Text boxes etc on it.
I have connected the database to the form and got the sqlconnection
a... more >>
treeview node limit
Posted by BGib at 2/23/2005 2:13:30 PM
Hello,
It seems Microsoft says the max # of nodes for asp.net 1.1. in their
unsupported treeview control is 1000 nodes.
I have tested up to 5000 nodes being displayed, but it takes close to 70
secs for the control to populate.
As anyone been able to decrease the time for display to the cont... more >>
Autocomplete for Webcontrol
Posted by Anandan at 2/23/2005 12:02:46 PM
In my webform i have TextBox webcontrols, how to enable the AutoComplete feature for this control?
From http://www.developmentnow.com/g/15_0_0_0_0_0/dotnet_framework_aspnet_webcontrols.htm
Posted via DevelopmentNow Groups
www.developmentnow.com/g
www.developmentnow.com... more >>
Changing the order of child controls affects state management
Posted by ErwinP at 2/23/2005 1:02:00 AM
Hi,
I have developed a composite control which adds child controls from a
definition in an XML document. The order in which these child controls
are added to the composite control may vary across postbacks. This
change in ordering of child controls does not seem to make any
difference... EXC... more >>
Duplicate Values in DropdownList Control
Posted by Jim via DotNetMonster.com at 2/23/2005 12:51:14 AM
Hi,
I'm populating a dropdownlist from a table that has no duplicates but the
dropdownlist has every value listed twice. This seems to happen when I run
my page on the server but not locally. This is my code:
<%@ Page Language="VB" validaterequest="false" %>
<script runat="server">
... more >>
Showing 2 months in calendar control
Posted by ericvdb at 2/22/2005 9:22:49 PM
Hi all,
is there a way to show 2 months in the calendar control (ASP.NET)?
Thanks in advance.
Eric
... more >>
Stream an image into an image control
Posted by Leo at 2/22/2005 6:07:00 PM
Is there a way to stream an image into an asp:image control. I need to take
an image stored in sql server and stream it into an image control. I know I
could write it to a file and then set the imageurl but I would like to
stream it directly into the image control.
... more >>
aspx and word template question
Posted by Mike at 2/22/2005 5:02:17 PM
Hi 2 all,
I have a question and hope that some of you might been able to give me a
hint or something.
I am bulding a web application where i need to provide the functionality to
start a word document and to fill on some places some data, like name adress
etc...
So people can select from a... more >>
postback doesn't work with validators.!
Posted by Anushi at 2/22/2005 4:15:57 PM
I have a strange problem.. once I put any validators on my form, say a
simple RequiredFieldValidator, then there is no postback happening.
Even on a button click, there is no refreshing of the form in the browser,
and no postback !!!
Is anyone else facing a similar problem ? What could be th... more >>
Loading html file into a control
Posted by John Holmes at 2/22/2005 11:20:14 AM
I have created a look and feel that I'd like to use for all my web pages and
was thinking I could create a single file that gets called with a query
parameter giving the name of the html file that I'd like to load inside the
look and feel that I have. I was thinking I could use the placeholder
c... more >>
stored procedure
Posted by Yoshitha at 2/22/2005 10:39:31 AM
Hi
i've created one table and one stroed procedure to insert data into that
table.
i've created table like this
table Name=QA_QAuthor
EmailId Varchar primarykey.
Pwd varchar
Comments varchar allows null values
paypalacc varchar all... more >>
Button vs HTML Submit Button
Posted by Olivier Matrot at 2/22/2005 10:24:24 AM
Hello,
I would like to replace a Button with a corresponding HTML submit button on
my web page. The goal is to use pure HMTL to let our customers modify the
look of our application.
What I've done so far, is to replace the ASP tags with the correponding HTML
generated at runtime. This is... more >>
Strange form request - Ideas or input requested
Posted by VK at 2/22/2005 9:42:44 AM
Hello:
We have the regular aspx form with checkboxlist, text boxes etc, all
this information is inserted into database and emailed to one user,
which is working fine. What they would like to do is - once the user
submits this information it takes them to another screen which lists out
informa... more >>
web control and javascript
Posted by Chris at 2/22/2005 7:37:03 AM
Hi,
I want to offload some server processing to the client.
My idea:
I have a listbox of items the user has populated. using a text box control
and a
button control both of which are server side.
I want to be able remove items from the listbox using a remove button that
is client side... more >>
ASP.NET Custom WebControl Absolute Positioning
Posted by Nick Goloborodko at 2/22/2005 3:02:59 AM
Hi,
I'm currently in the process of building a custom webcontrol. I nearly
finished it, however one thing is a mystery to me: how do i enable the
control to support absolute positioning?
Thanks in advance,
Nick Goloborodko... more >>
Visual Studio - Selecting HTML Code on clicking control
Posted by vijaynats NO[at]SPAM yahoo.com at 2/21/2005 9:54:41 PM
When we are designing a WebForm clicking on the Control in the Design
View does not select the corresponding Tags in the HTML. I find that
this is one of the most basic things that VS.Net is missing when
compared to WYSIWYG editors like dreamweaver.
I have to really struggle hard to find the c... more >>
Events
Posted by Hovhannes Asatryan at 2/21/2005 5:22:18 PM
Hello guys.
I am newbie in asp.net.
I writes asp.net web application in C#, and want to handle textbox
textchanged event.
Can anyone tell me how can I handle this event?
... more >>
ASP.NET Event handling
Posted by David Norris at 2/21/2005 1:03:03 PM
I have an edit control that handles text change events and a link button that
handles click events. If the user changes the text in the edit control but
posts back by clicking on the link button I need to be able to ignore the
text changed event. Problem is the text changed event gets raised... more >>
Why are WebControls not supported?
Posted by Tequilla at 2/21/2005 9:17:49 AM
Does anyone know why Microsoft Internet Explorer does not currently
support WebControls?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
TextChanged eats up all other events
Posted by xcomplus at 2/21/2005 7:55:15 AM
Hi,
I have a page with textboxes, checkboxes, buttons, etc. One of textboxes has
Autopostback=true. I am using TextChanged event of this textbox to populate
some other read only textboxes from the DB. If I change the textbox with
autopostback=true and click on anything else in the page usin... more >>
Html table question
Posted by KDV at 2/21/2005 6:35:06 AM
I have html table contents (Just dummy text for testing)
<table>
<tr>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>21</td>
<td>22</td>
<td>23</td>
<td>24</td>
</tr>
</table>
The question is that I am looking for a class which can accept this Html
table contents a... more >>
How do I write my own datasource control
Posted by Miao Chen at 2/20/2005 10:05:10 PM
Hi,
Would anyone tell me how to write my own datasource control?
... more >>
Dynamicly create table once
Posted by Tony at 2/20/2005 1:12:41 PM
win xp - vs 2002 - vb - web forms
I have this code in the page_load event.
works fine except, I put it all in an if not ispostback then.
I don't want to run all this code (will get much bigger) each round trip.
The table disappears on each round trip, unless I leave it out of the not
ispos... more >>
Try Again: add column colB to a dataset and copy values from colA to ColB ?
Posted by JDP NO[at]SPAM Work at 2/19/2005 3:27:42 PM
I have a single datagrid in a usercontrol for my web app. The usercontrol grid
is used in some 10 pages, for viewing and selecting records, searching etc.....
I want to enable date sorting, so I want to take my EventDate comlumn, "ondate"
and copy it's contents to a "SortDate" column, however ... more >>
Reload IFrame Src (VB)
Posted by ricardo.ferreira NO[at]SPAM bentley.co.uk at 2/19/2005 10:42:21 AM
Hello
I have a Test.Aspx page with 3 Web User Controls and a Submit button.
The user controls have an IFrame each.
TopIFrame.src = "top.htm"
LeftIFrame.src = "selectionCriteria.aspx"
CenterIFrame.src = "blank.htm"
The selectionCriteira.aspx has a dtrop down list.
The idea is to refres... more >>
Validation Controls Have Stopped working
Posted by Jay at 2/18/2005 7:03:19 PM
Something happened on the server that has caused my validation controls to
stop working. In fact, a page that contained the validation controls
doesn't even do a postback.
My asp.net works fine on my laptop, but stopped working on the server.
After several hours I finally figured that the ... more >>
dropdown list
Posted by Yoshitha at 2/18/2005 4:22:05 PM
Hi
in my web form i had dropdown list
control and using items property i;ve
added
"--- select Item-----"
0
1
upto 10 numbers.
i also placed required field
validator control for this drop down
list.
when am running my application, if
click on submit button with out
sele... more >>
|