all groups > asp.net webcontrols > december 2005
Filter by week: 1 2 3 4 5
Any hints on how to do frames in ASP.Net 2.0?
Posted by Jim at 12/31/2005 10:08:47 PM
What would be cool as hell, would be a designer interface like Dreamweaver -
with drag and drop elements like frames and such.
Why isn't ASP.Net as easy to use as Dreamweaver. Certainly Microsoft has
looked at them (if nothing more than as competition for FrontPage). What
would be the rea... more >>
DropDownList VS TextBox
Posted by deepak at 12/31/2005 2:46:02 PM
i have dropdownlist(ddlist) and textbox(tbox) , i want that if a user types
sometihing in the textbox(tbox), the values present in the ddlist should
appear e.g.
my ddlist has 3 values (india,indonesia,germany), if user types in text box
like "i" then dropdown control should go to "india... more >>
Panel positioning?
Posted by Daniel at 12/30/2005 5:35:46 PM
Hi
I have a panel in my project and have positioned it using the interface of
visual studios design view.
I now want to create another panel programmatically and position it x many
pixels under the current panel.
the problem is, how do i get the x and y position of the original panel,
... more >>
controlToValidate property of compareValidator
Posted by TS at 12/30/2005 5:03:24 PM
If i have a datagrid and have a textbox in 1 editItemTemplate column, and
the compareValidator & another textbox in a different editItemTemplate, when
the grid is in edit mode, how do i set the controlToValidate property to the
textbox in the different column so that i can validate against it'... more >>
Custom Treenodes in Treeview
Posted by SunSmile at 12/30/2005 1:26:02 PM
Hi,
Iam a using a custom treeview control, taking an example from
http://fredrik.nsquared2.com/viewpost.aspx?PostID=299.
I have created two hyperlink's after each node in the treeview. When i click
on any one of the hyperlink's the selectednodechanged event of the custom
treeview control ... more >>
Would like to get two items from a dropdownlist
Posted by Eric W. Holzapfel at 12/30/2005 1:25:22 PM
Hello Webcontrol Group members,
I am using Visual Studio .net (2003) and webcontrols.
I have a dropdownlist webcontrol that uses the "datatextfield" and "
"datavaluefield" .
the text field is a company name, and the datavalue field is an index
(like 1,2,3,etc).
I can display the compan... more >>
TreeView
Posted by Rodrigo Ferreira at 12/30/2005 10:56:39 AM
Hello,
Anyone knows how to populate a treeview with data from a database? The
database is based in Microsoft Access and i want to use C# language.
Articles, code.... helps all!
Greettings,
Rodrigo Ferreira
... more >>
Gridview Sorting
Posted by Matt at 12/30/2005 6:01:05 AM
I have sorting enabled on a gridview which changes the header text to a
hyperlink. I need to specify the hyperlink style (color specifically). I
can't globally set the hyperlink style at the page level due to differing
requirements throughout the page. I can't figure out how to change this ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
combo box customs
Posted by Dennis D. at 12/30/2005 4:57:24 AM
Need a toot on customizing web controls, especially the combo box.
Thanks,
Dennis,
http://www.dennisys.com/
... more >>
Code to select item in dropdown populated using TableAdapter
Posted by Nahom Tijnam at 12/30/2005 12:38:02 AM
Hi,
In ASP.NET 2.0, where do I write code to select a particular item in a
dropdown control that is populated using SqlDataSource (Table Adapters)?
I am developing a website in ASP.NET 2.0 for a library using Visual Studio
2005 and SQL Server 2000. I have already built a middle tier with o... more >>
Problem in Setting SelectedValue for DropdownList in Form
Posted by Charleees at 12/29/2005 8:38:00 PM
Hi all,
I have a Problem in Setting the Dropdown selected value.
I have a Page where i get the input for the number of rows and columns
and generate a dynamic table on another page ie) table page.
If i select edit button in table page , the page is redirected to Input
page .
In the input pa... more >>
CheckBoxList - When does it actually databind?
Posted by beaudetious at 12/29/2005 7:48:03 PM
I've got an ASP.NET 2.0 form with a checkboxlist control bound to a
SqlDataSource control. In the page's Page_Load event I want to loop through
the items in this CheckBoxList and programmatically select a few items.
However, when I do this in a foreach block I find that the ItemsCollection
... more >>
newbie to creating web controls
Posted by GJH at 12/29/2005 4:51:06 PM
I am trying to develop some .NET web controls in VB or C# and need some
help.
Does anyone know any websites with a good tutorial on how to start. The MSDN
site is not helping me at all.
An example I have is code that will email, I simply want to create a button
that has all the email code in... more >>
Referencing controls inside Wizard control
Posted by James Bond at 12/29/2005 4:20:02 PM
Hi all,
I am having trouble referencing (directly) the controls (web) inside the
wizard control.
I have a templated Header control wherein I have a asp:Label. Eventhough
the IDE shows the control in Server Objects, I am unable to reference in my
code directly. ... more >>
add dynamically multiple controls into one panel
Posted by Adriano at 12/29/2005 3:25:02 PM
Hi,
With ASP, I can add user contrlos inside the same Panel and then
programmatically change the view state of each one...but I don't want to have
all the controls allready loaded into the Panel when the page starts, instead
I want to call each control (from outside the page) as needed. I hav... more >>
programmatically copy table to another application
Posted by Randall Arnold at 12/29/2005 12:30:41 PM
I'm about to give up on what I thought would be a simple effort but figured
I'd give it one more try here.
I want to programmatically select an html table rendered on an aspx page
(using VB) and copy it to another application (Word, Powerpoint, Excel, et
al)... probably using the Windows cl... more >>
Closing window/page
Posted by Zamdrist at 12/29/2005 8:03:25 AM
Use code-behind form, visual basic, running some code behind a command
button, all good...the last step though should be that the use is
prompted with a message, and then the window or page should
close...can't figure out how to do this otherwise simple task.
I imagine DHTML could do it, but I... more >>
Basic formatting for HTML text in ASP.NET 1.1 ?
Posted by Jack at 12/28/2005 6:05:35 PM
Hi all,
Is there a way for a user of a website to control the basic font size/colour
of text, then upload it into a HTML text page in ASP.NET 1.1 ?
For example, I want a user to log into the website, and be able to type in
text, give it a colour, fontsize and basic layout, etc. The hit sub... more >>
What functionality does Infragistics controls offer, which don't come with VS .NET 2005?
Posted by Rod at 12/28/2005 12:01:29 PM
We're looking at the possibility of replacing our very old third party
controls, which we used in two Windows apps written in VB6. We've been
using controls from Infragistics (they used to be called Sheridan back when
we purchased them) controls, so we're likely to stay with Infragistics.
... more >>
Adding a Directive to a dynamically created Template Column on gri
Posted by Angel at 12/28/2005 11:56:03 AM
I want to add a directive to a Template Column that I created at runtime
using the following code:
Sub CreateColumn()
Dim tc1 As New TemplateColumn
tc1.HeaderTemplate = New DataGridTemplate(ListItemType.Header,
"TEST")
tc1.ItemStyle.CssClass = "datagridcel... more >>
grid postback
Posted by Cam at 12/28/2005 11:47:03 AM
in a grid with templates update,delete, edit. why the buttons need to be
clicked twice in order to take action.
grid.item command fires up every time a button is clicked.
it's just the button action that don't execute....
anyone else had that issue?... more >>
Datagrid
Posted by unwantedspam at 12/28/2005 8:32:29 AM
Hello,
I have a Datareader with 2 fields from the database in it. I would like
to use the DataGrid to display them. This I can do. If the DataReader
has 4 rows in it I would like to display the records in 2 DataGrid
rows. So I would have the following:
ColHeader1 ColHeader2 ColHeader1 ... more >>
Hi
Posted by Holysmoke at 12/28/2005 7:59:02 AM
I just wonder how to capture datagrid (which is created programmatically)
events.
I say,
Dim oGrid as new DataGrid
I want to process some work on ItemDataBound event of oGrid. Not sure how to
do it :(
I appreciate your help,
TIA,
Holy... more >>
Setting Hyperlink URL in Gridview
Posted by Wayne Wengert at 12/28/2005 6:48:56 AM
I have a gridview in which I include a hyperlink column. That link points to
a document whose name is in the "urllink" field in the record for that row.
I know that I can use the following to link to the appropriate document:
DataNavigateUrlFields="urllink"
But how do I code that if I want... more >>
Broswer Compatibility
Posted by MAHERNOZ at 12/27/2005 9:50:01 PM
Hi, I need to develop an asp.net application, is there a control which
includes ie 6 in my webpage(my client's browser is opera), so that i
need not ask my client to switch to ie. Opera alone has many problems
esp. in crystal reports. Any Help? Thanx, Mahernoz
... more >>
Listbox is overlapping the Textbox in Asp.net
Posted by santel at 12/27/2005 9:13:32 PM
Hi All,
Is it not possible to overlap the listbox with other controls. I wanna
place the Textbox above the Listbox. I searched many groups but
couldn't get the answer. Any suggestions please.
... more >>
timer functionality
Posted by AVL at 12/27/2005 9:11:02 PM
Hi,
I'm developing an online fun game called tambola...
The requirement is as follows
Each logged user will have a ticket generated for him..
The system should display the numbers from 1 to 99 after every 10 secs....
Presently, I've used a timer control to display the numbers after every 10 ... more >>
Localize control
Posted by Johndoe at 12/27/2005 9:07:50 PM
Hi,
Any good info about the Localize class from System.Web.UI.WebControls? I
just noticed that new control in ASP.NET 2.0. It seems to just inherit from
Literal, and has no accessible properties in VS2005 designer (except for the
ID).
Thanks.
... more >>
Is there a way to set onmouseover for a LinkButton in ASP.NET 2.0 ?
Posted by Roberto Kohler at 12/27/2005 4:39:23 PM
Is there a way within ASP.NET 2.0 to set the onmouseover property of a
LinkButton so that when the user hovers over the LinkButton, the windows
status bar displays some text instead of the javascript command ?
I'd like to do something like:
<asp:LinkButton ID="LinkEdit" Runat="server" Comma... more >>
Master Pages and Cross-Page Form Information
Posted by David R. Longnecker at 12/27/2005 1:08:22 AM
I'm slowly learning the new caveats of master pages and ASP.NET 2.0 and, =
so far, really enjoying it. A couple of questions to help kickstart my =
mind from the old ASP3 days. From what I've found, 2.0's cross-page =
posting allows me to set a PostBackURL and then =
Request.Form["objectName"]... more >>
file upload control - ASP2.0
Posted by Eric at 12/26/2005 9:08:49 PM
I'm using the fileuploadcontrol for the user to select a file, in this case
a image file.
I would like to see the little preview image to be shown right after
selection, but there seems to be no event from the fileupload control.
To by-pass this I let the user click on a linkbutton to show the p... more >>
Adding Access keys to menu items in the Menu control
Posted by Mike Tavares at 12/23/2005 1:05:09 PM
Could someone point me in the right direction as to how I could go about
adding an access key to each menu item within the new menu control?
Currently it appears that the access key can only be assigned to the control
itself, and not each individual menu item.
Thanks,
Mike
... more >>
Inherit from a custom ListControl
Posted by Chris Burge at 12/23/2005 11:59:39 AM
Ok, I have just spent the past little while trying to figure this out.
I think I know what my solution may have to be but I'm not sure how to
even to go about to do that. Anywho, here is my Christmas question.
All of my lsitcontrols (dropdownlist, listbox, etc.) have the same set
of custom attr... more >>
Repeater Grouping
Posted by Digit24 at 12/23/2005 9:23:12 AM
Hi
I have a repeater section on the page, but want to be able to group results
by a particular field and give each group a heading.
Any ideas how this can be done?
... more >>
extended Label webcontrol, doesn't populate it's children ??
Posted by KK at 12/23/2005 8:28:13 AM
Hi,
I am extending couple of existing controls in ASP.NET
like LinkButton, Label, TextBox etc..
I require these controls to contain a child control of MyControlType
so ideally in HTML view for a label
<asp:Label id="" [other properties...] >
<cc1:MyControlType id="" [other properties... more >>
GridView: Update is just not working for me
Posted by beaudetious at 12/22/2005 12:23:01 PM
Can an eagle eye help me fix whatever is causing me pain here? When I click
the update command button, the page refreshes but the new values do not make
it to the database or back into the gridview.
I'm getting the dreaded "Must declare the variable @original_RoleId"
exception message. My... more >>
Wizard Control and IsPostBack
Posted by rdlauer NO[at]SPAM gmail.com at 12/22/2005 12:17:31 PM
I'm in a catch-22 with a wizard control and wonder if anyone has any
ideas:
It appears as though every time you load a wizard control step, you are
doing a postback, which makes sense. That causes problems, though, when
you have actions in a step that should only be executed if IsPostBack =
F... more >>
Styling DetailView or FormView
Posted by Larry Charlton at 12/22/2005 5:30:02 AM
Does anyone have sites or references on applying layout and style to
DetailView and/or FormView controls?
It just seems like microsoft made these a bit rough to apply style sheets
to. DetailView you can apply a style to the label, but to format the data
you have to apply a format to the ro... more >>
Event Sequence
Posted by Axel Dahmen at 12/22/2005 4:57:11 AM
Hi,
in ASP.NET control events are being fired *after* the Page_Load event. I
need it the other way around. Is this possible?
Here's my example (just pseudo code):
Page_Load()
{
DataGrid.DataSource="...";
DataGrid.DataBind();
}
RemoveButton_Click()
{
SqlComman... more >>
How to determine the "state" of a GridView
Posted by Roberto Kohler at 12/21/2005 10:49:19 PM
How can I tell if the grid is showing me the "edit command button" or the
"update command button"
I need to figure out a way for an event handler to know the "state" of a
gridview.
I want the ENTER key to do one thing if I am in "edit mode", and another
thing if I am in "update mode".
If ... more >>
Click event handler not called on dynamically create image button
Posted by rh.krish NO[at]SPAM gmail.com at 12/21/2005 9:50:12 PM
Hi,
I'm have a web form where I generate templates dynamically based on
the user input. When the user clicks the 'create' button I create a row
dynamically and create an ImageButton dynamically in that row. I also
tie the onClick event to a server side event handler, but when I click
the dy... more >>
ReportViewer/ObjectDataSource Problem
Posted by Houston Lucifer at 12/21/2005 5:59:02 PM
I have a report viewer on my webpage and it is linked to an objectdatasource.
The parameter is a control on the form (Dropdownlist). But, when i change the
selection in the dropdownlist and click the go button (on the web page), the
reportviewer doesn't refresh.
What i have done so far is i... more >>
DropDownList not giving the selected item when a Button is clicked... please help newbie...
Posted by Julius Mong at 12/21/2005 5:56:32 PM
Hi dear experts,
I'm new to ASP.NET and am having a hard time trying to make this work :( I
have a ddl which contains 2 or more items (populated by code) and a submit
asp:button that I'd want when clicked simply sends the ddl's selected item's
text value to an asp:label. I have searched throug... more >>
Web Control Positioning
Posted by Joe90 at 12/21/2005 8:39:02 AM
I need to set the location of a popup window to cover a dynamically postioned
control.
Setting the position on the popup is no problem, but how do I get the
position of the dynamic control ?
Any help appreciated
Joe90... more >>
THEAD
Posted by Arne at 12/21/2005 8:34:03 AM
ASP.net can create HTML tables with Datagrid and Table controls. Is there an
ASP.net control that allows me to build an HTML table with a THEAD row?... more >>
objectdatasource.update() fires System.InvalidOperationException
Posted by Markus at 12/21/2005 7:54:02 AM
hello,
we have a strange error message here:
I've written a small detail sample page, where I can update one reocrd with
an objectdatasource control and the detailsview control.
the objectdatasource.confictdetection is set to 'CompareAllValues'. The
Updatemethod is UpdateXY and I've set two... more >>
Quick/Embarrasing Form Submission Question
Posted by Jeff at 12/20/2005 7:34:31 PM
I have a form that is passed to a subroutine when a button is pressed
via the button's 'onClick' property. That works peachy. However, while
testing I submited the form by hitting enter instead of pressing the
button. In this situation, the subroutine isnt called and nothing is
accomplished.
... more >>
Custom type converter
Posted by KK at 12/20/2005 5:29:00 PM
Hi
For the server control I am developing, there is a property which I want to
show a list.
The content of the list is a subset of Properties available in the control
itself. For example
my control has
Property1
Property2
Property3
Property4
Property5
Now there is another property... more >>
How to filter file types when using the HTMLInputFile control...
Posted by Asela Gunawardena at 12/20/2005 3:33:51 PM
On my Web Servers, I don't want to allow visitors to upload executables.
There are many types of files that i want to ignore (for instance: exe,dll,
bat, cmd .etc). I have an ASPX page with an HTMLInputFile control which
uploads the files. Is it possible to set a filter when the user clicks th... more >>
Hide SideBar of Wizard Control
Posted by James Bond at 12/20/2005 3:08:02 PM
Hi all,
Has anyone tried to hide the SideBar of wizard control. I was reading Dino
Esposito's book on ASP.NET 2.0 and found that this optional panel can be
hidden by setting SideBarEnabled property. But looking through the SDK - I
could not find this property (!!!).
If anyone has done ... more >>
|